Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Remove template css url fix. This is now addressed within TemplateBin…
Browse files Browse the repository at this point in the history
…ding.

This fixes an exception that was due to the fact the 2 fixes were not compatible with each other.
  • Loading branch information
sorvell committed Feb 24, 2014
1 parent 6d344b5 commit a258a14
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,6 @@
})();
}

// TODO(sorvell): workaround for bug:
// https://code.google.com/p/chromium/issues/detail?id=229142
// remove when this bug is addressed
// give main document templates a base that allows them to fetch eagerly
// resolved paths relative to the main document
var template = document.createElement('template');
var base = document.createElement('base');
base.href = document.baseURI;
template.content.ownerDocument.appendChild(base);


// utility

function createDOM(inTagOrNode, inHTML, inAttrs) {
Expand Down

0 comments on commit a258a14

Please sign in to comment.