UNPKG

458 BJavaScriptView Raw
1// use this module to cherry pick functions into your prototype
2// (useful for functions shared between the core and collections, for example)
3
4// e.g.
5// let foo = define.foo({ /* params... */ })
6
7import * as util from '../util';
8import animation from './animation';
9import data from './data';
10import events from './events';
11
12let define = {};
13
14[
15 animation,
16 data,
17 events
18].forEach(function( m ){
19 util.assign( define, m );
20});
21
22export default define;