Commit 1db3fa46 authored by Sebastian's avatar Sebastian

Update renderjs and test to avoid renderjs-in-site check

parent 098ce602
...@@ -9,10 +9,6 @@ ...@@ -9,10 +9,6 @@
Node, FileReader, Blob, navigator, Event, URL) { Node, FileReader, Blob, navigator, Event, URL) {
"use strict"; "use strict";
if (window.hasOwnProperty("renderJS")) {
return;
}
function readBlobAsDataURL(blob) { function readBlobAsDataURL(blob) {
var fr = new FileReader(); var fr = new FileReader();
return new RSVP.Promise(function (resolve, reject) { return new RSVP.Promise(function (resolve, reject) {
......
...@@ -9,5 +9,5 @@ function inject_script(src, resolve) { ...@@ -9,5 +9,5 @@ function inject_script(src, resolve) {
resolve(); resolve();
}; };
script.src = src; script.src = src;
document.body.appendChild(script); document.head.appendChild(script);
} }
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