Skip to content

Commit

Permalink
Merge pull request #77 from bezoerb/greenkeeper-lodash-4.0.0
Browse files Browse the repository at this point in the history
Update lodash to version 4.0.0 🚀
  • Loading branch information
bezoerb committed Jan 21, 2016
2 parents b9e9791 + 8f9998f commit 283f5b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,15 +401,15 @@ var AppGenerator = yeoman.Base.extend({
folder = 'webpack';
}

_.forEach(files, function (file) {
_.forEach(files, _.bind(function (file) {
//var content = readFileAsString(this.templatePath('scripts/requirejs/' + file));
//fs.writeFileSync(this.destinationPath('app/Resources/public/scripts/' + file), this.engine(content, this));
this.fs.copyTpl(
this.templatePath(path.join('scripts', folder, file)),
this.destinationPath('app/Resources/public/scripts/' + file),
this
);
}, this);
}, this));

this.fs.copyTpl(
this.templatePath('scripts/sw/runtime-caching.js'),
Expand All @@ -435,7 +435,7 @@ var AppGenerator = yeoman.Base.extend({
styles.push('main.css');
}
fse.mkdirsSync(this.destinationPath('app/Resources/public/styles'));
_.forEach(styles, function (file) {
_.forEach(styles, _.bind(function (file) {
// copy default action template
//var content = readFileAsString(this.templatePath('styles/' + file));
//fs.writeFileSync(this.destinationPath('app/Resources/public/styles/' + file), this.engine(content, this));
Expand All @@ -444,7 +444,7 @@ var AppGenerator = yeoman.Base.extend({
this.destinationPath('app/Resources/public/styles/' + file),
this
);
}, this);
}, this));
}
},

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"html-wiring": "1.2.0",
"inquirer": "0.11.2",
"js-yaml": "3.5.2",
"lodash": "3.10.1",
"lodash": "4.0.0",
"string-length": "1.0.1",
"update-notifier": "0.6.0",
"yeoman-generator": "0.22.4",
Expand Down

0 comments on commit 283f5b1

Please sign in to comment.