Skip to content

Commit

Permalink
Merge pull request #7 from dbazile/master
Browse files Browse the repository at this point in the history
Upgrading dependencies to version that support ES2015 module syntax
  • Loading branch information
peluja1012 committed May 28, 2015
2 parents aef2f25 + 7943b46 commit 2660141
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
],
"dependencies": {
"lodash": "2.4.1",
"rocambole": "git://github.com/millermedeiros/rocambole#v0.4.0",
"rocambole": "^0.6.0",
"rocambole-token": "1.2.1"
},
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions src/lib/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ var _defeature = function( mimosaConfig, options, next ) {
var keep = true;
if(shouldDefeatureFile) {
try {
var ast = rocambole.parse(file.inputFileText);
var ast = rocambole.parse(file.inputFileText, { sourceType: "module" });
var keepFile = _commentOutExcludedFeatures(mimosaConfig, ast, includedFeatures, excludedFeatures);

// _commentOutExcludedFeatures will return false if the file has been
Expand Down Expand Up @@ -229,4 +229,4 @@ exports.registration = function( mimosaConfig, register ) {
_defeature,
exts
);
};
};

0 comments on commit 2660141

Please sign in to comment.