UNPKG

ractive

Version:

Next-generation DOM manipulation

6 lines (4 loc) 164 B
import add from 'Ractive/prototype/shared/add'; export default function Ractive$add ( keypath, d ) { return add( this, keypath, ( d === undefined ? 1 : +d ) ); }