-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
/
main.js
56 lines (44 loc) · 1.5 KB
/
main.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
/**
Ember Views
@module ember
@submodule ember-views
@requires ember-runtime
@main ember-views
*/
// BEGIN IMPORTS
import Ember from "ember-runtime";
import jQuery from "ember-views/system/jquery";
import {setInnerHTML, isSimpleClick} from "ember-views/system/utils";
import RenderBuffer from "ember-views/system/render_buffer";
import "ember-views/system/ext"; // for the side effect of extending Ember.run.queues
import {cloneStates, states} from "ember-views/views/states";
import {CoreView, View, ViewCollection} from "ember-views/views/view";
import ContainerView from "ember-views/views/container_view";
import CollectionView from "ember-views/views/collection_view";
import Component from "ember-views/views/component";
import EventDispatcher from "ember-views/system/event_dispatcher";
import ViewTargetActionSupport from "ember-views/mixins/view_target_action_support";
// END IMPORTS
/**
Alias for jQuery
@method $
@for Ember
*/
// BEGIN EXPORTS
Ember.$ = jQuery;
Ember.ViewTargetActionSupport = ViewTargetActionSupport;
Ember.RenderBuffer = RenderBuffer;
var ViewUtils = Ember.ViewUtils = {};
ViewUtils.setInnerHTML = setInnerHTML;
ViewUtils.isSimpleClick = isSimpleClick;
Ember.CoreView = CoreView;
Ember.View = View;
Ember.View.states = states;
Ember.View.cloneStates = cloneStates;
Ember._ViewCollection = ViewCollection;
Ember.ContainerView = ContainerView;
Ember.CollectionView = CollectionView;
Ember.Component = Component;
Ember.EventDispatcher = EventDispatcher;
// END EXPORTS
export default Ember;