bone_tree 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +5 -0
- data/Gemfile +17 -0
- data/Gemfile.lock +190 -0
- data/Guardfile +14 -0
- data/README +1 -0
- data/Rakefile +21 -0
- data/app/assets/images/bonetree.png +0 -0
- data/app/assets/images/crushed_bone.png +0 -0
- data/app/assets/index.html +439 -0
- data/app/assets/javascripts/bone_tree.js +1292 -0
- data/app/assets/stylesheets/bone_tree.css +186 -0
- data/app/assets/stylesheets/bone_tree_repo.css +73 -0
- data/bone_tree-0.0.1.gem +0 -0
- data/bone_tree.gemspec +20 -0
- data/config.rb +26 -0
- data/config.ru +4 -0
- data/docs/index.html +222 -0
- data/docs/resources/base.css +70 -0
- data/docs/resources/index.css +20 -0
- data/docs/resources/module.css +24 -0
- data/docs/source/javascripts/bone_tree/_namespace.js.html +45 -0
- data/docs/source/javascripts/bone_tree/models/_directory.js.html +126 -0
- data/docs/source/javascripts/bone_tree/models/_file.js.html +112 -0
- data/docs/source/javascripts/bone_tree/models/_nodes.js.html +174 -0
- data/docs/source/javascripts/bone_tree/models/_settings.js.html +75 -0
- data/docs/source/javascripts/bone_tree/views/_directory.js.html +94 -0
- data/docs/source/javascripts/bone_tree/views/_file.js.html +82 -0
- data/docs/source/javascripts/bone_tree/views/_menu.js.html +110 -0
- data/docs/source/javascripts/bone_tree/views/_tree.js.html +432 -0
- data/lib/version.rb +4 -0
- data/source/images/bonetree.png +0 -0
- data/source/images/crushed_bone.png +0 -0
- data/source/index.html.haml +438 -0
- data/source/javascripts/_backbone.js +1293 -0
- data/source/javascripts/_jquery.min.js +5 -0
- data/source/javascripts/_underscore.js +999 -0
- data/source/javascripts/bone_tree/_namespace.js.coffee +7 -0
- data/source/javascripts/bone_tree/models/_directory.js.coffee +63 -0
- data/source/javascripts/bone_tree/models/_file.js.coffee +55 -0
- data/source/javascripts/bone_tree/models/_nodes.js.coffee +117 -0
- data/source/javascripts/bone_tree/models/_settings.js.coffee +25 -0
- data/source/javascripts/bone_tree/views/_directory.js.coffee +73 -0
- data/source/javascripts/bone_tree/views/_file.js.coffee +49 -0
- data/source/javascripts/bone_tree/views/_menu.js.coffee +97 -0
- data/source/javascripts/bone_tree/views/_tree.js.coffee +498 -0
- data/source/javascripts/bone_tree.js.coffee +1 -0
- data/source/layout.haml +13 -0
- data/source/stylesheets/bone_tree.css.sass +107 -0
- data/source/stylesheets/bone_tree_repo.css.sass +65 -0
- data/spec/javascripts/directory_view_spec.coffee +91 -0
- data/spec/javascripts/file_view_spec.coffee +70 -0
- data/spec/javascripts/helpers/spec_helper.coffee +7 -0
- data/spec/javascripts/menu_view_spec.coffee +42 -0
- data/spec/javascripts/nodes_spec.coffee +37 -0
- data/spec/javascripts/support/jasmine.yml +8 -0
- data/spec/javascripts/support/jasmine_config.rb +23 -0
- data/spec/javascripts/support/jasmine_runner.rb +32 -0
- data/spec/javascripts/tree_view_spec.coffee +39 -0
- metadata +123 -0
@@ -0,0 +1,439 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset='utf-8' />
|
5
|
+
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible' />
|
6
|
+
<link href='http://fonts.googleapis.com/css?family=EB+Garamond' rel='stylesheet' type='text/css'>
|
7
|
+
<link type="text/css" media="screen" rel="stylesheet" href="/stylesheets/bone_tree_repo.css" />
|
8
|
+
<link type="text/css" media="screen" rel="stylesheet" href="/stylesheets/bone_tree.css" />
|
9
|
+
<title>Bone Tree</title>
|
10
|
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
|
11
|
+
<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.1/underscore-min.js" type="text/javascript"></script>
|
12
|
+
<script src="http://cdnjs.cloudflare.com/ajax/libs/backbone.js/0.9.0/backbone-min.js" type="text/javascript"></script>
|
13
|
+
<script src="/javascripts/bone_tree.js" type="text/javascript"></script>
|
14
|
+
</head>
|
15
|
+
<body>
|
16
|
+
<div class='bone_tree left'></div>
|
17
|
+
<div class='right'>
|
18
|
+
<h1>Bone Tree</h1>
|
19
|
+
<span class='background'></span>
|
20
|
+
<a href="http://github.com/mdiebolt/bone_tree"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://a248.e.akamai.net/assets.github.com/img/7afbc8b248c68eb468279e8c17986ad46549fb71/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub"></a>
|
21
|
+
<p>A browser based filetree written with Backbone.js that supports live updating and reordering of filetree nodes, has a simple, intuitive API, and sports a clean, minimal DOM structure.</p>
|
22
|
+
<h3>Features</h3>
|
23
|
+
<ul class='features'>
|
24
|
+
<li>Live update of node names, extension names, file type icons</li>
|
25
|
+
<li>Live sorting of nodes when filetree state changes</li>
|
26
|
+
<li>Context menu with rename and delete functionality</li>
|
27
|
+
<li>Auto create directories that don't exist when files are added to the tree</li>
|
28
|
+
<li>Events triggered when a file is opened, renamed, or deleted</li>
|
29
|
+
</ul>
|
30
|
+
<h3>Events API</h3>
|
31
|
+
<div class="CodeRay">
|
32
|
+
<div class="code"><pre> <span style="color:#777"># get a new filetree</span>
 tree = new <span style="color:#036;font-weight:bold">BoneTree</span>.Views.Tree

 <span style="color:#777"># add a new file to the directory</span>
 tree.file(<span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">'</span><span style="color:#D20">source/main.js</span><span style="color:#710">'</span></span>, {file: <span style="color:#069">true</span>})

 <span style="color:#777"># this creates the directory source if it doesn't already exist and puts the file main.js inside of it</span>

 tree.bind <span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">'</span><span style="color:#D20">rename</span><span style="color:#710">'</span></span>, (model, newName) =>
 <span style="color:#777"># this callback is passed the model that changed and the new name of the node</span>
 console.log model

 tree.bind <span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">'</span><span style="color:#D20">remove</span><span style="color:#710">'</span></span>, (model, collection) =>
 <span style="color:#777"># this callback is passed the model that was removed and the collection it was removed from</span>
 console.log model

 tree.bind <span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">'</span><span style="color:#D20">openFile</span><span style="color:#710">'</span></span>, (file) =>
 <span style="color:#777"># this callback is passed the file that was just clicked on</span>
 console.log file
</pre></div>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
<script type='text/javascript'>
|
36
|
+
//<![CDATA[
|
37
|
+
(function() {
|
38
|
+
var treeData;
|
39
|
+
|
40
|
+
window.tree = new BoneTree.Views.Tree({
|
41
|
+
showExtensions: true,
|
42
|
+
confirmDeletes: true
|
43
|
+
});
|
44
|
+
|
45
|
+
tree.bind('openFile', function(file) {
|
46
|
+
return console.log(file);
|
47
|
+
});
|
48
|
+
|
49
|
+
tree.file('file.coffee', {
|
50
|
+
description: 'A CoffeeScript file'
|
51
|
+
});
|
52
|
+
|
53
|
+
$('.bone_tree').append(tree.render().$el);
|
54
|
+
|
55
|
+
treeData = JSON.parse('{\
|
56
|
+
"name": "Pixteroids",\
|
57
|
+
"files": [\
|
58
|
+
{\
|
59
|
+
"name": "data",\
|
60
|
+
"files": [\
|
61
|
+
{\
|
62
|
+
"name": "asteroid",\
|
63
|
+
"contents": "super long JSON string",\
|
64
|
+
"extension": "animation",\
|
65
|
+
"lang": null,\
|
66
|
+
"type": "animation",\
|
67
|
+
"size": 645,\
|
68
|
+
"mtime": 1310024315,\
|
69
|
+
"path": "data/asteroid.animation"\
|
70
|
+
}, {\
|
71
|
+
"name": "asteroid_large",\
|
72
|
+
"contents": "super long JSON string",\
|
73
|
+
"extension": "animation",\
|
74
|
+
"lang": null,\
|
75
|
+
"type": "animation",\
|
76
|
+
"size": 1510,\
|
77
|
+
"mtime": 1307259412,\
|
78
|
+
"path": "data/asteroid_large.animation"\
|
79
|
+
}, {\
|
80
|
+
"name": "asteroid_small",\
|
81
|
+
"contents": "super long JSON string",\
|
82
|
+
"extension": "animation",\
|
83
|
+
"lang": null,\
|
84
|
+
"type": "animation",\
|
85
|
+
"size": 794,\
|
86
|
+
"mtime": 1307259338,\
|
87
|
+
"path": "data/asteroid_small.animation"\
|
88
|
+
}, {\
|
89
|
+
"name": "bullet",\
|
90
|
+
"contents": "super long JSON string",\
|
91
|
+
"extension": "animation",\
|
92
|
+
"lang": null,\
|
93
|
+
"type": "animation",\
|
94
|
+
"size": 467,\
|
95
|
+
"mtime": 1307427332,\
|
96
|
+
"path": "data/bullet.animation"\
|
97
|
+
}, {\
|
98
|
+
"name": "ship",\
|
99
|
+
"contents": "super long JSON string",\
|
100
|
+
"extension": "animation",\
|
101
|
+
"lang": null,\
|
102
|
+
"type": "animation",\
|
103
|
+
"size": 2200,\
|
104
|
+
"mtime": 1307584720,\
|
105
|
+
"path": "data/ship.animation"\
|
106
|
+
}\
|
107
|
+
]\
|
108
|
+
}, {\
|
109
|
+
"name": "images",\
|
110
|
+
"files": [\
|
111
|
+
{\
|
112
|
+
"name": "background",\
|
113
|
+
"contents": null,\
|
114
|
+
"extension": "png",\
|
115
|
+
"lang": null,\
|
116
|
+
"type": "image",\
|
117
|
+
"size": 246772,\
|
118
|
+
"mtime": 1306478156,\
|
119
|
+
"path": "images/background.png"\
|
120
|
+
}, {\
|
121
|
+
"name": "black",\
|
122
|
+
"contents": null,\
|
123
|
+
"extension": "png",\
|
124
|
+
"lang": null,\
|
125
|
+
"type": "image",\
|
126
|
+
"size": 110,\
|
127
|
+
"mtime": 1316842913,\
|
128
|
+
"path": "images/black.png"\
|
129
|
+
}, {\
|
130
|
+
"name": "jh",\
|
131
|
+
"contents": null,\
|
132
|
+
"extension": "png",\
|
133
|
+
"lang": null,\
|
134
|
+
"type": "image",\
|
135
|
+
"size": 200,\
|
136
|
+
"mtime": 1313777010,\
|
137
|
+
"path": "images/jh.png"\
|
138
|
+
}\
|
139
|
+
]\
|
140
|
+
}, {\
|
141
|
+
"name": "lib",\
|
142
|
+
"files": [\
|
143
|
+
{\
|
144
|
+
"name": "gamelib",\
|
145
|
+
"contents": "super long JSON string",\
|
146
|
+
"extension": "js",\
|
147
|
+
"lang": "javascript",\
|
148
|
+
"type": "text",\
|
149
|
+
"size": 715930,\
|
150
|
+
"mtime": 1307870400,\
|
151
|
+
"path": "lib/gamelib.js"\
|
152
|
+
}, {\
|
153
|
+
"name": "playtomic",\
|
154
|
+
"contents": "super long JSON string",\
|
155
|
+
"extension": "js",\
|
156
|
+
"lang": "javascript",\
|
157
|
+
"type": "text",\
|
158
|
+
"size": 75333,\
|
159
|
+
"mtime": 1318021411,\
|
160
|
+
"path": "lib/playtomic.js"\
|
161
|
+
}, {\
|
162
|
+
"name": "playtomic.v1.8.min",\
|
163
|
+
"contents": "super long JSON string",\
|
164
|
+
"extension": "js",\
|
165
|
+
"lang": "javascript",\
|
166
|
+
"type": "text",\
|
167
|
+
"size": 27346,\
|
168
|
+
"mtime": 1318021409,\
|
169
|
+
"path": "lib/playtomic.v1.8.min.js"\
|
170
|
+
}\
|
171
|
+
]\
|
172
|
+
}, {\
|
173
|
+
"name": "sounds",\
|
174
|
+
"files": [\
|
175
|
+
{\
|
176
|
+
"name": "explode",\
|
177
|
+
"contents": "super long JSON string",\
|
178
|
+
"extension": "sfs",\
|
179
|
+
"lang": null,\
|
180
|
+
"type": "sound",\
|
181
|
+
"size": 105,\
|
182
|
+
"mtime": 1310024363,\
|
183
|
+
"path": "sounds/explode.sfs"\
|
184
|
+
}, {\
|
185
|
+
"name": "explode",\
|
186
|
+
"contents": null,\
|
187
|
+
"extension": "wav",\
|
188
|
+
"lang": null,\
|
189
|
+
"type": "binary",\
|
190
|
+
"size": 158270,\
|
191
|
+
"mtime": 1310024364,\
|
192
|
+
"path": "sounds/explode.wav"\
|
193
|
+
}, {\
|
194
|
+
"name": "kjkj",\
|
195
|
+
"contents": null,\
|
196
|
+
"extension": "wav",\
|
197
|
+
"lang": null,\
|
198
|
+
"type": "binary",\
|
199
|
+
"size": 189826,\
|
200
|
+
"mtime": 1313777037,\
|
201
|
+
"path": "sounds/kjkj.wav"\
|
202
|
+
}, {\
|
203
|
+
"name": "kjkj",\
|
204
|
+
"contents": "super long JSON string",\
|
205
|
+
"extension": "sfs",\
|
206
|
+
"lang": null,\
|
207
|
+
"type": "sound",\
|
208
|
+
"size": 105,\
|
209
|
+
"mtime": 1313777036,\
|
210
|
+
"path": "sounds/kjkj.sfs"\
|
211
|
+
}, {\
|
212
|
+
"name": "pew",\
|
213
|
+
"contents": null,\
|
214
|
+
"extension": "wav",\
|
215
|
+
"lang": null,\
|
216
|
+
"type": "binary",\
|
217
|
+
"size": 7682,\
|
218
|
+
"mtime": 1306994836,\
|
219
|
+
"path": "sounds/pew.wav"\
|
220
|
+
}, {\
|
221
|
+
"name": "pew",\
|
222
|
+
"contents": "super long JSON string",\
|
223
|
+
"extension": "sfs",\
|
224
|
+
"lang": null,\
|
225
|
+
"type": "sound",\
|
226
|
+
"size": 105,\
|
227
|
+
"mtime": 1306994830,\
|
228
|
+
"path": "sounds/pew.sfs"\
|
229
|
+
}, {\
|
230
|
+
"name": "thrust",\
|
231
|
+
"contents": "super long JSON string",\
|
232
|
+
"extension": "sfs",\
|
233
|
+
"lang": null,\
|
234
|
+
"type": "sound",\
|
235
|
+
"size": 105,\
|
236
|
+
"mtime": 1306995050,\
|
237
|
+
"path": "sounds/thrust.sfs"\
|
238
|
+
}, {\
|
239
|
+
"name": "thrust",\
|
240
|
+
"contents": null,\
|
241
|
+
"extension": "wav",\
|
242
|
+
"lang": null,\
|
243
|
+
"type": "binary",\
|
244
|
+
"size": 26582,\
|
245
|
+
"mtime": 1306995056,\
|
246
|
+
"path": "sounds/thrust.wav"\
|
247
|
+
}\
|
248
|
+
]\
|
249
|
+
}, {\
|
250
|
+
"name": "src",\
|
251
|
+
"files": [\
|
252
|
+
{\
|
253
|
+
"name": "asteroid",\
|
254
|
+
"contents": "super long JSON string",\
|
255
|
+
"extension": "coffee",\
|
256
|
+
"lang": "coffeescript",\
|
257
|
+
"type": "text",\
|
258
|
+
"size": 2373,\
|
259
|
+
"mtime": 1307762048,\
|
260
|
+
"path": "src/asteroid.coffee"\
|
261
|
+
}, {\
|
262
|
+
"name": "base",\
|
263
|
+
"contents": "super long JSON string",\
|
264
|
+
"extension": "coffee",\
|
265
|
+
"lang": "coffeescript",\
|
266
|
+
"type": "text",\
|
267
|
+
"size": 302,\
|
268
|
+
"mtime": 1307711140,\
|
269
|
+
"path": "src/base.coffee"\
|
270
|
+
}, {\
|
271
|
+
"name": "bullet",\
|
272
|
+
"contents": "super long JSON string",\
|
273
|
+
"extension": "coffee",\
|
274
|
+
"lang": "coffeescript",\
|
275
|
+
"type": "text",\
|
276
|
+
"size": 106,\
|
277
|
+
"mtime": 1307712094,\
|
278
|
+
"path": "src/bullet.coffee"\
|
279
|
+
}, {\
|
280
|
+
"name": "main",\
|
281
|
+
"contents": "super long JSON string",\
|
282
|
+
"extension": "coffee",\
|
283
|
+
"lang": "coffeescript",\
|
284
|
+
"type": "text",\
|
285
|
+
"size": 543,\
|
286
|
+
"mtime": 1321258568,\
|
287
|
+
"path": "src/main.coffee"\
|
288
|
+
}, {\
|
289
|
+
"name": "ship",\
|
290
|
+
"contents": "super long JSON string",\
|
291
|
+
"extension": "coffee",\
|
292
|
+
"lang": "coffeescript",\
|
293
|
+
"type": "text",\
|
294
|
+
"size": 1602,\
|
295
|
+
"mtime": 1307783232,\
|
296
|
+
"path": "src/ship.coffee"\
|
297
|
+
}, {\
|
298
|
+
"name": "wrappable",\
|
299
|
+
"contents": "super long JSON string",\
|
300
|
+
"extension": "coffee",\
|
301
|
+
"lang": "coffeescript",\
|
302
|
+
"type": "text",\
|
303
|
+
"size": 110,\
|
304
|
+
"mtime": 1307601644,\
|
305
|
+
"path": "src/wrappable.coffee"\
|
306
|
+
}\
|
307
|
+
]\
|
308
|
+
}, {\
|
309
|
+
"name": "webstore",\
|
310
|
+
"files": [\
|
311
|
+
{\
|
312
|
+
"name": "images",\
|
313
|
+
"files": [\
|
314
|
+
{\
|
315
|
+
"name": "icon_128",\
|
316
|
+
"contents": null,\
|
317
|
+
"extension": "png",\
|
318
|
+
"lang": null,\
|
319
|
+
"type": "image",\
|
320
|
+
"size": 7960,\
|
321
|
+
"mtime": 1324715561,\
|
322
|
+
"path": "webstore/images/icon_128.png"\
|
323
|
+
}, {\
|
324
|
+
"name": "icon_16",\
|
325
|
+
"contents": null,\
|
326
|
+
"extension": "png",\
|
327
|
+
"lang": null,\
|
328
|
+
"type": "image",\
|
329
|
+
"size": 892,\
|
330
|
+
"mtime": 1324715561,\
|
331
|
+
"path": "webstore/images/icon_16.png"\
|
332
|
+
}, {\
|
333
|
+
"name": "icon_96",\
|
334
|
+
"contents": null,\
|
335
|
+
"extension": "png",\
|
336
|
+
"lang": null,\
|
337
|
+
"type": "image",\
|
338
|
+
"size": 7164,\
|
339
|
+
"mtime": 1324715561,\
|
340
|
+
"path": "webstore/images/icon_96.png"\
|
341
|
+
}\
|
342
|
+
]\
|
343
|
+
}, {\
|
344
|
+
"name": "jquery.min",\
|
345
|
+
"contents": "super long JSON string",\
|
346
|
+
"extension": "js",\
|
347
|
+
"lang": "javascript",\
|
348
|
+
"type": "text",\
|
349
|
+
"size": 91341,\
|
350
|
+
"mtime": 1324715561,\
|
351
|
+
"path": "webstore/jquery.min.js"\
|
352
|
+
}, {\
|
353
|
+
"name": "main",\
|
354
|
+
"contents": "super long JSON string",\
|
355
|
+
"extension": "html",\
|
356
|
+
"lang": "html",\
|
357
|
+
"type": "text",\
|
358
|
+
"size": 463,\
|
359
|
+
"mtime": 1324715561,\
|
360
|
+
"path": "webstore/main.html"\
|
361
|
+
}, {\
|
362
|
+
"name": "project",\
|
363
|
+
"contents": "super long JSON string",\
|
364
|
+
"extension": "css",\
|
365
|
+
"lang": "css",\
|
366
|
+
"type": "text",\
|
367
|
+
"size": 3356,\
|
368
|
+
"mtime": 1324715561,\
|
369
|
+
"path": "webstore/project.css"\
|
370
|
+
}\
|
371
|
+
]\
|
372
|
+
}, {\
|
373
|
+
"name": "Documentation",\
|
374
|
+
"extension": "documentation",\
|
375
|
+
"path": "docs"\
|
376
|
+
}, {\
|
377
|
+
"name": "Pixteroids",\
|
378
|
+
"contents": null,\
|
379
|
+
"extension": "js",\
|
380
|
+
"lang": "javascript",\
|
381
|
+
"type": "binary",\
|
382
|
+
"size": 725960,\
|
383
|
+
"mtime": 1313777080,\
|
384
|
+
"path": "Pixteroids.js"\
|
385
|
+
}, {\
|
386
|
+
"name": "README",\
|
387
|
+
"contents": "super long JSON string",\
|
388
|
+
"extension": "",\
|
389
|
+
"lang": null,\
|
390
|
+
"type": "text",\
|
391
|
+
"size": 83,\
|
392
|
+
"mtime": 1305349550,\
|
393
|
+
"path": "README"\
|
394
|
+
}, {\
|
395
|
+
"name": "Tutorial",\
|
396
|
+
"contents": "http://blog.pixieengine.com/2011/06/asteroids/",\
|
397
|
+
"extension": "tutorial",\
|
398
|
+
"lang": null,\
|
399
|
+
"type": "tutorial",\
|
400
|
+
"size": 46,\
|
401
|
+
"mtime": 1307864630,\
|
402
|
+
"path": "Tutorial.tutorial"\
|
403
|
+
}, {\
|
404
|
+
"name": "manifest",\
|
405
|
+
"contents": "super long JSON string",\
|
406
|
+
"extension": "json",\
|
407
|
+
"lang": "javascript",\
|
408
|
+
"type": "json",\
|
409
|
+
"size": 363,\
|
410
|
+
"mtime": 1324715561,\
|
411
|
+
"path": "manifest.json"\
|
412
|
+
}, {\
|
413
|
+
"name": "pixie",\
|
414
|
+
"contents": "super long JSON string",\
|
415
|
+
"extension": "json",\
|
416
|
+
"lang": "javascript",\
|
417
|
+
"type": "json",\
|
418
|
+
"size": 254,\
|
419
|
+
"mtime": 1307595452,\
|
420
|
+
"path": "pixie.json"\
|
421
|
+
}\
|
422
|
+
]\
|
423
|
+
}');
|
424
|
+
|
425
|
+
tree.addFromJSON(treeData, '', function(fileName, fileData) {
|
426
|
+
var allowFile;
|
427
|
+
allowFile = true;
|
428
|
+
if (fileData.type === 'binary') {
|
429
|
+
allowFile = false;
|
430
|
+
}
|
431
|
+
return allowFile;
|
432
|
+
});
|
433
|
+
|
434
|
+
}).call(this);
|
435
|
+
|
436
|
+
//]]>
|
437
|
+
</script>
|
438
|
+
</body>
|
439
|
+
</html>
|