Created
September 18, 2013 19:43
-
-
Save biophonc/6614489 to your computer and use it in GitHub Desktop.
Revisions
-
biophonc revised this gist
Sep 18, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # @see: https://github.com/umdjs/umd/blob/master/jqueryPlugin.js ((factory) -> if typeof define is 'function' && define.amd # AMD. Register as anonymous module. -
biophonc created this gist
Sep 18, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ # @see: https://github.com/umdjs/umd/blob/master/jqueryPluginCommonjs.js ((factory) -> if typeof define is 'function' && define.amd # AMD. Register as anonymous module. define ['jquery'], factory return else # Browser globals. factory jQuery return )(($) -> $.fn.foo = () -> alert "wtf" return )