[cleanup] Throw out a lot of (probably?) unused JS
This commit is contained in:
parent
c8f581989d
commit
3e4f351a16
|
@ -11,7 +11,7 @@
|
|||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/normalize.min.css">
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/main.css">
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/bascht.com.css">
|
||||
<script src="/js/vendor/modernizr-2.8.3.min.js"></script>
|
||||
<script src="/js/vendor/modernizr.min.js"></script>
|
||||
{{ range .AlternativeOutputFormats -}}
|
||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
||||
{{ end -}}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
// 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',
|
||||
'timeline', 'timelineEnd', '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.
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue