Removing unneeded wraps and using $ and mw instead of jQuery or mediaWiki since r7924...
[lhc/web/wiklou.git] / resources / jquery / jquery.textSelection.js
index e21768e..1f2a1dd 100644 (file)
@@ -1,7 +1,6 @@
 /**
  * These plugins provide extra functionality for interaction with textareas.
  */
-( function( $ ) {
 $.fn.textSelection = function( command, options ) {
 var fn = {
 /**
@@ -399,6 +398,4 @@ scrollToCaretPosition: function( options ) {
                context.fn.saveSelection();
        }
        return retval;
-};
-
-} )( jQuery );
+};
\ No newline at end of file