Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
crayon_mockup.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
code cleanup
[crayon_mockup.git]
/
main.coffee
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
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
@update_class()
move: (xy) -> # just move
@x = xy.x