From f0d5caf0547da84c8e3b80e704510a36d8a4e39b Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Fri, 16 Sep 2011 11:09:26 -0700 Subject: [PATCH] check for jquery/ender on window --- js/bootstrap-alerts.js | 2 +- js/bootstrap-dropdown.js | 2 +- js/bootstrap-modal.js | 2 +- js/bootstrap-popover.js | 2 +- js/bootstrap-scrollspy.js | 2 +- js/bootstrap-tabs.js | 2 +- js/bootstrap-twipsy.js | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/js/bootstrap-alerts.js b/js/bootstrap-alerts.js index 6b284690b6..82bcac5246 100644 --- a/js/bootstrap-alerts.js +++ b/js/bootstrap-alerts.js @@ -101,4 +101,4 @@ new Alert($('body'), '.alert-message[data-alert] .close') }) -})( jQuery || ender ) \ No newline at end of file +})( window.jQuery || window.ender ) \ No newline at end of file diff --git a/js/bootstrap-dropdown.js b/js/bootstrap-dropdown.js index a64e3821cb..ca2daf1f56 100644 --- a/js/bootstrap-dropdown.js +++ b/js/bootstrap-dropdown.js @@ -47,4 +47,4 @@ }) } -})( jQuery || ender ) \ No newline at end of file +})( window.jQuery || window.ender ) \ No newline at end of file diff --git a/js/bootstrap-modal.js b/js/bootstrap-modal.js index 41a7a4115c..da67060731 100644 --- a/js/bootstrap-modal.js +++ b/js/bootstrap-modal.js @@ -224,4 +224,4 @@ }) }) -})( jQuery || ender ) \ No newline at end of file +})( window.jQuery || window.ender ) \ No newline at end of file diff --git a/js/bootstrap-popover.js b/js/bootstrap-popover.js index 2d5ed9a199..e41090a3b3 100644 --- a/js/bootstrap-popover.js +++ b/js/bootstrap-popover.js @@ -74,4 +74,4 @@ $.fn.popover.defaults = $.extend({} , $.fn.twipsy.defaults, { content: 'data-content', placement: 'right'}) -})( jQuery || ender ) \ No newline at end of file +})( window.jQuery || window.ender ) \ No newline at end of file diff --git a/js/bootstrap-scrollspy.js b/js/bootstrap-scrollspy.js index 7d9bf7b6c2..4b146e5809 100644 --- a/js/bootstrap-scrollspy.js +++ b/js/bootstrap-scrollspy.js @@ -102,4 +102,4 @@ $('body').scrollSpy('[data-scrollspy] li > a') }) -}( jQuery || ender ) \ No newline at end of file +}( window.jQuery || window.ender ) \ No newline at end of file diff --git a/js/bootstrap-tabs.js b/js/bootstrap-tabs.js index 7bac0bc601..807b366a35 100644 --- a/js/bootstrap-tabs.js +++ b/js/bootstrap-tabs.js @@ -59,4 +59,4 @@ $('body').tabs('ul[data-tabs] li > a, ul[data-pills] > li > a') }) -})( jQuery || ender ) \ No newline at end of file +})( window.jQuery || window.ender ) \ No newline at end of file diff --git a/js/bootstrap-twipsy.js b/js/bootstrap-twipsy.js index 5ac73291b7..bc92f97fe1 100644 --- a/js/bootstrap-twipsy.js +++ b/js/bootstrap-twipsy.js @@ -304,4 +304,4 @@ return $.metadata ? $.extend({}, options, $(ele).metadata()) : options } -})( jQuery || ender ) \ No newline at end of file +})( window.jQuery || window.ender ) \ No newline at end of file