Realigned AMD wrapper

This commit is contained in:
Ryan McGeary 2013-01-24 14:42:01 -05:00
parent 8425e598c3
commit f9a31fcafc

View file

@ -15,11 +15,11 @@
*/ */
(function (factory) { (function (factory) {
// Add jQuery via AMD registration or browser globals
if (typeof define === 'function' && define.amd) { if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory); define(['jquery'], factory);
} } else {
else { // Browser globals
factory(jQuery); factory(jQuery);
} }
}(function ($) { }(function ($) {