UNPKG

@danielkalen/simplybind

Version:

Magically simple, framework-less one-way/two-way data binding for frontend/backend in ~5kb.

12 lines (10 loc) 275 B
import { warn } from '../../util/index' export default { bind () { process.env.NODE_ENV !== 'production' && warn( 'v-ref:' + this.arg + ' must be used on a child ' + 'component. Found on <' + this.el.tagName.toLowerCase() + '>.', this.vm ) } }