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
// | |
// Demonstration of chaining deferred promises together | |
// | |
var Q = require('q'); | |
function firstFunction () { | |
var deferred = Q.defer(); |
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
/** | |
* An asynchronous loop implementation | |
* | |
* @param {array} inputArray | |
* @param {function} loopFunction: Function you want to call on each item. | |
* @example | |
* | |
var loopArray = []; | |
loopArray.push({ name: 'apple' }); |
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
/** | |
* @description: Creates the styling for the social navigation | |
* | |
* @author: kaelifa | |
* @version: 0.1 | |
* @date: 2013-02-02 | |
* | |
* | |
* @example: | |
* <nav class="navSocial"> |
NewerOlder