16 lines
335 B
JavaScript
16 lines
335 B
JavaScript
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;
|
|
}
|
|
);
|