Skip to content
Permalink
Browse files
adding transform for File plugin
  • Loading branch information
Anis Kadri committed Jun 3, 2014
1 parent 8434678 commit ddcbbe3eaae08674c27bd187171b9ed352dc0bef
Showing 1 changed file with 4 additions and 0 deletions.
@@ -48,6 +48,10 @@ var requireTr = {
data = data.replace(/modulemapper\.clobbers.*\n/,
util.format('navigator.app = require("%s/src/android/plugin/android/app")', root));
}
if(file.match(/FileReader.js$/)) {
data = data.replace(/getOriginalSymbol\(this/,
'getOriginalSymbol(window');
}

this.queue(_updateRequires(data));
this.queue(null);

0 comments on commit ddcbbe3

Please sign in to comment.