Skip to content

Commit

Permalink
Change $$.coffee and UI.coffee to more standard form.
Browse files Browse the repository at this point in the history
  • Loading branch information
ccd0 committed Jun 12, 2016
1 parent 3646280 commit 9c1bf5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/General/UI.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,11 @@ checkbox = (name, text, checked) ->
$.add label, [input, $.tn " #{text}"]
label

return {
UI = {
dialog: dialog
Menu: Menu
hover: hoverstart
checkbox: checkbox
}

return UI
4 changes: 3 additions & 1 deletion src/platform/$$.coffee
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
return (selector, root=d.body) ->
$$ = (selector, root=d.body) ->
[root.querySelectorAll(selector)...]

return $$

0 comments on commit 9c1bf5b

Please # to comment.