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

Commit

Permalink
Merge pull request #25 from Polymer/master
Browse files Browse the repository at this point in the history
8/1 master -> stable
  • Loading branch information
dfreedm committed Aug 1, 2013
2 parents ff7673b + fc5ac2e commit 2673966
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[
"src/Parser.js",
"src/HTMLImports.js",
"src/Parser.js",
"src/boot.js"
]
10 changes: 5 additions & 5 deletions html-imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
var thisFile = 'html-imports.js';
var scopeName = 'HTMLImports';
var modules = [
'src/Parser.js',
'src/HTMLImports.js',
'src/boot.js'
'src/HTMLImports.js',
'src/Parser.js',
'src/boot.js'
];

// export
Expand All @@ -30,7 +30,7 @@ var basePath = src.slice(0, src.indexOf(thisFile));
if (!window.Loader) {
var path = basePath + 'tools/loader/loader.js';
document.write('<script src="' + path + '"></script>');
}
}
document.write('<script>Loader.load("' + scopeName + '")</script>');

})();
4 changes: 2 additions & 2 deletions src/HTMLImports.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ var STYLE_LINK_TYPE = 'stylesheet';
// linked style sheets in an <element> are loaded, and the content gets path fixups
// inline style sheets get path fixups when their containing import modifies paths

var loader;

var importer = {
documents: {},
cache: {},
Expand Down Expand Up @@ -169,8 +171,6 @@ function makeDocument(resource, url) {
return doc;
}

var loader;

var Loader = function(inOnLoad, inOnComplete) {
this.onload = inOnLoad;
this.oncomplete = inOnComplete;
Expand Down
2 changes: 1 addition & 1 deletion tools
Submodule tools updated 199 files

0 comments on commit 2673966

Please sign in to comment.