Skip to content

Commit 8b70bc0

Browse files
committed
chore(lint): linting JS
1 parent 4010d0a commit 8b70bc0

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

css-layout.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
// tiny CSS layout "debugger"
22
// from https://gist.github.com/addyosmani/fd3999ea7fce242756b1
33
// puts random color border around each element
4-
[].forEach.call($$("*"),function(a){a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16)})
4+
/* global $$ */
5+
/* jshint -W016 */
6+
[].forEach.call($$('*'),
7+
function (a) {
8+
a.style.outline = '1px solid #' + (~~(Math.random() * (1 << 24))).toString(16);
9+
});

harlem-shake-xss.js

+4-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)