Prechádzať zdrojové kódy

Don't define amber/Platform, load pkg explicitly.

Also for test runner.
Herbert Vojčík 7 rokov pred
rodič
commit
1a06dffaf3
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      root/Gruntfile.js

+ 1 - 0
root/Gruntfile.js

@@ -81,6 +81,7 @@ module.exports = function (grunt) {
                 options: {
                     mainConfigFile: "config.js",
                     rawText: {
+                        "amber/Platform": "define()", //eg. nothing, TODO remove
                         "app": "(" + function () {
                             define(["testing", "amber_core/Platform-Node", "amber_devkit/NodeTestRunner"], function (amber) {
                                 amber.initialize().then(function () {