Skip to content

Commit c850968

Browse files
committed
Remove globals that are now unnecessary thanks to the use of various ESLint environments (e.g. Node, ShellJS, Jasmine)
1 parent 2f3805e commit c850968

34 files changed

+38
-59
lines changed

examples/mobile-viewer/viewer.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
* See the License for the specific language governing permissions and
1313
* limitations under the License.
1414
*/
15-
16-
/* globals PDFJS, Promise */
15+
/* globals PDFJS */
1716

1817
'use strict';
1918

extensions/chromium/options/options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
/* globals chrome, Promise */
16+
/* globals chrome */
1717

1818
'use strict';
1919
var storageAreaName = chrome.storage.sync ? 'sync' : 'local';

external/builder/builder.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* globals cp, ls, test */
2-
31
'use strict';
42

53
var fs = require('fs'),

external/builder/test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* globals cat, cd, echo, ls */
21
'use strict';
32

43
require('shelljs/make');

external/builder/test2.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* globals cat, cd, echo, ls */
21
'use strict';
32

43
require('shelljs/make');

external/crlfchecker/crlfchecker.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* globals cat, echo, exit, ls */
2-
31
'use strict';
42

53
function checkIfCrlfIsPresent(files) {

make.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
* limitations under the License.
1414
*/
1515
/* eslint-env node, shelljs */
16-
/* globals cat, cd, cp, echo, env, exec, exit, find, ls, mkdir, mv, process, rm,
17-
sed, target, test */
1816

1917
'use strict';
2018

src/core/worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* See the License for the specific language governing permissions and
1313
* limitations under the License.
1414
*/
15-
/* globals NetworkManager, module */
15+
/* globals module */
1616

1717
'use strict';
1818

src/display/canvas.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* See the License for the specific language governing permissions and
1313
* limitations under the License.
1414
*/
15-
/* globals ImageData */
1615

1716
'use strict';
1817

src/display/font_loader.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* See the License for the specific language governing permissions and
1313
* limitations under the License.
1414
*/
15-
/* globals FontFace */
1615

1716
'use strict';
1817

0 commit comments

Comments
 (0)