From 360222a6d6db65f2fbc35409b42195f91b187fc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Bo=CC=88hm?= Date: Sun, 26 May 2013 21:09:28 +0200 Subject: [PATCH] fix(decorator): use [] instead of new Array() to initialize prompts (jsHint) --- decorator/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decorator/index.js b/decorator/index.js index bab6d7933..5c4b33352 100644 --- a/decorator/index.js +++ b/decorator/index.js @@ -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:'