Skip to content

Commit

Permalink
chore(lint): linting JS
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Nov 3, 2016
1 parent 4010d0a commit 8b70bc0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 6 additions & 1 deletion css-layout.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// tiny CSS layout "debugger"
// from https://gist.github.com/addyosmani/fd3999ea7fce242756b1
// puts random color border around each element
[].forEach.call($$("*"),function(a){a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16)})
/* global $$ */
/* jshint -W016 */
[].forEach.call($$('*'),
function (a) {
a.style.outline = '1px solid #' + (~~(Math.random() * (1 << 24))).toString(16);
});
5 changes: 4 additions & 1 deletion harlem-shake-xss.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8b70bc0

Please sign in to comment.