pacejs_rails 0.5.1 → 0.5.6

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: 76e6f715ea28b0b876c4d0502680525a0038a681
4
- data.tar.gz: e00dd64e3bdba73f2b6fbcb03fbd158f7306a178
3
+ metadata.gz: 6521968aecb8e9a6b44d5d238aaa0eb23e078479
4
+ data.tar.gz: e1602ab3781a3d35633d5a0556329cc427f4fce0
5
5
  SHA512:
6
- metadata.gz: a339aa7da95af6aa968462042ecbee5d590ff54381d15d02d82c292e3a01c9da7ab9ee8e5fe8acca33719e573d6f1fcaa37e76996da9062385eef5e958c76e0e
7
- data.tar.gz: 905b328e6cb2bf90a6ab47b6096a82da184b82a05706bccf26a417fd4ba9c3674e3872e014273d7ffa39930bb74ec42772fb0e90e3ba072bfdc75fec45b52034
6
+ metadata.gz: 306ef5c79386019c83ca06d8b3231d89edae4d4fda7e57e2ada301e96237addb6f2a4e90d97677d751f9144c3ffb9725ef7d58cfe51b03750cefa8d6867e78d0
7
+ data.tar.gz: 098ba833b06b201b9ff32d6a5bc87430c86f857de15a28e3ad7a8c363151249883142c64cea70ba8965597c3c910d2fa64e06e009b3f03d5637a1bc9b45141ac
@@ -1,6 +1,5 @@
1
- // v 0.5.1
2
- // Pace.js
3
- // https://github.com/HubSpot/pace
1
+ // pace.js
2
+ // v 0.5.6
4
3
  (function() {
5
4
  var AjaxMonitor, Bar, DocumentMonitor, ElementMonitor, ElementTracker, EventLagMonitor, Evented, Events, NoTargetError, RequestIntercept, SOURCE_KEYS, Scaler, SocketRequestTracker, XHRRequestTracker, animation, avgAmplitude, bar, cancelAnimation, cancelAnimationFrame, defaultOptions, extend, extendNative, getFromDOM, getIntercept, handlePushState, ignoreStack, init, now, options, requestAnimationFrame, result, runAnimation, scalers, shouldIgnoreURL, shouldTrack, source, sources, uniScaler, _WebSocket, _XDomainRequest, _XMLHttpRequest, _i, _intercept, _len, _pushState, _ref, _ref1, _replaceState,
6
5
  __slice = [].slice,
@@ -429,7 +428,9 @@
429
428
  monitorXHR(req);
430
429
  return req;
431
430
  };
432
- extendNative(window.XMLHttpRequest, _XMLHttpRequest);
431
+ try {
432
+ extendNative(window.XMLHttpRequest, _XMLHttpRequest);
433
+ } catch (_error) {}
433
434
  if (_XDomainRequest != null) {
434
435
  window.XDomainRequest = function() {
435
436
  var req;
@@ -437,7 +438,9 @@
437
438
  monitorXHR(req);
438
439
  return req;
439
440
  };
440
- extendNative(window.XDomainRequest, _XDomainRequest);
441
+ try {
442
+ extendNative(window.XDomainRequest, _XDomainRequest);
443
+ } catch (_error) {}
441
444
  }
442
445
  if ((_WebSocket != null) && options.ajax.trackWebSockets) {
443
446
  window.WebSocket = function(url, protocols) {
@@ -457,7 +460,9 @@
457
460
  }
458
461
  return req;
459
462
  };
460
- extendNative(window.WebSocket, _WebSocket);
463
+ try {
464
+ extendNative(window.WebSocket, _WebSocket);
465
+ } catch (_error) {}
461
466
  }
462
467
  }
463
468
 
@@ -915,4 +920,4 @@
915
920
  }
916
921
  }
917
922
 
918
- }).call(this);
923
+ }).call(this);
@@ -1,3 +1,3 @@
1
1
  module PacejsRails
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pacejs_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Israeli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-14 00:00:00.000000000 Z
11
+ date: 2014-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -98,8 +98,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  version: '0'
99
99
  requirements: []
100
100
  rubyforge_project:
101
- rubygems_version: 2.2.1
101
+ rubygems_version: 2.2.2
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: pace.js for Rails with versions! horray!
105
105
  test_files: []
106
+ has_rdoc: