forked from swagger-api/swagger-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
59 lines (52 loc) · 1.83 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
'use strict';
var angular = require('angular');
require('angular-json-schema-form');
require('json-editor');
require('ngstorage');
require('angular-ui-ace');
// Define window.SwaggerEditor to have angular-mocks dependency
window.SwaggerEditor = angular.module('SwaggerEditor', [
require('angular-mocks/ngMock'),
require('angular-sanitize'),
require('ng-file-upload'),
require('angular-ui-router'),
require('angular-ui-bootstrap'),
require('angular-ui-layout'),
require('angular-marked'),
require('jsonformatter'),
'ui.ace',
'mohsen1.schema-form',
'ngStorage'
]);
// Require app components
require('scripts/components.js');
// Test config
require('defaults.js');
// Load tests
require('spec/controllers/editor');
require('spec/controllers/errorpresenter');
require('spec/controllers/file-import');
require('spec/controllers/main');
require('spec/controllers/openexamples');
require('spec/controllers/preview');
require('spec/controllers/tryoperation/hasRequestBody');
require('spec/controllers/tryoperation/getRequestBody');
require('spec/controllers/tryoperation/isCrossOrigin');
require('spec/controllers/tryoperation/isType');
require('spec/controllers/tryoperation/isJson');
require('spec/controllers/tryoperation/makeRequestModel');
require('spec/controllers/tryoperation/generateUrl');
require('spec/controllers/tryoperation/getHeaders');
require('spec/controllers/tryoperation/makeCall');
require('spec/controllers/url-import');
require('spec/directives/collapsewhen');
require('spec/directives/schemamodel');
require('spec/services/ast-manager');
require('spec/services/autocomplete');
require('spec/services/backend');
require('spec/services/builder');
require('spec/services/editor');
require('spec/services/fileloader');
require('spec/services/fold-state-manager');
require('spec/services/json-schema');
require('spec/services/storage');