-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathShortcuts.js
22 lines (21 loc) · 1.27 KB
/
Shortcuts.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
artjs.$get = artjs.Delegate.callback(artjs.Ajax, 'get');
artjs.$post = artjs.Delegate.callback(artjs.Ajax, 'post');
artjs.$put = artjs.Delegate.callback(artjs.Ajax, 'put');
artjs.$del = artjs.Delegate.callback(artjs.Ajax, 'del');
artjs.$A = artjs.Delegate.callback(artjs.Array, 'arrify');
artjs.$BA = artjs.Delegate.callback(artjs.Delegate, 'bindAll');
artjs.$D = artjs.Delegate.callback(artjs.Delegate, 'create');
artjs.$DC = artjs.Delegate.callback(artjs.Delegate, 'callback');
artjs.$F = artjs.Delegate.callback(artjs.Delegate, 'func');
artjs.$I = artjs.Delegate.callback(artjs.Element, 'insert');
artjs.$B = artjs.Delegate.callback(artjs.ElementBuilder, 'build');
artjs.$C = artjs.Delegate.callback(artjs.ElementBuilder, 'create');
artjs.$E = artjs.Delegate.callback(artjs.ElementBuilder, 'getElement');
artjs.$P = artjs.Delegate.callback(artjs.ElementBuilder, 'parse');
artjs.$ = artjs.Delegate.callback(artjs.Selector, 'getElements');
artjs.$find = artjs.Delegate.callback(artjs.Selector, 'find');
artjs.$findAll = artjs.Delegate.callback(artjs.Selector, 'findAll');
artjs.$parent = artjs.Delegate.callback(artjs.Selector, 'parent');
artjs.$T = artjs.Delegate.callback(artjs.Timeout, 'fire');
artjs.Array.contains = artjs.Array.includes;
artjs.Array.containsAll = artjs.Array.includesAll;