This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- iOS Specific --> | |
| <meta name="apple-mobile-web-app-capable" content="yes" /> | |
| <meta name="apple-mobile-web-app-status-bar-style" content="default" /> | |
| <link rel="apple-touch-icon" href="images/bookmark-icon.png" /> | |
| <link rel="apple-touch-startup-image" href="images/splash-screen.png" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ------------------------------------------------------------------------------ | |
| # | Compression | | |
| # ------------------------------------------------------------------------------ | |
| <IfModule mod_deflate.c> | |
| # Force compression for mangled headers. | |
| # http://developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping | |
| <IfModule mod_setenvif.c> | |
| <IfModule mod_headers.c> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## EXPIRES CACHING ## | |
| <IfModule mod_expires.c> | |
| ExpiresActive On | |
| ExpiresByType image/jpg "access plus 1 year" | |
| ExpiresByType image/jpeg "access plus 1 year" | |
| ExpiresByType image/gif "access plus 1 year" | |
| ExpiresByType image/png "access plus 1 year" | |
| ExpiresByType text/css "access plus 1 month" | |
| ExpiresByType application/pdf "access plus 1 month" | |
| ExpiresByType text/x-javascript "access plus 1 month" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--[if lt IE 7]><script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE7.js"></script><![endif]--> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *zoom: expression( | |
| this.runtimeStyle.zoom="1", | |
| this.appendChild( document.createElement("small") ).className="before" | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ----------------------------------------- | |
| // IE 7 Fix for using :before or :after pseudo elements | |
| // ------------------------------------------- | |
| // example: @include pseudo-fix(before) | |
| // example: @include pseudo-fix(after) | |
| @mixin pseudo-fix($pseudo){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if ( ! window.console ) console = { log: function(){} }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if(!Array.indexOf){ | |
| Array.prototype.indexOf = function(obj){ | |
| for(var i=0; i<this.length; i++){ | |
| if(this[i]==obj){ | |
| return i; | |
| } | |
| } | |
| return -1; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| String.prototype.trim = function(){return this.replace(/^\s+|\s+$/g, "");}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var nav = document.querySelector('#nav'); |