Browse Source

Merge branch 'master', remote-tracking branch 'gokr/master'

Nicolas Petton 13 years ago
parent
commit
d7dee21073
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bin/nodecompile.js

+ 2 - 2
bin/nodecompile.js

@@ -25,9 +25,9 @@ arguments.forEach(function(val, index, array) {
   } else {
     sys.puts("Exporting " + (deploy ? "(debug + deploy)" : "(debug)") + " category "
 		+ val + " as " + val + suffix + ".js" + (deploy ? " and " + val + suffix + ".deploy.js" : ""));
-    fs.writeFileSync(val + suffix + ".js", smalltalk.Exporter._new()._exportCategory_(val));
+    fs.writeFileSync(val + suffix + ".js", smalltalk.Exporter._new()._exportPackage_(val));
     if (deploy) {
-	fs.writeFileSync(val + suffix + ".deploy.js", smalltalk.StrippedExporter._new()._exportCategory_(val));
+	fs.writeFileSync(val + suffix + ".deploy.js", smalltalk.StrippedExporter._new()._exportPackage_(val));
     }
   }
 });