web-apps/vendor/requirejs/tests/layers/layer1.js

32 lines
499 B
JavaScript
Raw Normal View History

2016-03-11 00:48:53 +00:00
//Example layer file.
define("alpha",
["beta", "gamma"],
function (beta, gamma) {
return {
name: "alpha",
betaName: beta.name
};
}
);
define("beta",
["gamma"],
function (gamma) {
return {
name: "beta",
gammaName: gamma.name
};
}
);
define("gamma",
["epsilon"],
function (epsilon) {
return {
name: "gamma",
epsilonName: epsilon.name
};
}
);