jquery.textSelection: Fix typos in documentation
authorXP1 <dawpa2000@dawpa2000.e4ward.com>
Mon, 20 May 2013 12:53:19 +0000 (08:53 -0400)
committerTimo Tijhof <krinklemail@gmail.com>
Tue, 21 May 2013 14:53:32 +0000 (16:53 +0200)
Change-Id: I8260b7a43937e9fdddeb681333defaa337fcb397

resources/jquery/jquery.textSelection.js

index 17fd0cd..c44816b 100644 (file)
@@ -89,7 +89,7 @@
                         * Ported from skins/common/edit.js by Trevor Parscal
                         * (c) 2009 Wikimedia Foundation (GPLv2) - http://www.wikimedia.org
                         *
-                        * Inserts text at the begining and end of a text selection, optionally
+                        * Inserts text at the beginning and end of a text selection, optionally
                         * inserting text at the caret when selection is empty.
                         *
                         * @fixme document the options parameters
                         * Some code copied from
                         * http://www.dedestruct.com/2008/03/22/howto-cross-browser-cursor-position-in-textareas/
                         *
-                        * Get the position (in resolution of bytes not nessecarily characters)
+                        * Get the position (in resolution of bytes not necessarily characters)
                         * in a textarea
                         *
                         * Will focus the textarea in some browsers (IE/Opera)