Commit 5c43f74a authored by Sebastian's avatar Sebastian

fixed jslint errors

parent 272bb541
...@@ -5473,8 +5473,7 @@ ...@@ -5473,8 +5473,7 @@
}) })
.then(function () { .then(function () {
// create parentGadget in iframe, then initialize RJS // create parentGadget in iframe, then initialize RJS
var parentDiv = iframe.contentDocument.createElement("div"), var parentDiv = iframe.contentDocument.createElement("div");
tEle;
parentDiv.setAttribute( parentDiv.setAttribute(
"data-gadget-url", "data-gadget-url",
"./inject_parentgadget.html" "./inject_parentgadget.html"
...@@ -5488,7 +5487,7 @@ ...@@ -5488,7 +5487,7 @@
resolve(); resolve();
}); });
// if no event is fired within 500ms, just resolve and fail later // if no event is fired within 500ms, just resolve and fail later
setTimeout(function () { window.setTimeout(function () {
resolve(); resolve();
}, 500); }, 500);
iframe.contentWindow.rJS.manualBootstrap(); iframe.contentWindow.rJS.manualBootstrap();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment