From b98a0035c2d1848fb5f943e8c5add82659e169fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 28 Jan 2013 09:17:57 +0100 Subject: [PATCH] remove unnecessary javascript --- source/js/mylibs/.gitignore | 2 -- source/js/plugins.js | 20 -------------------- source/js/script.js | 8 -------- source/layout.slim | 11 ++--------- 4 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 source/js/mylibs/.gitignore delete mode 100644 source/js/plugins.js delete mode 100644 source/js/script.js diff --git a/source/js/mylibs/.gitignore b/source/js/mylibs/.gitignore deleted file mode 100644 index 4397c3a..0000000 --- a/source/js/mylibs/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -!.gitignore - diff --git a/source/js/plugins.js b/source/js/plugins.js deleted file mode 100644 index 7cb21b1..0000000 --- a/source/js/plugins.js +++ /dev/null @@ -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. - diff --git a/source/js/script.js b/source/js/script.js deleted file mode 100644 index 206efd4..0000000 --- a/source/js/script.js +++ /dev/null @@ -1,8 +0,0 @@ -/* Author: - -*/ - - - - - diff --git a/source/layout.slim b/source/layout.slim index 3640cc2..b1fffa8 100644 --- a/source/layout.slim +++ b/source/layout.slim @@ -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('