Created
December 18, 2014 12:13
-
-
Save Daniel-Wiedemann/3ee257679d81d6da79a4 to your computer and use it in GitHub Desktop.
JavaScript Modul definition
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
if (typeof define === 'function' && define.amd) { | |
define(['jquery'], wunderBarFactory); | |
} else if (typeof exports === 'object') { | |
module.exports = wunderBarFactory(require('jquery')); | |
} else { | |
window.WunderBar = wunderBarFactory(jQuery); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment