Replacing gjslint with jshint; fixing jshint for windows

This commit is contained in:
Yury Delendik 2013-02-04 12:41:46 -06:00
parent 4b4c70f5d1
commit cb68adb80f
4 changed files with 22 additions and 37 deletions

View file

@ -1,5 +1,6 @@
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
/* globals FirefoxCom */
'use strict';
@ -42,7 +43,8 @@
return;
// get the related l10n object
var data = getL10nData(element.dataset.l10nId);
var key = element.dataset.l10nId;
var data = getL10nData(key);
if (!data)
return;