epi_js 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea9944f421140957520d9a1b78660a59cdb53915
4
- data.tar.gz: 0a0a45a1205374250439df5dbf09489833ca7487
3
+ metadata.gz: 0852e5d90bb73ac4db89ae4d39b74ff956bc182f
4
+ data.tar.gz: 82fba0551b9f8b9e0fcb98a3975fe269c4aea932
5
5
  SHA512:
6
- metadata.gz: ca38017b12db3f20ad3bdb272ec30ed812fb8a48945f55a40309c8b3d312343668f0c076755069f09873692418ae27f15e2ab4da425294ed139b2eecab2e4e23
7
- data.tar.gz: 7d49cd4606cb1e2aefdd815ed7127d3da2c93dd1a2e81b7bf47bf2d8dc54ec76c7a26aaa42d988a73ba6ce58e99014ec36924a8dd2e0bcac8e2555bcd2118877
6
+ metadata.gz: f0d2415b33c2589762d8744b8285c6eaa55f01317c1d5539eafc49da2b529404fd16e850b0253b5f536a84bcb90ea5de17cb986b93e939cbb061803b0ee167fe
7
+ data.tar.gz: abf3d40f5506789c982ed7e2658cf0b7888bcd719342c8bd99b9e302b26d3f6ac882e690d2a379b13ac2d7f0cc178154e11ef8bf963b84ced66daaede4dfa19f
@@ -1,3 +1,3 @@
1
1
  module EpiJs
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -5,6 +5,9 @@
5
5
  $modal.html(data).modal().on 'hidden', (e) ->
6
6
  if e.target is this
7
7
  $(@).remove()
8
+ .on 'show', (e) ->
9
+ if e.target is this
10
+ $(document).trigger('ajax-modal-show')
8
11
  .on 'shown', (e) ->
9
12
  if e.target is this
10
13
  $(document).trigger('ajax-modal-shown')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epi_js
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shuo Chen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-30 00:00:00.000000000 Z
11
+ date: 2013-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties