Skip to content

Commit

Permalink
fix lint, typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed Jan 5, 2024
1 parent 2346b3a commit 7af8bdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/wombat.js
Original file line number Diff line number Diff line change
Expand Up @@ -4210,7 +4210,7 @@ Wombat.prototype.initWSOverride = function() {
this.openCallbacks = [];

this.addEventListener = function(type, callback) {
if (type === "open") {
if (type === 'open') {
WebSocket.openCallbacks.push(callback);
}
};
Expand All @@ -4226,7 +4226,7 @@ Wombat.prototype.initWSOverride = function() {

var ws = this;
function simOpen() {
var ev = new CustomEvent("open");
var ev = new CustomEvent('open');
if (ws.onopen) {
ws.onopen(ev);
}
Expand Down Expand Up @@ -5222,7 +5222,7 @@ Wombat.prototype.initWorkerOverrides = function() {
scriptURL,
options
) {
var newScriptURL = new this.URL(scriptURL, wombat.$wbwindow.document.baseURI)
var newScriptURL = new wombat.URL(scriptURL, wombat.$wbwindow.document.baseURI)
.href;
var mod = wombat.getPageUnderModifier();
if (options && options.scope) {
Expand Down

0 comments on commit 7af8bdc

Please sign in to comment.