Files
@ 1759a07630a8
Branch filter:
Location: symposion_app/static/src/pyconau2017/js/plugins.js - annotation
1759a07630a8
733 B
application/javascript
A few mods to be able to use the runserver site for debugging. We'll back these out once the real
(via apache) site is up and running.
(via apache) site is up and running.
c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede c42159468ede | // Avoid `console` errors in browsers that lack a console.
(function() {
var method;
var noop = function () {};
var methods = [
'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error',
'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log',
'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd',
'timeStamp', 'trace', 'warn'
];
var length = methods.length;
var console = (window.console = window.console || {});
while (length--) {
method = methods[length];
// Only stub undefined methods.
if (!console[method]) {
console[method] = noop;
}
}
}());
// Place any jQuery/helper plugins in here.
|