Skip to content

Commit 8f055c0

Browse files
committed
Remove unused myValue parameter, close gh-290.
1 parent f5c13ca commit 8f055c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entries/on.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ $("p").on("click", {foo: "bar"}, myHandler)]]></code>
119119
<example>
120120
<desc>Attach and trigger custom (non-browser) events.</desc>
121121
<code><![CDATA[
122-
$("p").on("myCustomEvent", function(e, myName, myValue){
122+
$("p").on("myCustomEvent", function(e, myName){
123123
$(this).text(myName + ", hi there!");
124124
$("span").stop().css("opacity", 1)
125125
.text("myName = " + myName)

0 commit comments

Comments
 (0)