|
@@ -59,7 +59,7 @@ module.exports = function (grunt) {
|
|
'src/Silk-Tests.st' // list all tests in dependency order
|
|
'src/Silk-Tests.st' // list all tests in dependency order
|
|
],
|
|
],
|
|
amd_namespace: 'silk',
|
|
amd_namespace: 'silk',
|
|
- libraries: ['amber_core/SUnit', 'amber/domite/DOMite', 'amber/domite/DOMite-Tests']
|
|
|
|
|
|
+ libraries: ['amber/core/SUnit', 'amber/domite/DOMite', 'amber/domite/DOMite-Tests']
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
@@ -74,7 +74,7 @@ module.exports = function (grunt) {
|
|
mainConfigFile: "config.js",
|
|
mainConfigFile: "config.js",
|
|
rawText: {
|
|
rawText: {
|
|
"app": '(' + polyfillThenPromiseApp + '());',
|
|
"app": '(' + polyfillThenPromiseApp + '());',
|
|
- "__app__": 'define(["deploy", "amber_core/Platform-Browser"],function(x){return x});'
|
|
|
|
|
|
+ "__app__": 'define(["deploy", "amber/core/Platform-Browser"],function(x){return x});'
|
|
},
|
|
},
|
|
pragmas: {
|
|
pragmas: {
|
|
excludeIdeData: true,
|
|
excludeIdeData: true,
|
|
@@ -91,10 +91,10 @@ module.exports = function (grunt) {
|
|
mainConfigFile: "config.js",
|
|
mainConfigFile: "config.js",
|
|
rawText: {
|
|
rawText: {
|
|
"app": '(' + polyfillThenPromiseApp + '());',
|
|
"app": '(' + polyfillThenPromiseApp + '());',
|
|
- "__app__": 'define(["devel", "amber_core/Platform-Browser"],function(x){return x});'
|
|
|
|
|
|
+ "__app__": 'define(["devel", "amber/core/Platform-Browser"],function(x){return x});'
|
|
},
|
|
},
|
|
include: ['config', 'node_modules/requirejs/require', 'app', '__app__'],
|
|
include: ['config', 'node_modules/requirejs/require', 'app', '__app__'],
|
|
- exclude: ['devel', 'amber_core/Platform-Browser'],
|
|
|
|
|
|
+ exclude: ['devel', 'amber/core/Platform-Browser'],
|
|
out: "the.js"
|
|
out: "the.js"
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -104,7 +104,7 @@ module.exports = function (grunt) {
|
|
rawText: {
|
|
rawText: {
|
|
"jquery": "/* do not load in node test runner */",
|
|
"jquery": "/* do not load in node test runner */",
|
|
"__app__": "(" + function () {
|
|
"__app__": "(" + function () {
|
|
- define(["testing", "amber_core/Platform-Node", "amber_devkit/NodeTestRunner"], function (amber) {
|
|
|
|
|
|
+ define(["testing", "amber/core/Platform-Node", "amber_devkit/NodeTestRunner"], function (amber) {
|
|
amber.initialize().then(function () {
|
|
amber.initialize().then(function () {
|
|
amber.globals.NodeTestRunner._main();
|
|
amber.globals.NodeTestRunner._main();
|
|
});
|
|
});
|