meltingice/CamanJS — pull request #58 by sandbochs (2012-12-02 04:43:04+00:00)
Title: Added CORS support to CamanInstance.canvasLoaded()

I think my previous pull was automatically closed when I reset my branch to HEAD. I guess the proper workflow is to branch again, merge new branch into old branch and push -f origin branch?

After implementing and refactoring a few times I think I have it down properly. Let me know if this is what you meant.

I didn't write tests, but I tried reverting a CamanInstance of three separate images:

same domain, no crossorigin attribute
remote domain with no crossorigin attribute defaulted to "anonymous"
remote domain with a crossorigin 'something' is recreated with 'crossorigin="something"'

Let me know what you think.