Skip to content

instance is undefined #2

Description

@fiddur

When using $.addObject I get "instance is undefined" from firebug at line 14.

Changing line 13 (the one above) from:
if (typeof arg == 'string'){
to
if (typeof arg == 'string' && typeof instance !== 'undefined') {

...makes it work well for me.

Actually, I don't see how it could work without that check?!

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