Skip to content

Commit

Permalink
One var per line
Browse files Browse the repository at this point in the history
One var per line ( to be consistent with the guidelines )
  • Loading branch information
AntouanK committed Jul 13, 2014
1 parent cc0c5c7 commit 9e80e69
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/recipes/make-stream-from-memory-contents.md
Expand Up @@ -82,19 +82,19 @@ gulp.task('load-versions', function(){
gulp.task('write-versions', function(){

// we store all the different version file names in an array
var availableVersions = Object.keys(memory.versions),
// we make an array to store all the stream promises
streams = [];
var availableVersions = Object.keys(memory.versions);
// we make an array to store all the stream promises
var streams = [];

availableVersions
.forEach(function(v){

// make a new stream with fake file name
var stream = source('final.' + v ),
// we load the data from the concatenated libs
fileContents = memory['libs.concat.js'] +
// we add the version's data
'\n' + memory.versions[v];
var stream = source('final.' + v );
// we load the data from the concatenated libs
var fileContents = memory['libs.concat.js'] +
// we add the version's data
'\n' + memory.versions[v];

streams.push(stream);

Expand Down

0 comments on commit 9e80e69

Please sign in to comment.