Skip to content

Commit

Permalink
Resolved an issue where the first character in the value of the "src-…
Browse files Browse the repository at this point in the history
…data" property would be inadvertently removed when it refers to a file.
  • Loading branch information
mrhdias committed Apr 1, 2024
1 parent f985768 commit 5367db2
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Binary file modified dist/js/ext/websocket.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/js/secutio.js
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@
}
throw new Error(`Invalid "${properties['src-data']}" embedded source data`);
} else {
return await _this.getResource(properties['src-data'].substring(1));
return await _this.getResource(properties['src-data']);
}
}
return {};
Expand Down
2 changes: 1 addition & 1 deletion dist/js/secutio.min.js

Large diffs are not rendered by default.

Binary file modified dist/js/secutio.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion src/js/secutio.js
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@
}
throw new Error(`Invalid "${properties['src-data']}" embedded source data`);
} else {
return await _this.getResource(properties['src-data'].substring(1));
return await _this.getResource(properties['src-data']);
}
}
return {};
Expand Down

0 comments on commit 5367db2

Please sign in to comment.