Better require

This commit is contained in:
Mark McDowall
2013-06-17 17:49:48 -07:00
parent 23859a1c55
commit 279f8b5d73
3 changed files with 8 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
"use strict";
define(['app'], function () {
NzbDrone.Shared.Footer.Model = Backbone.Model.extend({
return Backbone.Model.extend({
defaults: {
'version' : '0.0.0.0',
'buildDate' : Date.create()
@@ -15,6 +15,4 @@ define(['app'], function () {
}
}
});
return NzbDrone.Shared.Footer.Model;
});