Skip to content

Commit

Permalink
update lodash to current version
Browse files Browse the repository at this point in the history
  • Loading branch information
ernscht committed Jan 20, 2016
1 parent 6cf2f07 commit 80be0bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions component/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ module.exports = generators.Base.extend({
user: user,
component: {
name: this.name, // Component name, eg. Main navigation
js: _.capitalize(_.camelCase(this.name.replace(/^[0-9]+/, ''))), // Component name for use in JS files, eg. MainNavigation
js: _.upperFirst(_.camelCase(this.name.replace(/^[0-9]+/, ''))), // Component name for use in JS files, eg. MainNavigation
css: _.kebabCase(this.name), // Component name for use in CSS files, eg. main-navigation
prefix: component.component_prefix || null, // CSS class prefix, eg. m
type: this.options.type, // Component type, eg. atom, molecule etc.
Expand All @@ -155,7 +155,7 @@ module.exports = generators.Base.extend({
},
decorator: {
name: this.options.decorator, // Decorator name, eg. Highlight
js: _.capitalize(_.camelCase(this.options.decorator.replace(/^[0-9]+/, ''))), // Decorator name for use in JS files, eg. Highlight
js: _.upperFirst(_.camelCase(this.options.decorator.replace(/^[0-9]+/, ''))), // Decorator name for use in JS files, eg. Highlight
file: this.options.decorator.replace(/[^A-Za-z0-9-]/g, '').toLowerCase() // Modifier filename, eg.highlight
}
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"chalk": "^1.1.1",
"git-config": "0.0.7",
"glob": "^6.0.4",
"lodash": "^3.10.1",
"lodash": "^4.0.0",
"request": "^2.67.0",
"yeoman-generator": "^0.22.4",
"yosay": "^1.1.0"
Expand Down

0 comments on commit 80be0bb

Please sign in to comment.