3.0 source code
This commit is contained in:
30
OfficeWeb/vendor/requirejs/tests/circular/414/MyClass.js
vendored
Normal file
30
OfficeWeb/vendor/requirejs/tests/circular/414/MyClass.js
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
);
|
||||
Reference in New Issue
Block a user