Explorar o código

amberc.js: require('Promise')

Manfred Kroehnert %!s(int64=11) %!d(string=hai) anos
pai
achega
e745c98981
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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.