From 2994a18010dec4023d904ddc28ca19101f206d6b Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Mon, 21 May 2012 12:19:58 -0700 Subject: Adding mappings to Google Components This is just to add correct mappings to Google Montage components in the package.json file generated. --- js/mediators/io-mediator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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\ mjsCheck = this.application.ninja.coreIoApi.fileExists({uri: mjsPath}); // if (!mjsCheck || mjsCheck.status !== 204) { - var packjson = this.application.ninja.coreIoApi.createFile({ uri: mjsPath, contents: '{"mappings": {"montage": "' + mjsDirName + '/montage/"}}' }); + 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}' }); } else { //Already exists } -- cgit v1.2.3