flashgrid 4.0.5 → 4.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flashgrid/version.rb +1 -1
- data/vendor/assets/javascripts/affix.js +1 -1
- data/vendor/assets/javascripts/alert.js +1 -1
- data/vendor/assets/javascripts/button.js +1 -1
- data/vendor/assets/javascripts/carousel.js +1 -1
- data/vendor/assets/javascripts/collapse.js +1 -1
- data/vendor/assets/javascripts/dropdown.js +1 -1
- data/vendor/assets/javascripts/popover.js +5 -11
- data/vendor/assets/javascripts/scrollspy.js +1 -1
- data/vendor/assets/javascripts/tab.js +1 -1
- data/vendor/assets/javascripts/tooltip.js +8 -14
- data/vendor/assets/stylesheets/table.css.scss +4 -0
- data/vendor/assets/stylesheets/typography.css.scss +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c09a15267a1d531459c130db7bbce1b5d6f4002
|
4
|
+
data.tar.gz: 2a373759f9ce591312120e6f3c00dd506148475e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 550c4d08dc1157217d71597eb6bada868fb5216185f56cf8f9c3691fb099c5236eccf01ce7ca624d0ea32b48bb5d8526f31e57ca03058b345ea79d419746f426
|
7
|
+
data.tar.gz: 91ffb633deca11a2370788b021c07e1798eefa0d476113bd21514cf96096124d6178b51e08a9804db7803944f6893cf43499067f83bf1af40857d97a45dfb606
|
data/lib/flashgrid/version.rb
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
|
12
12
|
|
13
|
-
Popover.VERSION = '3.3.
|
13
|
+
Popover.VERSION = '3.3.2'
|
14
14
|
|
15
15
|
Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
|
16
16
|
placement: 'right',
|
@@ -77,18 +77,12 @@
|
|
77
77
|
|
78
78
|
function Plugin(option) {
|
79
79
|
return this.each(function () {
|
80
|
-
var $this
|
81
|
-
var data
|
82
|
-
var options
|
83
|
-
var selector = options && options.selector
|
80
|
+
var $this = $(this)
|
81
|
+
var data = $this.data('bs.popover')
|
82
|
+
var options = typeof option == 'object' && option
|
84
83
|
|
85
84
|
if (!data && option == 'destroy') return
|
86
|
-
if (
|
87
|
-
if (!data) $this.data('bs.popover', (data = {}))
|
88
|
-
if (!data[selector]) data[selector] = new Popover(this, options)
|
89
|
-
} else {
|
90
|
-
if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
|
91
|
-
}
|
85
|
+
if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
|
92
86
|
if (typeof option == 'string') data[option]()
|
93
87
|
})
|
94
88
|
}
|
@@ -15,7 +15,7 @@
|
|
15
15
|
this.init('tooltip', element, options)
|
16
16
|
}
|
17
17
|
|
18
|
-
Tooltip.VERSION = '3.3.
|
18
|
+
Tooltip.VERSION = '3.3.2'
|
19
19
|
|
20
20
|
Tooltip.TRANSITION_DURATION = 150
|
21
21
|
|
@@ -336,10 +336,10 @@
|
|
336
336
|
}
|
337
337
|
|
338
338
|
Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
|
339
|
-
return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2
|
340
|
-
placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2
|
339
|
+
return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
|
340
|
+
placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
|
341
341
|
placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
|
342
|
-
/* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width
|
342
|
+
/* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
|
343
343
|
|
344
344
|
}
|
345
345
|
|
@@ -435,18 +435,12 @@
|
|
435
435
|
|
436
436
|
function Plugin(option) {
|
437
437
|
return this.each(function () {
|
438
|
-
var $this
|
439
|
-
var data
|
440
|
-
var options
|
441
|
-
var selector = options && options.selector
|
438
|
+
var $this = $(this)
|
439
|
+
var data = $this.data('bs.tooltip')
|
440
|
+
var options = typeof option == 'object' && option
|
442
441
|
|
443
442
|
if (!data && option == 'destroy') return
|
444
|
-
if (
|
445
|
-
if (!data) $this.data('bs.tooltip', (data = {}))
|
446
|
-
if (!data[selector]) data[selector] = new Tooltip(this, options)
|
447
|
-
} else {
|
448
|
-
if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
|
449
|
-
}
|
443
|
+
if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
|
450
444
|
if (typeof option == 'string') data[option]()
|
451
445
|
})
|
452
446
|
}
|
@@ -183,6 +183,12 @@ blockquote small { color: rgba(136,153,166,1); }
|
|
183
183
|
|
184
184
|
/* #Modifiers
|
185
185
|
================================================== */
|
186
|
+
.text-ellipsis {
|
187
|
+
overflow: hidden;
|
188
|
+
text-overflow: ellipsis;
|
189
|
+
white-space: nowrap;
|
190
|
+
width: 100%;
|
191
|
+
}
|
186
192
|
.text-whitespaced { white-space: pre-wrap; }
|
187
193
|
|
188
194
|
/* #Displays
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flashgrid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|