DocumentServer/OfficeWeb/vendor/requirejs/tests/funcTwo.js

16 lines
335 B
JavaScript
Raw Normal View History

2015-04-28 14:59:00 +00:00
define("funcTwo",
["require", "funcOne"],
function (require) {
var two = function (name) {
this.name = name;
this.one = new (require("funcOne"))("ONE");
};
two.prototype.oneName = function () {
return this.one.getName();
};
return two;
}
);