Skip to content

Instantly share code, notes, and snippets.

@scrapcupcake
Last active August 29, 2015 13:58
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 scrapcupcake/10428904 to your computer and use it in GitHub Desktop.
Save scrapcupcake/10428904 to your computer and use it in GitHub Desktop.
Brine JS
require.config({
shim: {
'handlebars': {
exports: 'Handlebars'
}
},
packages: [
{
name: 'handlebars',
location: '//cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.3.0/',
main: 'handlebars.js'
}
]
});
require(["handlebars"],function(Handlebars){
console.log("Brine!");
console.log(Handlebars);
window.Handlebars = Handlebars;
window.BrineTestFinished = false;
window.BrineTestResult = false;
window.BrineTestReason = "Because the browser said so"});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment