Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Trace Something Without Global Ref #2

@bendangelo

Description

@bendangelo

Right now you need the function passed in to be located on the window object. I'm using requirejs and its impossible to use because the objects are not located on the window.

It makes more sense to make the interface like so:

Trace.before(Array.prototype, "push", fn);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions