This file contains 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 (location.hash) { | |
var hashId = location.hash; | |
if ($('a[href="' + hashId + '"]').length > 0) { | |
$('a[href="' + hashId + '"]').click(); | |
} | |
} |
This file contains 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
// gruntfile.js | |
----------------------- | |
// make sure you're actually running a php server locally first! | |
// Output a critical css file in same folder with same name as php file, just add '.css' extensions | |
// This makes it super easy to find from php. | |
penthouse: { | |
extract : { | |
css : 'pathToMyFullCss.css', | |
url : 'localhost:8000/work/index.php', | |
outfile : 'work/index.php.css', |