Skip to content

Instantly share code, notes, and snippets.

@rondale-sc
Last active October 27, 2015 20:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rondale-sc/cfdb14d5181eea612ebf to your computer and use it in GitHub Desktop.
Save rondale-sc/cfdb14d5181eea612ebf to your computer and use it in GitHub Desktop.
});
var inputFiles = ['vendor/ember-cli/vendor-prefix.js']
.concat(legacyFilesToAppend)
.concat('vendor/addons.js')
.concat('vendor/ember-cli/vendor-suffix.js');
var vendor = stewMap(applicationJs, function(content, relativePath){
debugger;
if (inputFiles.indexOf(relativePath) > -1) {
if (preventDOMGuard[relativePath]) {
return content;
} else {
return ";if (document !== 'undefined') {" + content + "}";
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment