diff options
author | Jose Antonio Marquez | 2012-05-21 12:19:58 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-21 12:19:58 -0700 |
commit | 2994a18010dec4023d904ddc28ca19101f206d6b (patch) | |
tree | 67a169e9e7d37575bd10be0d4c00a7e5dd1bae5f /js | |
parent | c087ca289bc6d6eb26d0f5543ec6d1df1ba5dd4e (diff) | |
download | ninja-2994a18010dec4023d904ddc28ca19101f206d6b.tar.gz |
Adding mappings to Google Components
This is just to add correct mappings to Google Montage components in the package.json file generated.
Diffstat (limited to 'js')
-rw-r--r-- | js/mediators/io-mediator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js index ade27728..8fe88ee6 100644 --- a/js/mediators/io-mediator.js +++ b/js/mediators/io-mediator.js | |||
@@ -541,7 +541,7 @@ function loadWebGL (e) {\n\ | |||
541 | mjsCheck = this.application.ninja.coreIoApi.fileExists({uri: mjsPath}); | 541 | mjsCheck = this.application.ninja.coreIoApi.fileExists({uri: mjsPath}); |
542 | // | 542 | // |
543 | if (!mjsCheck || mjsCheck.status !== 204) { | 543 | if (!mjsCheck || mjsCheck.status !== 204) { |
544 | var packjson = this.application.ninja.coreIoApi.createFile({ uri: mjsPath, contents: '{"mappings": {"montage": "' + mjsDirName + '/montage/"}}' }); | 544 | var packjson = this.application.ninja.coreIoApi.createFile({ uri: mjsPath, contents: '{"mappings": {\n\t\t"montage": "' + mjsDirName + '/montage/",\n\t\t"montage-google": "' + mjsDirName + '/montage-google/"\n\t}\n}' }); |
545 | } else { | 545 | } else { |
546 | //Already exists | 546 | //Already exists |
547 | } | 547 | } |