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

32 lines
499 B
JavaScript

//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
};
}
);