Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Commit

Permalink
fix(decorator): use [] instead of new Array() to initialize prompts (…
Browse files Browse the repository at this point in the history
…jsHint)
  • Loading branch information
robinboehm committed May 26, 2013
1 parent 13bce32 commit 360222a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decorator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Generator.prototype.askForNewName = function askForNewName() {
return;
}
else {
var prompts = new Array();
var prompts = [];
prompts.push({
name : 'decortatorName',
message: 'Alternative name for the decorator:'
Expand Down

0 comments on commit 360222a

Please sign in to comment.