h2ocube_rails_assets 0.0.19 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +1 -0
- data/Vendorfile +196 -0
- data/h2ocube_rails_assets.gemspec +3 -4
- data/lib/h2ocube_rails_assets.rb +8 -6
- data/test/jquery_test.rb +1 -1
- data/test/turbolinks_test.rb +1 -3
- data/vendor/assets/images/jquery.fancybox/fancybox_loading.gif +0 -0
- data/vendor/assets/images/jquery.fancybox/fancybox_loading@2x.gif +0 -0
- data/vendor/assets/images/jquery.fancybox/fancybox_sprite@2x.png +0 -0
- data/vendor/assets/javascripts/backbone.js +4 -1571
- data/vendor/assets/javascripts/bootstrap.js +6 -2276
- data/vendor/assets/javascripts/highcharts.js +272 -15281
- data/vendor/assets/javascripts/jasny-bootstrap.js +7 -3060
- data/vendor/assets/javascripts/jquery/1.10.js +6 -9807
- data/vendor/assets/javascripts/jquery/1.8.js +2 -9472
- data/vendor/assets/javascripts/jquery/1.9.js +5 -9597
- data/vendor/assets/javascripts/jquery/2.0.js +5 -8841
- data/vendor/assets/javascripts/jquery.cookie.js +26 -23
- data/vendor/assets/javascripts/jquery.fancybox.js +46 -1983
- data/vendor/assets/javascripts/jquery.fileupload.js +1329 -4
- data/vendor/assets/javascripts/jquery.iframe-transport.js +24 -4
- data/vendor/assets/javascripts/jquery.js +1 -1
- data/vendor/assets/javascripts/jquery.lazyload.js +3 -216
- data/vendor/assets/javascripts/jquery.mobile.js +7 -11092
- data/vendor/assets/javascripts/jquery.pnotify.js +29 -903
- data/vendor/assets/javascripts/jquery.timeago.coffee +2 -4
- data/vendor/assets/javascripts/jquery.turbolinks.coffee +40 -51
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.accordion.js +4 -572
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.autocomplete.js +4 -610
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.button.js +4 -419
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.core.js +4 -320
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.datepicker.js +5 -2050
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.dialog.js +4 -808
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.draggable.js +4 -933
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.droppable.js +4 -372
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-blind.js +4 -82
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-bounce.js +4 -113
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-clip.js +4 -67
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-drop.js +4 -65
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-explode.js +4 -97
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-fade.js +4 -30
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-fold.js +4 -76
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-highlight.js +4 -50
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-pulsate.js +4 -63
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-scale.js +4 -318
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-shake.js +4 -74
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-slide.js +4 -64
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-transfer.js +4 -47
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect.js +4 -1289
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.menu.js +4 -621
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.mouse.js +4 -169
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.position.js +4 -497
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.progressbar.js +4 -145
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.resizable.js +4 -968
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.selectable.js +4 -277
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.slider.js +4 -672
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.sortable.js +4 -1282
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.spinner.js +4 -493
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.tabs.js +4 -846
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.tooltip.js +4 -402
- data/vendor/assets/javascripts/jquery.ui/jquery.ui.widget.js +4 -521
- data/vendor/assets/javascripts/jquery.validate.js +2 -1207
- data/vendor/assets/javascripts/lazyload.js +4 -391
- data/vendor/assets/javascripts/sammy.js +5 -2117
- data/vendor/assets/javascripts/underscore.js +4 -1224
- data/vendor/assets/javascripts/zepto.js +1 -1564
- data/vendor/assets/stylesheets/bootstrap.responsive.css +2 -1102
- data/vendor/assets/stylesheets/bootstrap.scss +2 -6151
- data/vendor/assets/stylesheets/jasny-bootstrap.responsive.css +2 -1263
- data/vendor/assets/stylesheets/jasny-bootstrap.scss +2 -7591
- data/vendor/assets/stylesheets/jquery.fancybox.scss +27 -2
- data/vendor/assets/stylesheets/jquery.mobile.scss +2 -3356
- data/vendor/assets/stylesheets/jquery.ui.scss +2 -1184
- metadata +43 -19
- data/vendor/assets/images/jquery.mobile/ajax-loader.gif +0 -0
- data/vendor/assets/images/jquery.mobile/icons-18-black.png +0 -0
- data/vendor/assets/images/jquery.mobile/icons-18-white.png +0 -0
- data/vendor/assets/images/jquery.mobile/icons-36-black.png +0 -0
- data/vendor/assets/images/jquery.mobile/icons-36-white.png +0 -0
- data/vendor/assets/javascripts/_jquery.fileupload.js +0 -1164
- data/vendor/assets/javascripts/zepto/fx_methods.js +0 -71
@@ -1,71 +0,0 @@
|
|
1
|
-
// Zepto.js
|
2
|
-
// (c) 2010-2012 Thomas Fuchs
|
3
|
-
// Zepto.js may be freely distributed under the MIT license.
|
4
|
-
|
5
|
-
;(function($, undefined){
|
6
|
-
var document = window.document, docElem = document.documentElement,
|
7
|
-
origShow = $.fn.show, origHide = $.fn.hide, origToggle = $.fn.toggle
|
8
|
-
|
9
|
-
function anim(el, speed, opacity, scale, callback) {
|
10
|
-
if (typeof speed == 'function' && !callback) callback = speed, speed = undefined
|
11
|
-
var props = { opacity: opacity }
|
12
|
-
if (scale) {
|
13
|
-
props.scale = scale
|
14
|
-
el.css($.fx.cssPrefix + 'transform-origin', '0 0')
|
15
|
-
}
|
16
|
-
return el.animate(props, speed, null, callback)
|
17
|
-
}
|
18
|
-
|
19
|
-
function hide(el, speed, scale, callback) {
|
20
|
-
return anim(el, speed, 0, scale, function(){
|
21
|
-
origHide.call($(this))
|
22
|
-
callback && callback.call(this)
|
23
|
-
})
|
24
|
-
}
|
25
|
-
|
26
|
-
$.fn.show = function(speed, callback) {
|
27
|
-
origShow.call(this)
|
28
|
-
if (speed === undefined) speed = 0
|
29
|
-
else this.css('opacity', 0)
|
30
|
-
return anim(this, speed, 1, '1,1', callback)
|
31
|
-
}
|
32
|
-
|
33
|
-
$.fn.hide = function(speed, callback) {
|
34
|
-
if (speed === undefined) return origHide.call(this)
|
35
|
-
else return hide(this, speed, '0,0', callback)
|
36
|
-
}
|
37
|
-
|
38
|
-
$.fn.toggle = function(speed, callback) {
|
39
|
-
if (speed === undefined || typeof speed == 'boolean')
|
40
|
-
return origToggle.call(this, speed)
|
41
|
-
else return this.each(function(){
|
42
|
-
var el = $(this)
|
43
|
-
el[el.css('display') == 'none' ? 'show' : 'hide'](speed, callback)
|
44
|
-
})
|
45
|
-
}
|
46
|
-
|
47
|
-
$.fn.fadeTo = function(speed, opacity, callback) {
|
48
|
-
return anim(this, speed, opacity, null, callback)
|
49
|
-
}
|
50
|
-
|
51
|
-
$.fn.fadeIn = function(speed, callback) {
|
52
|
-
var target = this.css('opacity')
|
53
|
-
if (target > 0) this.css('opacity', 0)
|
54
|
-
else target = 1
|
55
|
-
return origShow.call(this).fadeTo(speed, target, callback)
|
56
|
-
}
|
57
|
-
|
58
|
-
$.fn.fadeOut = function(speed, callback) {
|
59
|
-
return hide(this, speed, null, callback)
|
60
|
-
}
|
61
|
-
|
62
|
-
$.fn.fadeToggle = function(speed, callback) {
|
63
|
-
return this.each(function(){
|
64
|
-
var el = $(this)
|
65
|
-
el[
|
66
|
-
(el.css('opacity') == 0 || el.css('display') == 'none') ? 'fadeIn' : 'fadeOut'
|
67
|
-
](speed, callback)
|
68
|
-
})
|
69
|
-
}
|
70
|
-
|
71
|
-
})(Zepto)
|