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
var gulp = require('gulp'); | |
function doGitCheckout(callback) { | |
console.log('doing checkout...'); | |
setTimeout(function() { | |
console.log('done checkout...'); | |
callback(); | |
}, 1000); | |
} |
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
var modelCleanCyclic = require('./modelCleanCyclic'); | |
var Example = new keystone.List('Example', {}); | |
Example.schema.set('toJSON', { | |
virtuals: true, | |
transform: modelCleanCyclic.transformer | |
}); |
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
<?php | |
/** | |
* TypeKit's default embed code. | |
* Source: http://help.typekit.com/customer/portal/articles/649336-embed-code | |
* Avg. Load Time: 191ms; 198ms; 265ms | |
*/ | |
?> | |
<script type="text/javascript" src="//use.typekit.net/xxxxxxx.js"></script> | |
<script type="text/javascript">try{Typekit.load();}catch(e){}</script> |
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
<?php | |
wp_nav_menu( array( | |
'menu' => 'Menu Name', | |
'sub_menu' => true, | |
'direct_parent' => true | |
) ); |