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

Browserify adapter #87

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

Browserify adapter #87

wants to merge 1 commit into from

Commits on Oct 30, 2013

  1. Add adapter to be used with browserify

    Use it as follows:
    
    ```javascript
    var Opentip = require('path/to/lib/opentip');
    // jQuery shim can be done as follows:
    // require('path/to/jquery');
    // module.exports = $;
    var jQuery = require('path/to/jquery/shim');
    
    require('path/to/lib/adapter-browserify')(Opentip, jQuery);
    ```
    
    Basicly this adapter could also be used for component.js etc.
    But as I don't know how the original developer would
    like to have it, I just created this as well.
    
    Tests are not working with it as I didn't figure
    out how the test for the component.js adapter works.
    mweibel committed Oct 30, 2013
    Configuration menu
    Copy the full SHA
    554ee36 View commit details
    Browse the repository at this point in the history