jreject-rails 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jreject-rails/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.reject.js.erb +4 -3
- 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: 862796bb3e6e3d6ea9e16a900768eb2bb4c83be9
|
4
|
+
data.tar.gz: 1ca57c044524f8c2c76d5c0b85f4551c5d2dce0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8f7480bb29c647a5e5f82ba1ebe67f15e6a1181ecd4abfbde54989713051993bdea81a4c932772a9b2e8be6adcb79fba01a12f6c59449ea892bb5134067b386
|
7
|
+
data.tar.gz: a8728003a0e06030a1df225b7fd6e9166afeba750ad90c4421dd6e9c4e3549c80867b93f3b50571ea38a9cc896fe03466b2a6eaeeee04c1b2dd299bb20cf105d
|
@@ -94,7 +94,8 @@ $.reject = function(options) {
|
|
94
94
|
},
|
95
95
|
|
96
96
|
// Path where images are located
|
97
|
-
|
97
|
+
assetToken: "<%= image_path('jreject/background_browser.gif').scan(/background_browser([^\.]*)/).flatten.first %>",
|
98
|
+
imagePath: "<%= image_path('jreject/background_browser.gif').gsub /background_browser.*/, '' %>",
|
98
99
|
// Background color for overlay
|
99
100
|
overlayBgColor: '#000',
|
100
101
|
// Background transparency (0-1)
|
@@ -364,7 +365,7 @@ $.reject = function(options) {
|
|
364
365
|
});
|
365
366
|
|
366
367
|
element.find('#jr_inner li').css({ // Browser list items (li)
|
367
|
-
background: 'transparent url("'+opts.imagePath+'background_browser.gif") '+
|
368
|
+
background: 'transparent url("'+opts.imagePath+'background_browser' + (opts.assetToken ? "-" + opts.assetToken : "") + '.gif") '+
|
368
369
|
'no-repeat scroll left top'
|
369
370
|
});
|
370
371
|
|
@@ -372,7 +373,7 @@ $.reject = function(options) {
|
|
372
373
|
// Dynamically sets the icon background image
|
373
374
|
var self = $(this);
|
374
375
|
self.css('background','transparent url('+opts.imagePath+'browser_'+
|
375
|
-
(self.parent('li').attr('id').replace(/jr_/,''))+'.gif)'+
|
376
|
+
(self.parent('li').attr('id').replace(/jr_/,''))+ (opts.assetToken ? "-" + opts.assetToken : "") +'.gif)'+
|
376
377
|
' no-repeat scroll left top');
|
377
378
|
|
378
379
|
// Send link clicks to openBrowserLinks
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jreject-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rustam Sharshenov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|