Created
April 8, 2014 14:31
-
-
Save cliftonc/10133532 to your computer and use it in GitHub Desktop.
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
/** | |
* Include selector | |
*/ | |
var request = require('request'); | |
/** | |
* Handler to take any data-url marked elements and replace the innerHTML with the destination content | |
*/ | |
module.exports = function dataurl(selectorConfig, options) { | |
return { | |
query: 'div.input', | |
func: function (node) { | |
var self = this, | |
nodeWS = node.createWriteStream({outer: true}); | |
nodeWS.end("BLAH BLAH BLAH"); | |
} | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment