forked from ccnmtl/mediathread
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
first pass -- Django1.5 upgrade, various library upgrades, collectstatic
- Loading branch information
Showing
91 changed files
with
390 additions
and
427 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
(function(exports) { | ||
"use strict"; | ||
/* | ||
* A simpler boomerang: https://github.com/yahoo/boomerang that just | ||
* does navigation timing. Requires jquery. | ||
*/ | ||
|
||
exports.send = function(url) { | ||
/* Sends the timing data to the given URL */ | ||
var perf = window.performance || window.msPerformance || | ||
window.webkitPerformance || window.mozPerformance; | ||
if (perf) { | ||
setTimeout(function() { | ||
$.post(url, { | ||
'window.performance.timing.navigationStart': perf.timing.navigationStart, | ||
'window.performance.timing.domComplete': perf.timing.domComplete, | ||
'window.performance.timing.domInteractive': perf.timing.domInteractive, | ||
'window.performance.timing.domLoading': perf.timing.domLoading, | ||
'window.performance.timing.loadEventEnd': perf.timing.loadEventEnd, | ||
'window.performance.timing.responseStart': perf.timing.responseStart, | ||
'window.performance.navigation.redirectCount': perf.navigation.redirectCount, | ||
'window.performance.navigation.type': perf.navigation.type, | ||
'client': 'stick' | ||
}); | ||
}, 1000); | ||
} | ||
}; | ||
|
||
})(typeof exports === 'undefined' ? (this.stick = {}) : exports); | ||
|
||
|
||
|
Oops, something went wrong.