Permalink
Browse files

Fix linting

  • Loading branch information...
1 parent 38b8c59 commit 9930a3207a229c3fb416168dad1a839044afcc0a @kvz committed Nov 8, 2016
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/php/array/array_search.js
  2. +1 −1 src/php/strings/nl2br.js
@@ -35,7 +35,7 @@ module.exports = function array_search (needle, haystack, argStrict) { // eslint
for (key in haystack) {
if (haystack.hasOwnProperty(key)) {
- if ((strict && haystack[key] === needle) || (!strict && haystack[key] == needle)) {
+ if ((strict && haystack[key] === needle) || (!strict && haystack[key] == needle)) { // eslint-disable-line eqeqeq
return key
}
}
@@ -23,7 +23,7 @@ module.exports = function nl2br (str, isXhtml) {
if (typeof str === 'undefined' || str === null) {
return ''
}
-
+
// Adjust comment to avoid issue on locutus.io display
var breakTag = (isXhtml || typeof isXhtml === 'undefined') ? '<br ' + '/>' : '<br>'

0 comments on commit 9930a32

Please sign in to comment.