jqr-helpers 1.0.47 → 1.0.48
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Readme.md +5 -1
- data/app/assets/javascripts/jqr-helpers.js +3 -2
- data/jqr-helpers.gemspec +2 -2
- data/lib/jqr-helpers/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTRkYzE0OTU3NDg4ZmM2Zjg2NzNhZDg0MTViYzkyMWRmMTU5MGU5Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjlmOTcwOWNiZmEwYWVlM2MzZjllMWIzMTQ0ZjhjMTA4NTg4OWU0MA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTBiNDIzYzQ0Nzc4MzEzMzJmOWRiNzU3ODM1NDk1ZmYzMTQ1MmRmODdmN2U4
|
10
|
+
N2M3NjE4NTAxN2U1YTM4OGIyZWYzMmRkYzVkNTE4MzUwOTVkYTk4N2RmYTFl
|
11
|
+
MWZlYTI5YTcyZjg4ZTE4YjViZDA3OWMzYmY3NDA4ZTQ3NzQ4ZjQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWM3YzJjZThlMDIwYTE4ZTFiMTkwOGI3NjEwZmI3MjJmYjQ3NzQ3ODk4ZTQ5
|
14
|
+
MzY3Zjk5MzViM2ZjZjA4NGM3ZDNkNjNlNjMyYzg1OTQ5YWE4YjQxMDQ5Nzg2
|
15
|
+
YjU3Zjc3ODM4ZTVkYTFmYTVlZWU4NTdhNjE4NDkxMTY5ZWY3YTM=
|
data/Readme.md
CHANGED
@@ -192,11 +192,15 @@ This allows you to loop through the tabs in an intuitive and concise way.
|
|
192
192
|
|
193
193
|
## jQuery Events ##
|
194
194
|
|
195
|
-
There are
|
195
|
+
There are a few special events triggered by jqr-helpers:
|
196
196
|
|
197
197
|
* `jqr.load` - this is triggered when a remote call populates an element with
|
198
198
|
data. The target for the event is the element which has just had data
|
199
199
|
populated.
|
200
|
+
* `jqr.beforeload` - triggered just before `jqr.load`. This is useful if you
|
201
|
+
want to make massage your DOM before allowing jqr-helpers to do its magic.
|
202
|
+
* `jqr.afterload` - triggered just after `jqr.load`, allowing you to ensure
|
203
|
+
jqr-helper's stuff is done *before* yours.
|
200
204
|
* `jqr.beforedialogopen` - for remote dialogs, this is triggered when the
|
201
205
|
link or button is clicked to open the dialog but before the request is sent out.
|
202
206
|
|
@@ -502,8 +502,9 @@
|
|
502
502
|
$('.ujs-quick-buttonset label').live('mouseenter mouseleave',
|
503
503
|
ujsQuickButtonHover);
|
504
504
|
}
|
505
|
-
$('body').trigger('jqr.
|
506
|
-
|
505
|
+
$('body').trigger('jqr.beforeload')
|
506
|
+
.trigger('jqr.load')
|
507
|
+
.trigger('jqr.afterload');
|
507
508
|
});
|
508
509
|
|
509
510
|
}(jQuery));
|
data/jqr-helpers.gemspec
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'jqr-helpers'
|
3
3
|
s.require_paths = %w(. lib lib/jqr-helpers)
|
4
|
-
s.version = '1.0.
|
5
|
-
s.date = '2014-06-
|
4
|
+
s.version = '1.0.48'
|
5
|
+
s.date = '2014-06-23'
|
6
6
|
s.summary = 'Helpers to print unobtrusive jQuery-UI tags.'
|
7
7
|
s.description = <<-EOF
|
8
8
|
This gem adds helper methods to create unobtrusive jQuery code. It outputs
|
data/lib/jqr-helpers/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jqr-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.48
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Orner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|