diff options
Diffstat (limited to 'addon-sdk/source/test/modules/async1.js')
-rw-r--r-- | addon-sdk/source/test/modules/async1.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/addon-sdk/source/test/modules/async1.js b/addon-sdk/source/test/modules/async1.js new file mode 100644 index 000000000..b7b60fdc2 --- /dev/null +++ b/addon-sdk/source/test/modules/async1.js @@ -0,0 +1,14 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +define(['./traditional2', './async2'], function () { + var traditional2 = require('./traditional2'); + return { + name: 'async1', + traditional1Name: traditional2.traditional1Name, + traditional2Name: traditional2.name, + async2Name: require('./async2').name, + async2Traditional2Name: require('./async2').traditional2Name + }; +}); |