js-initializers 0.0.1 → 0.0.2

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: 7d98734161907a8ef44b4ba6e34e4f9022226520
4
- data.tar.gz: 4c97c67aa9c450b82bd0beb410b6a39d58f8d0d0
3
+ metadata.gz: 327c6e9c53a7a5d3bbfc8a6a033d41d840f5c311
4
+ data.tar.gz: ea577cda3b54ebf775577eeff6e75cdbae367c21
5
5
  SHA512:
6
- metadata.gz: 5fe199e0251cd868b655a3ceeb62cb1cb2a5e196d0657b3195daf0e6c187f3d2cd60eeadcff53a9acf240ce7d6097ec1c23547bfb13b89eca5e2f5d5e37c2b52
7
- data.tar.gz: b31cacbdc7a833c3a69b3c5f0aaeae8fb4e0011228e2d7c4fd942996e33a3c7deb8668cc111f667cb8ece3266e1287e905d76905776e51924dc4d45faaf85df0
6
+ metadata.gz: e3589069690defed063783980d22ce7a41b49703b370357cde5cc93286af119f28113bf187f513710a6f2bb54b8c9fdfe9cca332ed441aad856851ae0907aedc
7
+ data.tar.gz: d002a07cdfa7b4c47f44ee43a31ea10c7ac7cbf2365d4a0f0d0d648b6fdf167fc72994dbe29d67cfe81f6620566d119fa33ac92d14b3023f65bef3450a91ed8e
@@ -158,9 +158,9 @@ window.Initializers = (function($, doc, undefined) {
158
158
  if ($ !== undefined) {
159
159
  // Trigger initializers on page load (either with Turbolinks or without 'em)
160
160
  if (window.Turbolinks === undefined) {
161
- $($.runInitializers);
161
+ $(Initializers.run);
162
162
  } else {
163
- $(doc).on('page:change', $.runInitializers);
163
+ $(doc).on('page:change', Initializers.run);
164
164
  }
165
165
  }
166
166
 
@@ -1,3 +1,3 @@
1
1
  module JsInitializers
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: js-initializers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nahuel Cuesta Luengo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-06 00:00:00.000000000 Z
11
+ date: 2015-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler