Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix removeData for case when cache is a frame's window #470
Re: Since this is a change to /src/data.js, the unit test should be in /test/unit/data.js
I could add a test to data.js but I think keeping the unload test in event.js is useful as well, as an integration test. Its rare in any application you'd see this case by using removeData directly.
Also, I'm confused. Should I resubmit the pull request with the formatting requests @rwaldron made? Or is this already being done.