web-apps/vendor/requirejs/tests/funcThree.js

15 lines
285 B
JavaScript
Raw Normal View History

2016-03-11 00:48:53 +00:00
define("funcThree",
["funcFour"],
function (four) {
var three = function (arg) {
return arg + "-" + require("funcFour").suffix();
};
three.suffix = function () {
return "THREE_SUFFIX";
};
return three;
}
);