remove unnecessary javascript

This commit is contained in:
Jörg Thalheim 2013-01-28 09:17:57 +01:00
parent 4c68d6c1bd
commit b98a0035c2
4 changed files with 2 additions and 39 deletions

View File

@ -1,2 +0,0 @@
!.gitignore

View File

@ -1,20 +0,0 @@
// usage: log('inside coolFunc', this, arguments);
// paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/
window.log = function(){
log.history = log.history || []; // store logs to an array for reference
log.history.push(arguments);
if(this.console) {
arguments.callee = arguments.callee.caller;
var newarr = [].slice.call(arguments);
(typeof console.log === 'object' ? log.apply.call(console.log, console, newarr) : console.log.apply(console, newarr));
}
};
// make it safe to use console.log always
(function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();){b[a]=b[a]||c}})((function(){try
{console.log();return window.console;}catch(err){return window.console={};}})());
// place any jQuery/helper plugins in here, instead of separate, slower script files.

View File

@ -1,8 +0,0 @@
/* Author:
*/

View File

@ -25,13 +25,13 @@ html.no-js.light lang="en"
== stylesheet_link_tag "site.css"
link href='//fonts.googleapis.com/css?family=Cabin' rel='stylesheet' type='text/css'
link href='//fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'
/![if IE 7]
link type="text/css" rel="stylesheet" media="screen" href="/stylesheets/fontawesome-ie7.css"
== yield_content :head
// Respond is a polyfill for min/max-width media queries.
// Modernizr enables HTML5 elements & feature detects;
// for optimal performance, create your own custom Modernizr build: www.modernizr.com/download/
== javascript_include_tag "modernizr.custom.01860.min.js"
/![if IE 7]
link type="text/css" rel="stylesheet" media="screen" href="/stylesheets/fontawesome-ie7.css"
body
.container
header
@ -53,13 +53,6 @@ html.no-js.light lang="en"
noscript
p
img src="https://piwik.higgsboson.tk/piwik.php?idsite=1" style="border:0" alt=""
//! Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline
/script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"
/javascript:
/ | window.jQuery || document.write('<script src="js/libs/jquery-1.6.2.min.js"><\/script>') / scripts concatenated and minified via build script
/script defer="" src="js/plugins.js"
/script defer="" src="js/script.js"
/![if lt IE 7 ]
<script defer src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
<script defer>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>