Przeglądaj źródła

amberc.js: require('Promise')

Manfred Kroehnert 11 lat temu
rodzic
commit
e745c98981
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      cli/support/amberc.js

+ 2 - 1
cli/support/amberc.js

@@ -121,7 +121,8 @@ Combo.prototype = {
 };
 
 var path = require('path'),
-	fs = require('fs');
+	fs = require('fs'),
+	Promise = require('es6-promise').Promise;
 
 /**
  * AmberC constructor function.