require! and binding methods?

27 views
Skip to first unread message

Kay Plößer

unread,
Oct 20, 2014, 3:54:53 PM10/20/14
to lives...@googlegroups.com
I like the destructure feature of LiveScript very much, but many libraries use methods with this, so I can't simply write:

require! lib:{some-method}

and use it later on.

Is there a way to bind 'some-method" to "lib" without writing an extra line of code?
Reply all
Reply to author
Forward
0 new messages