Mercurial > nebulaweb3
comparison default/node_modules/shoestring/src/dom/insertAfter.js @ 0:1d038bc9b3d2 default tip
Up:default
author | Liny <dev@neowd.com> |
---|---|
date | Sat, 31 May 2025 09:21:51 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1d038bc9b3d2 |
---|---|
1 //>>excludeStart("exclude", pragmas.exclude); | |
2 define([ "shoestring", "dom/after" ], function(){ | |
3 //>>excludeEnd("exclude"); | |
4 | |
5 /** | |
6 * Insert the current set after the elements matching the selector. | |
7 * | |
8 * @param {string} selector The selector after which to insert the current set. | |
9 * @return shoestring | |
10 * @this shoestring | |
11 */ | |
12 shoestring.fn.insertAfter = function( selector ){ | |
13 return this.each(function(){ | |
14 shoestring( selector ).after( this ); | |
15 }); | |
16 }; | |
17 | |
18 //>>excludeStart("exclude", pragmas.exclude); | |
19 }); | |
20 //>>excludeEnd("exclude"); |