浏览代码

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

Also for test runner.
Herbert Vojčík 7 年之前
父节点
当前提交
1a06dffaf3
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 () {