Sha256: de6e863d34f663a283ae823ec4ce987ef202d9d1e186b9f25441ccf3b49042cc

Contents?: true

Size: 1.39 KB

Versions: 4

Compression:

Stored size: 1.39 KB

Contents

import { extend } from 'lodash';

import * as array from 'domtastic/src/array';
//import * as css              from 'domtastic/src/css';
import * as dom              from 'domtastic/src/dom/index';
import * as dom_attr         from 'domtastic/src/dom/attr';
import * as dom_class        from 'domtastic/src/dom/class';
import * as dom_contains     from 'domtastic/src/dom/contains';
//import * as dom_data         from 'domtastic/src/dom/data';
import * as dom_extra        from 'domtastic/src/dom/extra';
import * as dom_html         from 'domtastic/src/dom/html';
import * as event            from 'domtastic/src/event/index';
//import * as event_trigger    from 'domtastic/src/event/trigger';
//import * as event_ready      from 'domtastic/src/event/ready';
// import * as noconflict       from 'domtastic/src/noconflict';
import * as selector         from 'domtastic/src/selector/index';
import * as selector_closest from 'domtastic/src/selector/closest';
import * as selector_extra   from 'domtastic/src/selector/extra';

const api = {};
const $ = selector.$;
$.matches = selector.matches;

api.find = selector.find;

extend($, dom_contains);//, noconflict);
extend(
    api,
    array,
    // css,
    dom_attr,
    dom,
    dom_class,
    //  dom_data,
    dom_extra,
    dom_html,
    event,
    // event_trigger,
    // event_ready,
    selector_closest,
    selector_extra);

$.fn = api;

export default el => $(el);

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lanes-0.8.3 client/lanes/lib/dom.js
lanes-0.8.2 client/lanes/lib/dom.js
lanes-0.8.1 client/lanes/lib/dom.js
lanes-0.8.0 client/lanes/lib/dom.js