diff --git a/svelte.js b/svelte.js index b91ad08..206f851 100644 --- a/svelte.js +++ b/svelte.js @@ -102,7 +102,7 @@ var svelteProto = { * @memberOf Svelte * @returns Boolean * @example - * $('.visible').visible(); + * $('.toggle').toggle(); */ toggle: function() { return this.each(function(el) { @@ -679,4 +679,4 @@ if(!Element.prototype.closest) { } return null; }; -} \ No newline at end of file +}