Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    forward_these_functionspublic

    forward_these_functions

    A delegator for specific functions. This is so specific to my needs, you won't be able to use it.

    Usage

    In coffeescript:

    funcy_forward = require "forward_these_functions"
    
    class List_Position:
    
      funcy_forward @prototype, "target", "pop", "push"
    
      constructor: ( list ) ->
        @list = list
        
      target: () ->
        @list
        
    
    o = new List_Position []
    o.push "a"
    o.pop() # -> a
    

    Keywords

    none

    install

    npm i forward_these_functions

    Downloadslast 7 days

    1

    version

    0.0.1

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar