VSchema.js 489 B

12345678910111213141516
  1. define([ "require", "utils/Globals", "models/BaseModel", "utils/UrlLinks" ], function(require, Globals, VBaseModel, UrlLinks) {
  2. "use strict";
  3. var VSchema = VBaseModel.extend({
  4. urlRoot: UrlLinks.baseURL,
  5. defaults: {},
  6. serverSchema: {},
  7. idAttribute: "id",
  8. initialize: function() {
  9. this.modelName = "VSchema";
  10. },
  11. toString: function() {
  12. return this.get("id");
  13. }
  14. }, {});
  15. return VSchema;
  16. });