Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

fix for issue#7. tested on chrome/safari/firefox #8

Merged
merged 1 commit into from
Jan 8, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hello-world.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
var thatDoc = document;

// Refers to the "importee", which is src/hello-world.html
var thisDoc = (thatDoc.currentScript || thatDoc._currentScript).ownerDocument;
var thisDoc = (thatDoc._currentScript || thatDoc.currentScript).ownerDocument;

// Gets content from <template>
var template = thisDoc.querySelector('template').content;
Expand Down