Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F103608410
nextUntil.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Mar 3, 08:52
Size
324 B
Mime Type
text/x-java
Expires
Wed, Mar 5, 08:52 (2 d)
Engine
blob
Format
Raw Data
Handle
24602684
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
nextUntil.js
View Options
import
collectSiblings
from
'./collectSiblings'
;
/**
* Collects all next sibling elements of an element until a given selector is matched.
*
* @param node the referene node
* @param selector the selector to match
*/
export
default
function
nextUntil
(
node
,
selector
)
{
return
collectSiblings
(
node
,
node
,
selector
);
}
Event Timeline
Log In to Comment