You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
904 B
71 lines
904 B
12 years ago
|
/*jslint laxbreak:true */
|
||
|
/*jslint laxcomma:true */
|
||
|
/*jslint loopfunc:true */
|
||
|
/*jslint strict:true */
|
||
|
/*jslint browser:true */
|
||
|
/*jslint devel:true */
|
||
|
define([
|
||
|
"underscore"
|
||
|
, "backbone"
|
||
|
, "toolbox"
|
||
|
, "models/dmap-type"
|
||
|
]
|
||
|
, function (_, Backbone, Toolbox, DMAPType) {
|
||
|
"use strict";
|
||
|
|
||
|
var that
|
||
|
|
||
|
, set = function (attributes) {
|
||
|
|
||
|
}
|
||
|
|
||
|
, DMAP = Toolbox.Base.extend({
|
||
|
id: null
|
||
|
, attributes: false
|
||
|
, collection: false
|
||
|
, parentid: null
|
||
|
, index: {}
|
||
|
, items: []
|
||
|
|
||
|
, constructor: function (buffer, parent, options) {
|
||
|
|
||
|
}
|
||
|
|
||
|
, set: function () {
|
||
|
|
||
|
}
|
||
|
|
||
|
, get: function () {
|
||
|
|
||
|
}
|
||
|
|
||
|
, getItem: function () {
|
||
|
|
||
|
}
|
||
|
|
||
|
, getItemByIndex: function () {
|
||
|
|
||
|
}
|
||
|
|
||
|
, parseBinary: function () {
|
||
|
|
||
|
}
|
||
|
|
||
|
, parseContentCode: function () {
|
||
|
|
||
|
}
|
||
|
|
||
|
, addItem: function (item) {
|
||
|
|
||
|
}
|
||
|
|
||
|
, remove: function (items) {
|
||
|
|
||
|
}
|
||
|
});
|
||
|
|
||
|
_.extend(DMAP.prototype, Backbone.Events, {});
|
||
|
|
||
|
return DMAP;
|
||
|
|
||
|
});
|