Skip to content

Commit 445435e

Browse files
committed
fix(jscs):
1 parent 1327d0b commit 445435e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

templates/app/.jscsrc

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"requireLineFeedAtFileEnd": true,
3232
"requireSpaceAfterBinaryOperators": ["?", ":", "+", "-", "/", "*", "%", "==", "===", "!=", "!==", ">", ">=", "<", "<=", "&&", "||"],
3333
"requireSpaceBeforeBinaryOperators": ["?", ":", "+", "-", "/", "*", "%", "==", "===", "!=", "!==", ">", ">=", "<", "<=", "&&", "||"],
34-
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
3534
"requireSpaceBeforeBlockStatements": true,
3635
"requireSpacesInConditionalExpression": {
3736
"afterTest": true,

templates/app/client/components/util/util.service.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function UtilService($window) {
4949
origins = origins.filter(function(o) {
5050
let hostnameCheck = url.hostname === o.hostname;
5151
let protocolCheck = url.protocol === o.protocol;
52-
// 2nd part of the special treatment for IE fix (see above):
52+
// 2nd part of the special treatment for IE fix (see above):
5353
// This part is when using well-known ports 80 or 443 with IE,
5454
// when $window.location.port==='' instead of the real port number.
5555
// Probably the same cause as this IE bug: https://goo.gl/J9hRta

0 commit comments

Comments
 (0)