Browse Source

amberc.js: require('Promise')

Manfred Kroehnert 11 years ago
parent
commit
e745c98981
1 changed files with 2 additions and 1 deletions
  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.