jquery/jquery — pull request #1944 by denis-sokolov (2014-12-17 16:29:35+00:00)
Title: Core: add location global for non-browsers, fix #1788

This is a simple fix that will also prevent future problems with this.
Of course, it would be nice to add a test, but I think it's a bit beyond the scope at the moment.