Fixed issue with "to" macros.
authorJohn Resig <jeresig@gmail.com>
Tue, 1 Aug 2006 07:35:37 +0000 (07:35 +0000)
committerJohn Resig <jeresig@gmail.com>
Tue, 1 Aug 2006 07:35:37 +0000 (07:35 +0000)
jquery/jquery.js

index 369ff88..50bbde3 100644 (file)
@@ -1471,7 +1471,7 @@ jQuery.macros = {
                 * @type jQuery
                 * @param String expr A jQuery expression of elements to match.
                 */
-               append: "appendTo",
+               appendTo: "append",
                
                /**
                 * Prepend all of the matched elements to another, specified, set of elements.
@@ -1487,7 +1487,7 @@ jQuery.macros = {
                 * @type jQuery
                 * @param String expr A jQuery expression of elements to match.
                 */
-               prepend: "prependTo",
+               prependTo: "prepend",
                
                /**
                 * Insert all of the matched elements before another, specified, set of elements.
@@ -1503,7 +1503,7 @@ jQuery.macros = {
                 * @type jQuery
                 * @param String expr A jQuery expression of elements to match.
                 */
-               before: "insertBefore",
+               insertBefore: "before",
                
                /**
                 * Insert all of the matched elements after another, specified, set of elements.
@@ -1519,7 +1519,7 @@ jQuery.macros = {
                 * @type jQuery
                 * @param String expr A jQuery expression of elements to match.
                 */
-               after: "insertAfter"
+               insertAfter: "after"
        },
        
        /**