Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 08cc6ed

Browse files
committed
chore(jshint): add missing scripturl directive
1 parent 4f38705 commit 08cc6ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/ng/sanitizeUriSpec.js

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ describe('sanitizeUri', function() {
3131
});
3232

3333
it('should sanitize javascript: urls with comments', function() {
34+
/* jshint scripturl:true */
3435
testUrl = "javascript:alert(1)//data:image/";
3536
expect(sanitizeImg(testUrl)).toBe('unsafe:javascript:alert(1)//data:image/');
3637
});

0 commit comments

Comments
 (0)