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

8/1 master -> stable #25

Merged
merged 7 commits into from
Aug 1, 2013
Merged
Show file tree
Hide file tree
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 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