Skip to content

Commit

Permalink
更改coffee的一个写法。
Browse files Browse the repository at this point in the history
  • Loading branch information
binnng committed Oct 19, 2014
1 parent c99f8a6 commit 496ec94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion debug.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@

# `debug.toggle()`
# 隐藏和收起
toggle: (event) ->
toggle: (event) =>
(if @isHide then @show else @hide).call @, event

show: (event) ->
Expand Down
3 changes: 3 additions & 0 deletions debug.js

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

0 comments on commit 496ec94

Please sign in to comment.