Skip to content

Commit

Permalink
fix: fixed a minor range issue on the demo website
Browse files Browse the repository at this point in the history
  • Loading branch information
cure53 committed May 31, 2023
1 parent 1245b40 commit b958a25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
if(typeof console === 'undefined') {console={}; console.log=function(){}}
window.onload = function(){
var xhr = new XMLHttpRequest();
xhr.open('GET', 'https://cdn.rawgit.com/cure53/DOMPurify/main/test/fixtures/expect.js');
xhr.open('GET', 'https://cdn.rawgit.com/cure53/DOMPurify/main/test/fixtures/expect.mjs');
xhr.onload = function(){
var data=JSON.parse(xhr.responseText.slice(17, -2));
var data=JSON.parse(xhr.responseText.slice(15, -2));
x.value = '<!-- I am ready now, click one of the buttons! -->\r\n';
for(var i in data) {
x.value+=data[i].payload+"\r\n\r\n";
Expand Down

0 comments on commit b958a25

Please sign in to comment.