From 5749039f8d236306cc019bb0ec6c5c707f7f3121 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 18 Sep 2013 09:06:53 +0300 Subject: Remove unused variables. --- js/modal.js | 1 - 1 file changed, 1 deletion(-) (limited to 'js') diff --git a/js/modal.js b/js/modal.js index 15b81c362..c284b4dc6 100644 --- a/js/modal.js +++ b/js/modal.js @@ -149,7 +149,6 @@ } Modal.prototype.backdrop = function (callback) { - var that = this var animate = this.$element.hasClass('fade') ? 'fade' : '' if (this.isShown && this.options.backdrop) { -- cgit v1.2.3 From 7f6cf5e50c687bc369edbf8604bdffcc8b165fb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= Date: Sat, 14 Dec 2013 21:57:59 +0100 Subject: Add `try` and `catch` to keywords --- js/.jscs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/.jscs.json b/js/.jscs.json index 2f04d9cd6..e02344fd5 100644 --- a/js/.jscs.json +++ b/js/.jscs.json @@ -1,5 +1,5 @@ { - "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return"], + "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, "disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], "requireRightStickedOperators": ["!"], -- cgit v1.2.3