-
Notifications
You must be signed in to change notification settings - Fork 80
/
files.py
182 lines (179 loc) · 6.14 KB
/
files.py
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
import sys
command = sys.argv[1]
if command == 'syncmedia':
build_config = True
else:
build_config = False
if not build_config:
FILES = {
'BOWSER': 'js/bowser.js',
'UNDERSCORE': 'js/underscore.js',
'VALIDATE': 'js/jquery.validate.js',
'KNOCKOUT': 'js/knockout-latest.debug.js',
'KNOCKOUT_MAPPING': 'js/knockout.mapping.js',
'PACKAGES': 'js/packages.fiddle.js',
}
else:
FILES = {
'BOWSER': 'js/build/lib/bowser.min.js',
'UNDERSCORE': 'js/build/lib/underscore.min.js',
'VALIDATE': 'js/build/lib/jquery.validate.min.js',
'KNOCKOUT': 'js/build/lib/knockout.min.js',
'KNOCKOUT_MAPPING': 'js/build/lib/knockout.mapping.min.js',
'PACKAGES': 'js/build/packages.fiddle.js',
}
MEDIASYNC_JOINED = {
'css/boilerplate.css': [
'css/boilerplate.css'
],
'css/documentation.css': [
'css/documentation.css',
'css/syntax_highlighter_theme_default.css',
],
'css/wijmo-artisto.css': [
'css/jquery-ui.artisto.css',
'css/jquery.wijmo-open.css',
],
'css/home.css': [
'css/bootstrap.min.css',
'css/bootstrap-theme.min.css',
'css/home-theme.css',
'css/codemirror.css',
'css/codemirror/themes/default.css',
'css/codemirror/themes/neo.css',
'css/logo.fiddlesalad.css',
],
'css/snippets.css': [
'css/user.css'
],
'css/login.css': [
'css/login.css'
],
'css/404.css': [
'css/404.css'
],
'css/styles.fiddle.css': [
'css/jquery-ui.flick.css',
'css/jquery.wijmo-open.css',
'css/jquery.noty.css',
'css/noty_theme_default.css',
'css/boilerplate.css',
'css/codemirror.css',
'css/codemirror/themes/stylish.css',
'css/codemirror/util/dialog.css',
'css/codemirror/util/lint.css',
'css/show-hint.css',
'css/mergely.css',
'css/style.css',
'css/logo.fiddlesalad.css',
'css/fiddle.css',
'css/faq.css'
],
'js/navigation.js': [
'js/navigation.js'
],
'js/documentation.js': [
'js/build/lib/shCore.js',
'js/build/lib/shAutoloader.js',
'js/build/lib/shBrushPython.js',
'js/build/lib/shBrushXml.js',
'js/build/lib/shBrushCoffeeScript.js',
],
'js/jquery-ui.fiddle.js': [
'js/jquery-ui-1.8.18.custom.js',
'js/jquery.wijmo-open.all.2.0.0.min.js',
],
'js/knockout.js': [
FILES['VALIDATE'],
'js/additional-methods.js',
FILES['KNOCKOUT'],
'js/knockout-jquery-ui-widget.js',
FILES['KNOCKOUT_MAPPING'],
'js/bindings.js',
],
'js/fiddle.bootstrap.js': [
FILES['BOWSER'],
FILES['UNDERSCORE'],
'js/build/lib/sugar.min.js',
'js/classy.js',
'js/helpers.js',
'js/trie.js',
'js/autocomplete.js',
'js/store.js',
'js/base64.js',
'js/frameworks.js',
'js/compiled-coffee/codestorage.js',
'js/fiddle-configuration.js',
'js/keywords.js',
'js/compiled-coffee/keylistener.js',
'js/compiled-coffee/engine.require.js',
'js/compiled-coffee/user-interface.js',
'js/compiled-coffee/fiddle-engine.js',
],
'js/codemirror.fiddle.js': [
'js/codemirror.js',
'js/codemirror/show-hint.js',
'js/codemirror/javascript-hint.js',
'js/codemirror/python-hint.js',
'js/codemirror/html-hint.js',
'js/codemirror/dialog.js',
'js/codemirror/searchcursor.js',
'js/codemirror/search.js',
'js/codemirror/active-line.js',
'js/codemirror/formatting.js',
'js/codemirror/match-highlighter.js',
'js/keywords.js',
'js/codemirror/lint.js',
'js/codemirror/closetag.js',
'js/codemirror/closebrackets.js',
'js/codemirror-loading.js',
'js/codemirror/mode/python/python.js',
'js/codemirror/mode/javascript/javascript.js',
'js/codemirror/mode/es6/javascript.js',
'js/codemirror/mode/xml/xml.js',
'js/codemirror/mode/coffeescript/coffeescript.js',
'js/codemirror/mode/css/css.js',
'js/build/lib/emmet.min.js',
'js/codemirror/mode/xml/xml.js',
'js/codemirror/mode/htmlmixed/htmlmixed.js',
'js/codemirror/mode/ruby/ruby.js',
'js/codemirror/mode/haml/haml.js',
'js/codemirror/multiplex.js',
'js/codemirror/mode/jade/jade.js',
'js/codemirror/mode/less/less.js',
'js/codemirror/mode/sass/sass.js',
'js/codemirror/mode/roy/roy.js',
'js/codemirror/mode/markdown/markdown.js',
'js/codemirror/mode/stylus/stylus.js',
'js/codemirror/runmode.js',
'js/codemirror/mode/jsx/jsx.js',
],
'js/fiddle.plugins.js': [
'js/jquery-ui.tag-complete.js',
'js/jquery.csrf.js',
'js/jquery.history.js',
'js/mergely.js',
],
'js/fiddle.init.js': [
'js/prefixfree.js',
'js/date.format.js',
'js/source-map.js',
'js/compiled-coffee/model.js',
'js/fiddle.js',
'js/layout.js',
FILES['PACKAGES'],
'js/htmlparser.js',
'js/jade.runtime.min.js',
'js/jquery.noty.js',
'js/beautify.js',
],
'js/menu.fiddle.js': [
'js/fiddle-configuration.js',
'js/keywords.js',
'js/queue.js',
'js/store.js',
'js/classy.js',
'js/compiled-coffee/codestorage.js',
'js/compiled-coffee/menu.js',
]
}