updated _ templating pattern to be {{ }} instead of <%%>

This commit is contained in:
Keivan Beigi
2013-01-25 11:04:37 -08:00
committed by kay.one
parent 9969f66201
commit 2229f8f2fa
9 changed files with 2022 additions and 24 deletions
@@ -1,14 +1,13 @@
/// <reference path="../../app.js" />
NzbDrone.AddSeries.RootDirModel = Backbone.Model.extend({
idAttribute: 'Id',
mutators: {
FreeSpaceString: function () {
return this.get('FreeSpace').bytes(2) + " Free";
freeSpaceString: function () {
return this.get('freeSpace').bytes(2) + " Free";
}
},
defaults: {
FreeSpace: 0,
freeSpace: 0,
}
});