From 6299531f4c8f7daa1b4afab45d0439f635b03982 Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Tue, 7 Oct 2014 15:01:42 +0200 Subject: Fixed jshint errors --- web-ui/app/js/page/pane_contract_expand.js | 2 +- web-ui/app/js/page/router.js | 2 +- web-ui/app/js/page/router/url_params.js | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'web-ui/app/js/page') diff --git a/web-ui/app/js/page/pane_contract_expand.js b/web-ui/app/js/page/pane_contract_expand.js index fdea3db6..153e38e5 100644 --- a/web-ui/app/js/page/pane_contract_expand.js +++ b/web-ui/app/js/page/pane_contract_expand.js @@ -43,7 +43,7 @@ define(['flight/lib/component', 'page/events'], function (describeComponent, eve this.on(document, events.dispatchers.rightPane.openComposeBox, this.contractMiddlePaneExpandRightPane); this.on(document, events.dispatchers.rightPane.openDraft, this.contractMiddlePaneExpandRightPane); this.on(document, events.dispatchers.rightPane.openNoMessageSelected, this.expandMiddlePaneContractRightPane); - this.expandMiddlePaneContractRightPane() + this.expandMiddlePaneContractRightPane(); }); } diff --git a/web-ui/app/js/page/router.js b/web-ui/app/js/page/router.js index 28f654bc..9b2516b0 100644 --- a/web-ui/app/js/page/router.js +++ b/web-ui/app/js/page/router.js @@ -23,7 +23,7 @@ define(['flight/lib/component', 'page/events', 'page/router/url_params'], functi }); function createHash(data) { - var hash = "/#/" + data.tag; + var hash = '/#/' + data.tag; if (!_.isUndefined(data.mailIdent)) { hash += '/mail/' + data.mailIdent; } diff --git a/web-ui/app/js/page/router/url_params.js b/web-ui/app/js/page/router/url_params.js index 4048b802..3e999ecc 100644 --- a/web-ui/app/js/page/router/url_params.js +++ b/web-ui/app/js/page/router/url_params.js @@ -15,6 +15,7 @@ * along with Pixelated. If not, see . */ define([], function () { + 'use strict'; function defaultTag() { return 'inbox'; -- cgit v1.2.3