Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
renderjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
renderjs
Commits
1db3fa46
Commit
1db3fa46
authored
Mar 28, 2017
by
Sebastian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update renderjs and test to avoid renderjs-in-site check
parent
098ce602
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
renderjs.js
renderjs.js
+0
-4
test/inject_script.js
test/inject_script.js
+1
-1
No files found.
renderjs.js
View file @
1db3fa46
...
...
@@ -9,10 +9,6 @@
Node
,
FileReader
,
Blob
,
navigator
,
Event
,
URL
)
{
"
use strict
"
;
if
(
window
.
hasOwnProperty
(
"
renderJS
"
))
{
return
;
}
function
readBlobAsDataURL
(
blob
)
{
var
fr
=
new
FileReader
();
return
new
RSVP
.
Promise
(
function
(
resolve
,
reject
)
{
...
...
test/inject_script.js
View file @
1db3fa46
...
...
@@ -9,5 +9,5 @@ function inject_script(src, resolve) {
resolve
();
};
script
.
src
=
src
;
document
.
body
.
appendChild
(
script
);
document
.
head
.
appendChild
(
script
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment