aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorSam Potts <sam@selz.com>2017-11-04 22:22:49 +1100
committerGitHub <noreply@github.com>2017-11-04 22:22:49 +1100
commite98d356ede135f5897e7cd0d9d763c8907137a66 (patch)
tree21a2826f3f944f3f0c0686a32a27e4736dfb2167 /gulpfile.js
parentd27a0b38558ac4bf81eeaef8af492fa3969c84ac (diff)
parentc9c20345c0e2d203b92f96c7e4012cf40c9a914b (diff)
downloadplyr-e98d356ede135f5897e7cd0d9d763c8907137a66.tar.lz
plyr-e98d356ede135f5897e7cd0d9d763c8907137a66.tar.xz
plyr-e98d356ede135f5897e7cd0d9d763c8907137a66.zip
Merge branch 'master' into master
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 923483e5..26b97238 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -77,20 +77,20 @@ function loadJSON(path) {
// Create a file from a string
// http://stackoverflow.com/questions/23230569/how-do-you-create-a-file-from-a-string-in-gulp
function createFile(filename, string) {
- var src = require('stream').Readable({
- objectMode: true
+ var src = require('stream').Readable({
+ objectMode: true
});
src._read = function () {
- this.push(new gutil.File({
- cwd: "",
- base: "",
- path: filename,
+ this.push(new gutil.File({
+ cwd: "",
+ base: "",
+ path: filename,
contents: new Buffer(string),
// stats also required for some functions
// https://nodejs.org/api/fs.html#fs_class_fs_stats
stat: {
size: string.length
- }
+ }
}));
this.push(null);
}