visibilityjs 1.2.3 → 1.2.4

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: a711dbbf3f1ca23882071ac17368d8d082461a0a
4
- data.tar.gz: 58e4634a686cbf16f4ed23b4d7c133adcc30a1b3
3
+ metadata.gz: de243ac1043eb09b23462dac69cfab08b89ac53a
4
+ data.tar.gz: afb78cc909abbdc95185d5c385758fe6c98a9115
5
5
  SHA512:
6
- metadata.gz: 45726b3b92476e310002265dc45977ec640cc9de907dce500087a381d1bca6aa6fca2f784822627bbf1c0a99cdad941ae600bfd45cb983fe88fe2ddf50e4a432
7
- data.tar.gz: 94278cdef353d8c3e8a9c6a3592fd1281ebf275896e5e966697e41c073423a2acff53939a47b4c6c54752e8735d6a1273222008c0661215a8bb96d45ed34e29d
6
+ metadata.gz: 4edb3b804218f87a18cdd4bfc1d64205688f4d4883fad44e3b613b1ede3e975e9836f3e588681b8f1b69e32ba3b399c7069c90a51d2953bdbe241cc405859db4
7
+ data.tar.gz: ee4ba45b83f5e19d909d51b136fbdd73a826128f55b118f0f97f838153847da244402b11ab48c8eec0edd6b532af7e7e0cf3b6a45c972c88405b64d01f6a4048
data/ChangeLog.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### 1.2.4 “Luna 3, Dark side of the Moon”
2
+ * Fix race condition by Mikhail Vazhnov.
3
+
1
4
  ### 1.2.3 “Vanguard 3, 300 years”
2
5
  * Fix Rails support by @dimko.
3
6
 
data/README.md CHANGED
@@ -251,6 +251,14 @@ Visibility.js is available by Bower package manager:
251
251
  bower install --save visibilityjs
252
252
  ```
253
253
 
254
+ ### NPM
255
+
256
+ Available by [NPM](https://www.npmjs.com/package/visibilityjs):
257
+
258
+ ```
259
+ npm install --save visibilityjs
260
+ ```
261
+
254
262
  ### Ruby on Rails
255
263
 
256
264
  For Ruby on Rails you can use gem for Assets Pipeline.
@@ -280,6 +288,15 @@ For Ruby on Rails you can use gem for Assets Pipeline.
280
288
  #= require visibility.core
281
289
  ```
282
290
 
291
+ ### CDN
292
+
293
+ If you don’t use any assets packaging manager use [cdnjs](http://cdnjs.com/).
294
+ Add to your site:
295
+
296
+ ```html
297
+ <script src="//cdnjs.cloudflare.com/ajax/libs/visibility.js/1.2.4/visibility.min.js"></script>
298
+ ```
299
+
283
300
  ### Other
284
301
 
285
302
  If you need just a files, you can take already minified packages from
@@ -116,12 +116,12 @@
116
116
 
117
117
  if ( interval > last ) {
118
118
  timer.delay = setTimeout(function () {
119
- runner();
120
119
  timer.id = setInterval(runner, interval);
120
+ runner();
121
121
  }, interval - last);
122
122
  } else {
123
- runner();
124
123
  timer.id = setInterval(runner, interval);
124
+ runner();
125
125
  }
126
126
 
127
127
  } else {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: visibilityjs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Sitnik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-04 00:00:00.000000000 Z
11
+ date: 2016-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sprockets