summaryrefslogtreecommitdiffstats
path: root/js/controller/ContentController.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/controller/ContentController.js')
-rw-r--r--js/controller/ContentController.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/js/controller/ContentController.js b/js/controller/ContentController.js
index 8e4632f7e..ae5116dbb 100644
--- a/js/controller/ContentController.js
+++ b/js/controller/ContentController.js
@@ -7,17 +7,18 @@
* @author Bernhard Posselt <dev@bernhard-posselt.com>
* @copyright Bernhard Posselt 2014
*/
-app.controller('ContentController', function (Publisher, FeedResource, ItemResource, data) {
+app.controller('ContentController',
+function (Publisher, FeedResource, ItemResource, data) {
'use strict';
// distribute data to models based on key
Publisher.publishAll(data);
- this.getItems = function () {
+ this.getItems = () => {
return ItemResource.getAll();
};
- this.getFeeds = function () {
+ this.getFeeds = () => {
return FeedResource.getAll();
};
}); \ No newline at end of file