var __hasProp={}.hasOwnProperty,__extends=function(e,t){function r(){this.constructor=e}for(var n in t)__hasProp.call(t,n)&&(e[n]=t[n]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};define(["underscore","serrano"],function(e,t){var n,r,i,s;return r=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return __extends(t,e),t.prototype.url=App.urls.datacontexts,t}(t.DataContexts),n=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return __extends(t,e),t.prototype.url=App.urls.datacontextHistory,t}(t.DataContexts),i=new r,i.on("reset",function(){var e;if(!i.hasSession())return e={session:!0},e.json=App.defaults.datacontext,i.create(e)}),s=new n,i.fetch(),s.fetch()})