From bfaeee2531fb749642ade6ea8120c12a214504c7 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Sat, 15 Nov 2014 14:48:23 -0500 Subject: [PATCH] linting --- public/src/modules/taskbar.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/public/src/modules/taskbar.js b/public/src/modules/taskbar.js index 4114f0d184..991c28a223 100644 --- a/public/src/modules/taskbar.js +++ b/public/src/modules/taskbar.js @@ -1,3 +1,6 @@ +"use strict"; +/*global define, app, templates*/ + define('taskbar', function() { var taskbar = { initialized: false, @@ -71,9 +74,11 @@ define('taskbar', function() { }) .addClass(options.state !== undefined ? options.state : 'active'); - if (!options.state || options.state === 'active') taskbar.minimizeAll(); - taskbar.tasklist.append(btnEl); + if (!options.state || options.state === 'active') { + taskbar.minimizeAll(); + } + taskbar.tasklist.append(btnEl); taskbar.update(); }, @@ -111,5 +116,5 @@ define('taskbar', function() { updateActive: taskbar.updateActive, isActive: taskbar.isActive, init: taskbar.init - } + }; });