cache busting for js file based on server version.

This commit is contained in:
Keivan Beigi 2013-06-20 17:06:56 -07:00
parent 5c3f0203e5
commit 0916c8b8d1
12 changed files with 205 additions and 126 deletions

16
UI/System/StatusModel.js Normal file
View file

@ -0,0 +1,16 @@
"use strict";
define(
[
'backbone',
'constants'
], function (Backbone) {
var model = Backbone.Model.extend({
url: Constants.ApiRoot + '/system/status'
});
var instance = new model();
instance.fetch();
return instance;
});