-
Notifications
You must be signed in to change notification settings - Fork 3
/
orionAssembly.js
68 lines (61 loc) · 1.71 KB
/
orionAssembly.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
61
62
63
64
65
66
67
68
// Google BSD license http://code.google.com/google_bsd_license.html
// Copyright 2012 Google, Inc. [email protected]
/*globals define*/
define([
"MetaObject/MetaObject",
"orion/textview/eventTarget",
"orion/textview/keyBinding",
"orion/textview/annotations",
"orion/textview/textModel",
"orion/textview/projectionTextModel",
"orion/textview/textView",
"orion/textview/tooltip",
"orion/textview/rulers",
"orion/textview/undoStack",
"orion/editor/htmlGrammar",
"orion/editor/contentAssist",
"orion/editor/jsContentAssist",
"orion/editor/cssContentAssist",
"orion/editor/editor",
"orion/editor/editorFeatures"
], function(
MetaObject,
orion_textview_eventTarget,
orion_textview_keyBinding,
orion_textview_annotations,
orion_textview_textModel,
orion_textview_projectionTextModel,
orion_textview_textView,
orion_textview_tooltip,
orion_textview_rulers,
orion_textview_undoStack,
orion_editor_htmlGrammar,
orion_editor_contentAssist,
orion_editor_jsContentAssist,
orion_editor_cssContentAssist,
orion_editor_editor,
orion_editor_editorFeatures
) {
var orion = MetaObject.extend({
});
orion.textview = orion.mergeMethods(
orion_textview_eventTarget,
orion_textview_keyBinding,
orion_textview_annotations,
orion_textview_textModel,
orion_textview_projectionTextModel,
orion_textview_textView,
orion_textview_undoStack,
orion_textview_rulers
);
orion.editor = orion.mergeMethods(
orion_editor_editorFeatures,
orion_editor_htmlGrammar,
orion_editor_contentAssist,
orion_editor_jsContentAssist,
orion_editor_cssContentAssist,
orion_editor_editor,
orion_editor_editorFeatures
);
return orion;
});