diff --git a/scripts/after_prepare.js b/scripts/after_prepare.js index 35bd1ca4b..0c78c0f0b 100755 --- a/scripts/after_prepare.js +++ b/scripts/after_prepare.js @@ -57,7 +57,7 @@ var files = [ for(var i in files) { try { var contents = fs.readFileSync(files[i]).toString() - contents = contents.replace(/APP_ID/g, APP_ID) + contents = contents.replace(/APP_ID/g, "'" + APP_ID + "'") contents = contents.replace(/FACEBOOK_BROWSER_SDK_VERSION/g, "'" + FACEBOOK_BROWSER_SDK_VERSION + "'") fs.writeFileSync(files[i], contents) } catch(err) {}