webcomponents/hello-world-element — pull request #8 by Sanderand (2014-12-05 10:01:18+00:00)
Title: fix for issue#7. tested on chrome/safari/firefox

fixes issue#7: use _currentScript (from the polyfills) to get the ownerDocument. if polyfills do not exist, use currentScript instead.