Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
crayon_mockup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
98a9098
)
code cleanup
author
Jason Woofenden
<jason@jasonwoof.com>
Fri, 8 Jan 2016 03:04:24 +0000
(22:04 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Fri, 8 Jan 2016 03:04:24 +0000
(22:04 -0500)
main.coffee
patch
|
blob
|
history
diff --git
a/main.coffee
b/main.coffee
index
3b896dd
..
a1c09c5
100644
(file)
--- a/
main.coffee
+++ b/
main.coffee
@@
-111,9
+111,9
@@
class Visible
if @hover
css_class += " hover"
@el.setAttribute 'class', css_class
- set_hover: (tf) ->
- if tf != @hover
- @hover = tf
+ set_hover: (bool) ->
+ if bool != @hover
+ @hover = bool
@update_class()
move: (xy) -> # just move
@x = xy.x