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

Commit

Permalink
Merge branch 'master' into dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Jan 29, 2014
2 parents c77748d + 061c2f9 commit 31e8176
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/HTMLImports.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ var flags = scope.flags;
var useNative = !flags.imports && hasNative;

var IMPORT_LINK_TYPE = 'import';
// TODO(sorvell): SD polyfill intrusion
var mainDoc = window.ShadowDOMPolyfill ?
ShadowDOMPolyfill.wrapIfNeeded(document) : document;

if (!useNative) {
// imports
Expand All @@ -36,9 +39,6 @@ if (!useNative) {
// inline style sheets get path fixups when their containing import modifies paths

var STYLE_LINK_TYPE = 'stylesheet';
// TODO(sorvell): SD polyfill intrusion
var mainDoc = window.ShadowDOMPolyfill ?
window.ShadowDOMPolyfill.wrapIfNeeded(document) : document;

var importer = {
documents: {},
Expand Down

0 comments on commit 31e8176

Please sign in to comment.