-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
/
Copy pathindex.js
60 lines (46 loc) · 1.51 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/**
@module ember
@submodule ember-views
*/
// BEGIN IMPORTS
import Ember from 'ember-runtime';
import jQuery from 'ember-views/system/jquery';
import {
isSimpleClick,
getViewClientRects,
getViewBoundingClientRect
} from 'ember-views/system/utils';
import 'ember-views/system/ext'; // for the side effect of extending Ember.run.queues
import { Renderer } from 'ember-htmlbars/renderer';
import Component from 'ember-views/components/component';
import EventDispatcher from 'ember-views/system/event_dispatcher';
import ViewTargetActionSupport from 'ember-views/mixins/view_target_action_support';
import ComponentLookup from 'ember-views/component_lookup';
import Checkbox from 'ember-views/views/checkbox';
import TextSupport from 'ember-views/mixins/text_support';
import TextField from 'ember-views/views/text_field';
import TextArea from 'ember-views/views/text_area';
// END IMPORTS
/**
Alias for jQuery
@method $
@for Ember
@public
*/
// BEGIN EXPORTS
Ember.$ = jQuery;
Ember.ViewTargetActionSupport = ViewTargetActionSupport;
var ViewUtils = Ember.ViewUtils = {};
ViewUtils.isSimpleClick = isSimpleClick;
ViewUtils.getViewClientRects = getViewClientRects;
ViewUtils.getViewBoundingClientRect = getViewBoundingClientRect;
Ember._Renderer = Renderer;
Ember.Checkbox = Checkbox;
Ember.TextField = TextField;
Ember.TextArea = TextArea;
Ember.TextSupport = TextSupport;
Ember.ComponentLookup = ComponentLookup;
Ember.Component = Component;
Ember.EventDispatcher = EventDispatcher;
// END EXPORTS
export default Ember;