From 3989f023592ec61afa305c41ca226fac32b5439d Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 13 Dec 2013 11:55:10 +0200 Subject: [PATCH] Combine javascript files. Now the main page doesn't include any JS since it doesn't use them. This results in -4 http requests and a lot of bytes saved. --- _includes/footer.html | 12 +++--------- {javascripts => _includes/js}/ZeroClipboard.min.js | 0 {javascripts => _includes/js}/annotations.js | 4 +--- {javascripts => _includes/js}/app.coffee | 0 {javascripts => _includes/js}/app.js | 0 {javascripts => _includes/js}/jquery-1.10.2.min.js | 0 {javascripts => _includes/js}/jquery.qtip.min.js | 0 javascripts/javascript.js | 9 +++++++++ script/cibuild | 2 +- script/server | 2 +- 10 files changed, 15 insertions(+), 14 deletions(-) rename {javascripts => _includes/js}/ZeroClipboard.min.js (100%) rename {javascripts => _includes/js}/annotations.js (97%) rename {javascripts => _includes/js}/app.coffee (100%) rename {javascripts => _includes/js}/app.js (100%) rename {javascripts => _includes/js}/jquery-1.10.2.min.js (100%) rename {javascripts => _includes/js}/jquery.qtip.min.js (100%) create mode 100644 javascripts/javascript.js diff --git a/_includes/footer.html b/_includes/footer.html index fd56281..33a40d0 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -13,18 +13,12 @@ - + - - - - {% if page.layout == "license" %} - + {% if page.layout == "license" or page.class == "license-types" %} + {% endif %} - - -