From 8c1448bf2eacf1950d84f88b0d1003ebb0335b19 Mon Sep 17 00:00:00 2001 From: orthographic-pedant Date: Wed, 30 Sep 2015 18:52:16 -0400 Subject: [PATCH] Fixed typographical error, changed arbitary to arbitrary in README. --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 7f8d935..6d2988b 100644 --- a/readme.md +++ b/readme.md @@ -183,7 +183,7 @@ There are also `listen-once!` and `capture-once!` variants of `listen!` and `cap ### Custom Events -In addition to native events dispatched by the browser, Domina allows you to create and dispatch arbitary events using the `dispatch!` function. +In addition to native events dispatched by the browser, Domina allows you to create and dispatch arbitrary events using the `dispatch!` function. The `dispatch!` function takes an event target as a DomContent (assumed to be a single node), an event type, and an event map. Keys and values in the event map are merged in to the event object, and can be used to pass arbitrary data to event handlers.