Closed e-cloud closed 9 years ago
Hello. Thank you for your commit. I will review it and merge after test.
But I have few questions: as I can see I should switch doc
and win
in arguments (because of root
, root.document
order), is it correct? Also, you set angular
as dependency, what will happen if angular won't be loaded?
that is a question, i haven't think about if angular is not provided. i need time to figure out!
I just push another commit, it fixed the argument order bug, and remove the angular dependency. As a result, when someone wants to use it with AngularJS and RequireJS together, he need to add a shim anyway. But if no angular dependency, no shim is required!