Skip to content

Commit

Permalink
fix typo and jshint error
Browse files Browse the repository at this point in the history
  • Loading branch information
clmath committed Oct 21, 2014
1 parent 8c78fc4 commit 49b4f52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ module.exports = function (grunt) {
jshint: {
all: filesList,
options: {
jshintrc: ".jshintrc",
},
jshintrc: ".jshintrc"
}
},

lineending: {
Expand Down
2 changes: 2 additions & 0 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ var AmdBuildGenerator = yeoman.generators.Base.extend({
try {
var config = this.dest.read(path).match(confRe)[1];
this.log("Found configuration:");
/*jshint evil:true */
this.log(JSON.stringify(eval("new Object(" + config + ")"), null, 2));
/*jshint evil:false */
this.prompt(confirmConfigPrompt, function (props) {
if (props.confirmConfig) {
this.answers.loaderConfig = config;
Expand Down

0 comments on commit 49b4f52

Please sign in to comment.