Skip to content

Commit

Permalink
fixed bootstrap option
Browse files Browse the repository at this point in the history
  • Loading branch information
newaeonweb committed Mar 15, 2016
1 parent 43423fd commit c44d566
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,11 @@ var AngmGenerator = generators.Base.extend({
this.angularMaterial = _.contains(props.ui, 'angularMaterial');


this.config.set('angularBootstrap', this.angularBootstrap);
this.config.set('angularMaterial', this.angularMaterial);
if (this.angularBootstrap) {
this.config.set('angularBootstrap', this.angularBootstrap);
} else {
this.config.set('angularMaterial', this.angularMaterial);
}


done();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-angm",
"version": "1.0.2",
"version": "1.0.3",
"description": "AngularJS Yeoman Generator to help you getting started with a new project based on AngularJS and Angular Material to build large scale applications.",
"license": "MIT",
"main": "app/index.js",
Expand Down

0 comments on commit c44d566

Please sign in to comment.