Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Slight improve Inline Runtime defer method #65

Open
jiangmiao opened this Issue · 0 comments

1 participant

@jiangmiao

the defer method

(defer_params) ->
   @count++
   (inner_params...) =>
       defer_params?.assign_fn?.apply(null, inner_params)
       @_fulfill()

could be changed to

(defer_params) ->
    @count++
    =>
        defer_params?.assign_fn?.apply(null, arguments)
        @_fulfill()

to avoid slice the arguments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.