summaryrefslogtreecommitdiffstats
path: root/js/controller
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-23 13:26:01 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-23 13:26:01 +0200
commit4fa9c6d6cfc24b848bc8bb1526ef8ef50f046cb3 (patch)
treee5f16813ed976e8cc640bfb800d84141568b9489 /js/controller
parentf27198da9dd3e6c04f2787f2bb4ef3bea3b00b55 (diff)
add missing controller methods bodies
Diffstat (limited to 'js/controller')
-rw-r--r--js/controller/ContentController.js18
-rw-r--r--js/controller/NavigationController.js37
-rw-r--r--js/controller/SettingsController.js12
3 files changed, 59 insertions, 8 deletions
diff --git a/js/controller/ContentController.js b/js/controller/ContentController.js
index 796fea71a..9edac534f 100644
--- a/js/controller/ContentController.js
+++ b/js/controller/ContentController.js
@@ -20,7 +20,21 @@ function (Publisher, FeedResource, ItemResource, data) {
return ItemResource.getAll();
};
- this.getFeeds = () => {
- return FeedResource.getAll();
+ // TBD
+ this.toggleStar = (itemId) => {
+ console.log(itemId);
};
+
+ this.markRead = (itemId) => {
+ console.log(itemId);
+ };
+
+ this.getFeed = (feedId) => {
+ console.log(feedId);
+ };
+
+ this.keepUnread = (itemId) => {
+ console.log(itemId);
+ };
+
}); \ No newline at end of file
diff --git a/js/controller/NavigationController.js b/js/controller/NavigationController.js
index 292f98110..299d433da 100644
--- a/js/controller/NavigationController.js
+++ b/js/controller/NavigationController.js
@@ -37,4 +37,41 @@ function (FeedResource, FolderResource, ItemResource) {
FeedResource.markRead();
};
+ // TBD
+ this.createFeed = () => {
+ console.log('TBD');
+ };
+
+ this.createFolder = () => {
+ console.log('TBD');
+ };
+
+ this.renameFeed = () => {
+ console.log('TBD');
+ };
+
+ this.renameFolder = () => {
+ console.log('TBD');
+ };
+
+ this.deleteFeed = () => {
+ console.log('TBD');
+ };
+
+ this.deleteFolder = () => {
+ console.log('TBD');
+ };
+
+ this.moveFeed = () => {
+ console.log('TBD');
+ };
+
+ this.isActive = () => {
+ console.log('TBD');
+ };
+
+ this.isVisible = () => {
+ console.log('TBD');
+ };
+
}); \ No newline at end of file
diff --git a/js/controller/SettingsController.js b/js/controller/SettingsController.js
index 37dbaa9b3..781790acc 100644
--- a/js/controller/SettingsController.js
+++ b/js/controller/SettingsController.js
@@ -34,19 +34,19 @@ function ($route, SettingsResource, FeedResource) {
};
- this.importOpml = (content) => {
- console.log(content);
+ this.feedSize = () => {
+ return FeedResource.size();
};
- this.importArticles = (content) => {
+ // TBD
+ this.importOpml = (content) => {
console.log(content);
};
- this.feedSize = () => {
- return FeedResource.size();
+ this.importArticles = (content) => {
+ console.log(content);
};
-
}); \ No newline at end of file