diff --git a/src/definitions/behaviors/api.js b/src/definitions/behaviors/api.js index 8fde600d1..21d143fed 100644 --- a/src/definitions/behaviors/api.js +++ b/src/definitions/behaviors/api.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.api = $.fn.api = function(parameters) { var @@ -1157,4 +1165,4 @@ $.api.settings = { -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/behaviors/colorize.js b/src/definitions/behaviors/colorize.js index b32d98dca..aeb628748 100644 --- a/src/definitions/behaviors/colorize.js +++ b/src/definitions/behaviors/colorize.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.colorize = function(parameters) { var settings = ( $.isPlainObject(parameters) ) @@ -271,4 +279,4 @@ }; -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/behaviors/form.js b/src/definitions/behaviors/form.js index d0ad1d306..3e3aa60e9 100644 --- a/src/definitions/behaviors/form.js +++ b/src/definitions/behaviors/form.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.form = function(parameters) { var $allModules = $(this), @@ -1522,4 +1530,4 @@ $.fn.form.settings = { }; -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/behaviors/state.js b/src/definitions/behaviors/state.js index 90968f32f..769d597af 100644 --- a/src/definitions/behaviors/state.js +++ b/src/definitions/behaviors/state.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.state = function(parameters) { var $allModules = $(this), @@ -699,4 +707,4 @@ $.fn.state.settings = { -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/behaviors/visibility.js b/src/definitions/behaviors/visibility.js index d30118391..4cceb89f2 100644 --- a/src/definitions/behaviors/visibility.js +++ b/src/definitions/behaviors/visibility.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.visibility = function(parameters) { var $allModules = $(this), @@ -1215,4 +1223,4 @@ $.fn.visibility.settings = { }; -})( jQuery, window, document ); \ No newline at end of file +})( jQuery, global, document ); diff --git a/src/definitions/behaviors/visit.js b/src/definitions/behaviors/visit.js index 2ed62a3cc..e9ca13fdc 100644 --- a/src/definitions/behaviors/visit.js +++ b/src/definitions/behaviors/visit.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.visit = $.fn.visit = function(parameters) { var $allModules = $.isFunction(this) @@ -516,4 +524,4 @@ $.fn.visit.settings = { }; -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/globals/site.js b/src/definitions/globals/site.js index bf861c7c0..94e46e487 100644 --- a/src/definitions/globals/site.js +++ b/src/definitions/globals/site.js @@ -484,4 +484,4 @@ $.extend($.expr[ ":" ], { }); -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/modules/accordion.js b/src/definitions/modules/accordion.js index 0758df0a6..de0ec4b30 100644 --- a/src/definitions/modules/accordion.js +++ b/src/definitions/modules/accordion.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.accordion = function(parameters) { var $allModules = $(this), @@ -600,5 +608,5 @@ $.extend( $.easing, { } }); -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/modules/checkbox.js b/src/definitions/modules/checkbox.js index 68c3a48c7..c1481dae7 100644 --- a/src/definitions/modules/checkbox.js +++ b/src/definitions/modules/checkbox.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.checkbox = function(parameters) { var $allModules = $(this), @@ -814,4 +822,4 @@ $.fn.checkbox.settings = { }; -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/modules/dimmer.js b/src/definitions/modules/dimmer.js index 876a04cc5..3ada64a03 100644 --- a/src/definitions/modules/dimmer.js +++ b/src/definitions/modules/dimmer.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.dimmer = function(parameters) { var $allModules = $(this), @@ -699,4 +707,4 @@ $.fn.dimmer.settings = { }; -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index fe0b0810c..b0bc86479 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.dropdown = function(parameters) { var $allModules = $(this), @@ -3521,4 +3529,4 @@ $.fn.dropdown.settings.templates = { }; -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/modules/embed.js b/src/definitions/modules/embed.js index 63e45ff55..7e824e086 100644 --- a/src/definitions/modules/embed.js +++ b/src/definitions/modules/embed.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.embed = function(parameters) { var @@ -668,4 +676,4 @@ $.fn.embed.settings = { -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/modules/modal.js b/src/definitions/modules/modal.js index cbbed09df..8c64a7996 100644 --- a/src/definitions/modules/modal.js +++ b/src/definitions/modules/modal.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.modal = function(parameters) { var $allModules = $(this), @@ -897,4 +905,4 @@ $.fn.modal.settings = { }; -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/modules/nag.js b/src/definitions/modules/nag.js index 9817ad195..27edc4225 100644 --- a/src/definitions/modules/nag.js +++ b/src/definitions/modules/nag.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.nag = function(parameters) { var $allModules = $(this), @@ -491,4 +499,4 @@ $.fn.nag.settings = { }; -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/modules/popup.js b/src/definitions/modules/popup.js index a77833efd..5e7f292a9 100644 --- a/src/definitions/modules/popup.js +++ b/src/definitions/modules/popup.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.popup = function(parameters) { var $allModules = $(this), @@ -1442,4 +1450,4 @@ $.fn.popup.settings = { }; -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/modules/progress.js b/src/definitions/modules/progress.js index 2ec6e567f..816013f01 100644 --- a/src/definitions/modules/progress.js +++ b/src/definitions/modules/progress.js @@ -13,6 +13,22 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.progress = function(parameters) { var $allModules = $(this), @@ -884,4 +900,4 @@ $.fn.progress.settings = { }; -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/modules/rating.js b/src/definitions/modules/rating.js index e6dd9dc25..c224ae47f 100644 --- a/src/definitions/modules/rating.js +++ b/src/definitions/modules/rating.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.rating = function(parameters) { var $allModules = $(this), @@ -499,4 +507,4 @@ $.fn.rating.settings = { }; -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/modules/search.js b/src/definitions/modules/search.js index bcc04b0ef..4f5a7e095 100644 --- a/src/definitions/modules/search.js +++ b/src/definitions/modules/search.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.search = function(parameters) { var $allModules = $(this), @@ -1341,4 +1349,4 @@ $.fn.search.settings = { } }; -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/modules/shape.js b/src/definitions/modules/shape.js index cd4a5817c..1f3cbe8d9 100644 --- a/src/definitions/modules/shape.js +++ b/src/definitions/modules/shape.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.shape = function(parameters) { var $allModules = $(this), @@ -883,4 +891,4 @@ $.fn.shape.settings = { }; -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/modules/sidebar.js b/src/definitions/modules/sidebar.js index fabbec280..1d37a8a5c 100644 --- a/src/definitions/modules/sidebar.js +++ b/src/definitions/modules/sidebar.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.sidebar = function(parameters) { var $allModules = $(this), @@ -1027,4 +1035,4 @@ $.fn.sidebar.settings = { }; -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/modules/sticky.js b/src/definitions/modules/sticky.js index 4ba0bbf71..ccd9b164c 100644 --- a/src/definitions/modules/sticky.js +++ b/src/definitions/modules/sticky.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.sticky = function(parameters) { var $allModules = $(this), @@ -907,4 +915,4 @@ $.fn.sticky.settings = { }; -})( jQuery, window, document ); \ No newline at end of file +})( jQuery, global, document ); diff --git a/src/definitions/modules/tab.js b/src/definitions/modules/tab.js index a7c003342..cb031ddbb 100644 --- a/src/definitions/modules/tab.js +++ b/src/definitions/modules/tab.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.tab = function(parameters) { var @@ -913,4 +921,4 @@ $.fn.tab.settings = { }; -})( jQuery, window, document ); +})( jQuery, global, document ); diff --git a/src/definitions/modules/transition.js b/src/definitions/modules/transition.js index 0ec152262..c77aa3b9c 100644 --- a/src/definitions/modules/transition.js +++ b/src/definitions/modules/transition.js @@ -13,6 +13,14 @@ "use strict"; +var + global = (typeof window != 'undefined' && window.Math == Math) + ? window + : (typeof self != 'undefined' && self.Math == Math) + ? self + : Function('return this')() +; + $.fn.transition = function() { var $allModules = $(this), @@ -1081,4 +1089,4 @@ $.fn.transition.settings = { }; -})( jQuery, window, document ); +})( jQuery, global, document );