Herby Vojčík il y a 4 ans
Parent
commit
a104ee5805
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      lang/src/Platform-Node.js
  2. 1 1
      sdk/lib/NodeTestRunner.js

+ 1 - 1
lang/src/Platform-Node.js

@@ -7,7 +7,7 @@ $pkg.isReady = new Promise(function (resolve, reject) { requirejs(["amber/core/P
 //>>excludeEnd("imports");
 $pkg.transport = {"type":"amd","amdNamespace":"amber/core"};
 
-$core.addClass("NodePlatform", $globals.Object, [], "Platform-Node");
+$core.addClass("NodePlatform", $globals.Object, "Platform-Node");
 //>>excludeStart("ide", pragmas.excludeIdeData);
 $globals.NodePlatform.comment="I am `Platform` service implementation for node-like environment.";
 //>>excludeEnd("ide");

+ 1 - 1
sdk/lib/NodeTestRunner.js

@@ -3,7 +3,7 @@ var $core=$boot.api,nil=$boot.nilAsValue,$nil=$boot.nilAsReceiver,$recv=$boot.as
 var $pkg = $core.addPackage("NodeTestRunner");
 $pkg.transport = {"type":"amd","amdNamespace":"amber_devkit"};
 
-$core.addClass("NodeTestRunner", $globals.Object, [], "NodeTestRunner");
+$core.addClass("NodeTestRunner", $globals.Object, "NodeTestRunner");
 
 $core.addMethod(
 $core.method({