Last active
August 29, 2015 13:58
-
-
Save scrapcupcake/10428904 to your computer and use it in GitHub Desktop.
Brine JS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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