Created
September 29, 2013 20:54
-
-
Save jeffschwartz/6756446 to your computer and use it in GitHub Desktop.
Shim RequireJS define method allowing CoccyxJS to be used without RequireJS
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
(function(){ | |
'use strict'; | |
window.define = function define(){ | |
(arguments[arguments.length - 1])(); | |
}; | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment