Compare commits

...

1 Commits

Author SHA1 Message Date
Joe Cheng
75e6fbd864 Fix bug "Failed to execute 'insertAdjacentHTML' on 'Element'"
Due to undefined value for where, which didn't used to be required.
2016-07-19 16:30:02 -07:00
5 changed files with 5 additions and 3 deletions

View File

@@ -3122,6 +3122,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
var singletons = {
knownSingletons: {},
renderHtml: function renderHtml(html, el, where) {
where = where || "replace";
var processed = this._processHtml(html);
this._addToHead(processed.head);
this.register(processed.singletons);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -136,6 +136,7 @@ function renderDependency(dep) {
var singletons = {
knownSingletons: {},
renderHtml: function(html, el, where) {
where = where || "replace";
var processed = this._processHtml(html);
this._addToHead(processed.head);
this.register(processed.singletons);