Skip to content
This repository was archived by the owner on Dec 14, 2021. It is now read-only.

Commit caf79ec

Browse files
Find typo
1 parent 0863b36 commit caf79ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dom.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,14 @@
226226
return;
227227
function CustomEvent ( event, params ) {
228228
params = params || { bubbles: false, cancelable: false, detail: undefined };
229-
var evt = creteCustomEvent();
229+
var evt = createCustomEvent();
230230
evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );
231231
return evt;
232232
}
233-
function creteCustomEvent() {
233+
function createCustomEvent() {
234234
return document.createEvent( 'CustomEvent' );
235235
}
236-
CustomEvent.prototype = creteCustomEvent().constructor.prototype;
236+
CustomEvent.prototype = createCustomEvent().constructor.prototype;
237237
global.CustomEvent = CustomEvent;
238238
})();
239239

0 commit comments

Comments
 (0)