openlayers/ol3 — pull request #529 by ahocevar (2013-04-10 13:47:54+00:00)
Title: Don't use window and document

With this change, our JavaScript can also be executed by
non-brower engines.