Skip to content

Commit 180a8a6

Browse files
committed
Linter, fix global vars
1 parent 6d3e9ea commit 180a8a6

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

src/angular-sprintf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* globals angular, sprintf, vsprintf */
1+
/* global angular, sprintf, vsprintf */
22

33
(function () {
44
'use strict'

src/sprintf.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/* globals window, exports, define */
1+
/* global window, exports, define */
22

3-
(function(window) {
3+
(function() {
44
'use strict'
55

66
var re = {
@@ -213,4 +213,4 @@
213213
})
214214
}
215215
}
216-
})(this);
216+
})();

test/test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* global describe, it */
2+
13
'use strict';
24

35
var assert = require('assert'),

test/test_validation.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* global describe, it */
2+
13
'use strict';
24

35
var assert = require('assert'),

0 commit comments

Comments
 (0)