Bug 1181825 - Enable eslint rules for Loop: no-extra-boolean cast, no-redeclare, r=dmose

This commit is contained in:
Fernando Rodriguez Sela
2015-07-22 21:47:04 -07:00
parent 44264526b1
commit 61a86c43bc
7 changed files with 10 additions and 12 deletions

View File

@@ -700,7 +700,7 @@ loop.contacts = (function(_, mozL10n) {
category: ["local"]
};
var tel = this.state.tel.trim();
if (!!tel) {
if (tel) {
contact.tel = [{
pref: true,
type: ["fxos"],