From f24160c5f2c6c37b7f1b6b9eabdb9dc1ae998a12 Mon Sep 17 00:00:00 2001 From: jomo Date: Wed, 28 Jan 2015 23:44:17 +0100 Subject: [PATCH] fix code style no need to quote keys in an object line breaks are good --- modules/helpers.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/helpers.js b/modules/helpers.js index 1a0362c..f14c0ab 100644 --- a/modules/helpers.js +++ b/modules/helpers.js @@ -121,7 +121,11 @@ function array_has_hash(arr, property, value) { function store_images(uuid, details, type, callback) { var isUUID = uuid.length > 16; - var new_hash = { "uuid": uuid, "type": type, "callback": callback }; + var new_hash = { + uuid: uuid, + type: type, + callback: callback + }; if (!array_has_hash(currently_running, "uuid", uuid)) { currently_running.push(new_hash); networking.get_profile((isUUID ? uuid : null), function(err, profile) {