jquery 1.9.1 upgrade ... remove jquery rails

This commit is contained in:
Sam
2013-06-07 09:12:46 +10:00
parent 564d242832
commit 6ed79e66bc
6 changed files with 2973 additions and 2845 deletions

View File

@@ -10,7 +10,7 @@
//= require ./discourse/components/probes.js
// Externals we need to load first
//= require ./external/jquery-1.8.3.js
//= require ./external/jquery-1.9.1.js
//= require ./external/jquery.ui.widget.js
//= require ./external/handlebars-1.0.rc.3.js
<%

View File

@@ -1,5 +1,5 @@
/* ===================================================
* bootstrap-transition.js v2.0.2
* bootstrap-transition.js v2.3.2
* http://twitter.github.com/bootstrap/javascript.html#transitions
* ===================================================
* Copyright 2012 Twitter, Inc.
@@ -17,35 +17,44 @@
* limitations under the License.
* ========================================================== */
!function( $ ) {
!function ($) {
"use strict"; // jshint ;_;
/* CSS TRANSITION SUPPORT (http://www.modernizr.com/)
* ======================================================= */
$(function () {
"use strict"
/* CSS TRANSITION SUPPORT (https://gist.github.com/373874)
* ======================================================= */
$.support.transition = (function () {
var thisBody = document.body || document.documentElement
, thisStyle = thisBody.style
, support = thisStyle.transition !== undefined || thisStyle.WebkitTransition !== undefined || thisStyle.MozTransition !== undefined || thisStyle.MsTransition !== undefined || thisStyle.OTransition !== undefined
return support && {
end: (function () {
var transitionEnd = "TransitionEnd"
if ( $.browser.webkit ) {
transitionEnd = "webkitTransitionEnd"
} else if ( $.browser.mozilla ) {
transitionEnd = "transitionend"
} else if ( $.browser.opera ) {
transitionEnd = "oTransitionEnd"
var transitionEnd = (function () {
var el = document.createElement('bootstrap')
, transEndEventNames = {
'WebkitTransition' : 'webkitTransitionEnd'
, 'MozTransition' : 'transitionend'
, 'OTransition' : 'oTransitionEnd otransitionend'
, 'transition' : 'transitionend'
}
, name
for (name in transEndEventNames){
if (el.style[name] !== undefined) {
return transEndEventNames[name]
}
return transitionEnd
}())
}
}())
return transitionEnd && {
end: transitionEnd
}
})()
})
}( window.jQuery );
}(window.jQuery);

View File

@@ -1 +1 @@
//= require ./external/jquery-1.8.3.js
//= require ./external/jquery-1.9.1.js