Skip to content

Make knockout.clear module loader friendly#3

Open
alvingonzales wants to merge 3 commits into
danielearwicker:masterfrom
alvingonzales:amd-friendly
Open

Make knockout.clear module loader friendly#3
alvingonzales wants to merge 3 commits into
danielearwicker:masterfrom
alvingonzales:amd-friendly

Conversation

@alvingonzales
Copy link
Copy Markdown

Much like the knockout-validation contrib extension, knockout.clear should detect if a module loader is in place and use that instead of assuming ko is a global object.

I've mostly ripped the module-related code from knockout-validation (1st commit). The 2nd commit is to make the tests work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant