web-apps/vendor/requirejs/tests/circular/414/MyClass.js
Maxim Kadushkin 741b10515d webapps added
2016-03-10 21:48:53 -03:00

31 lines
535 B
JavaScript

define(
[
"exports",
"./A",
"./B",
"./C"
],
function (exports, A, B, C) {
exports.name = "MyClass";
exports.sayAll = function(){
return [
exports.say(),
A.say(),
B.say(),
C.say()
].join(':');
};
exports.say = function(){
return [exports.name, A.name, B.name, C.name].join(',');
};
return exports;
}
);