Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bind show,hide,remove to the builder

  • Loading branch information...
commit 8da56adb4be6ac6e32f99f9df5720b1f4c0f58e0 1 parent 47bf7a5
@dodo authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/xml.coffee
View
4 src/xml.coffee
@@ -280,6 +280,10 @@ class Tag extends EventEmitter
class Builder extends EventEmitter
constructor: (@opts = {}) ->
+ # methods
+ @show = @show.bind(this)
+ @hide = @hide.bind(this)
+ @remove = @remove.bind(this)
# values
@builder = this
@checkers = {} # all the middlewares that have to approve a new tag
Please sign in to comment.
Something went wrong with that request. Please try again.