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

View File

@@ -1,4 +1,9 @@
/// <reference path="../app.js" />
NzbDrone.AddSeries.SearchResultModel = Backbone.Model.extend({
mutators: {
seriesYear: function () {
var date = Date.utc.create(this.get('firstAired'));
return date.format('{yyyy}');
}
}
});