Skip to content

Why the require is async? Could you make it sync? #45

Open
@rudaoshi

Description

@rudaoshi

I failed to return a created class object in my angularjs service, because the class definition is created async. When I want to create an object, the definition was not existing yet.

I think it is a major limitation of jsclass. I'd rather manually include "hash.js" in my program.

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