Sha256: 86b21dcd3952424e7c1ab0ab82ba541b0cbc93c45fe1c1289e1da4cc0af3f8a8
Contents?: true
Size: 629 Bytes
Versions: 23
Compression:
Stored size: 629 Bytes
Contents
define(["model/base"],function(d){var e=d.extend({initialize:function(d){this.category=d?d.category:!1,this.dashboardId=d?d.dashboardId:null},url:function(){return this.category?this.dashboardId?"/dashboards/"+this.dashboardId+"/children.json":"/dashboards.json":this.get("id")?"/dashboards/"+this.get("id"):"/dashboards.json"},parse:function(d){return d.createdAt=d.createdAt?this.formatServerDateTime(d.createdAt):d.createdAt,d.modifiedAt=d.modifiedAt?this.formatServerDateTime(d.modifiedAt):d.modifiedAt,d},defaults:{id:null,userId:null,name:"Default",createdAt:null,modifiedAt:null,description:null,children:[]}});return e});
Version data entries
23 entries across 23 versions & 1 rubygems