Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong in defining module as returned value #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 31, 2015

  1. Wrong in return value define the module

    ```
    compress: _lzo1x.compress(state),
    decompress: _lzo1x.decompress(state),
    ```
    
     * state is not defined and unable to pass as argument
     * inside implementation of _lzo1x.compress()/decompress(), there are lot of reference to "this" which must be the _lzo1x itself. It is possible to redefine those this.* as local variable/functions, or you have to bind the function to _lzo1x.
    fengdh committed Jul 31, 2015
    Configuration menu
    Copy the full SHA
    9c53cc3 View commit details
    Browse the repository at this point in the history