fast-live-reload -o\
foo.dot -e "dot -Tpng -o foo.png foo.dot"
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 CorePromise = require("core-promise").CorePromise; | |
var adapter = { | |
/** | |
* resolved - Create a resolved promise. | |
* @param {any} value | |
* @return {Promise} | |
*/ | |
resolved : function(value) { | |
return CorePromise.resolve(value); |
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 CorePromise = Promise; // just the native thing | |
var adapter = { | |
/** | |
* resolved - Create a resolved promise. | |
* @param {any} value | |
* @return {Promise} | |
*/ | |
resolved : function(value) { | |
return CorePromise.resolve(value); |
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 CorePromise = require("bluebird").Promise; | |
var adapter = { | |
/** | |
* resolved - Create a resolved promise. | |
* @param {any} value | |
* @return {Promise} | |
*/ | |
resolved : function(value) { | |
return CorePromise.resolve(value); |