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 +4 -4
- data/app/assets/javascripts/pace.js +12 -7
- data/lib/pacejs_rails/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6521968aecb8e9a6b44d5d238aaa0eb23e078479
|
4
|
+
data.tar.gz: e1602ab3781a3d35633d5a0556329cc427f4fce0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 306ef5c79386019c83ca06d8b3231d89edae4d4fda7e57e2ada301e96237addb6f2a4e90d97677d751f9144c3ffb9725ef7d58cfe51b03750cefa8d6867e78d0
|
7
|
+
data.tar.gz: 098ba833b06b201b9ff32d6a5bc87430c86f857de15a28e3ad7a8c363151249883142c64cea70ba8965597c3c910d2fa64e06e009b3f03d5637a1bc9b45141ac
|
@@ -1,6 +1,5 @@
|
|
1
|
-
//
|
2
|
-
//
|
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
|
-
|
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
|
-
|
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
|
-
|
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);
|
data/lib/pacejs_rails/version.rb
CHANGED
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.
|
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-
|
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.
|
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:
|