mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
34 lines
648 B
JavaScript
34 lines
648 B
JavaScript
// dependencies
|
|
define([], function() {
|
|
|
|
// model
|
|
var Model = Backbone.Model.extend({
|
|
defaults: {
|
|
extension : 'auto',
|
|
genome : '?',
|
|
url_paste : '',
|
|
status : 'init',
|
|
info : null,
|
|
file_mode : 'local',
|
|
file_size : 0,
|
|
file_type : null,
|
|
file_path : '',
|
|
percentage : 0,
|
|
space_to_tabs : false,
|
|
to_posix_lines : true
|
|
}
|
|
});
|
|
|
|
// collection
|
|
var Collection = Backbone.Collection.extend({
|
|
model: Model
|
|
});
|
|
|
|
// return
|
|
return {
|
|
Model: Model,
|
|
Collection : Collection
|
|
};
|
|
|
|
});
|