Permalink
Browse files

Upgrade TouchFeedViewer to 3.0

  • Loading branch information...
1 parent 811682f commit b15c4a04c3567eba0c99781c5dcab7d0a51dff82 @davestum davestum committed Oct 30, 2013
Showing with 360 additions and 373 deletions.
  1. BIN TouchFeedViewer.xda
  2. +5 −3 TouchFeedViewer/app.js
  3. +4 −4 TouchFeedViewer/app/controller/Feeds.js
  4. +8 −8 TouchFeedViewer/app/controller/Posts.js
  5. +7 −3 TouchFeedViewer/app/model/Feed.js
  6. +7 −3 TouchFeedViewer/app/model/Post.js
  7. +7 −3 TouchFeedViewer/app/model/Search.js
  8. +5 −3 TouchFeedViewer/app/store/Feed.js
  9. +4 −3 TouchFeedViewer/app/store/Feeds.js
  10. +5 −3 TouchFeedViewer/app/store/Posts.js
  11. +10 −8 TouchFeedViewer/app/store/Searches.js
  12. +3 −3 TouchFeedViewer/app/view/About.js
  13. +3 −4 TouchFeedViewer/app/view/TabPanel.js
  14. +3 −3 TouchFeedViewer/app/view/feeds/Add.js
  15. +7 −3 TouchFeedViewer/app/view/feeds/List.js
  16. +7 −3 TouchFeedViewer/app/view/posts/List.js
  17. +7 −3 TouchFeedViewer/app/view/posts/Story.js
  18. +26 −134 TouchFeedViewer/feed.xds
  19. +63 −0 TouchFeedViewer/index.html
  20. +6 −6 TouchFeedViewer/metadata/Application
  21. +21 −34 TouchFeedViewer/metadata/controller/Feeds
  22. +10 −18 TouchFeedViewer/metadata/controller/Posts
  23. +8 −14 TouchFeedViewer/metadata/model/Feed
  24. +6 −10 TouchFeedViewer/metadata/model/Post
  25. +5 −8 TouchFeedViewer/metadata/model/Search
  26. +23 −9 TouchFeedViewer/metadata/store/Feed
  27. +20 −4 TouchFeedViewer/metadata/store/Feeds
  28. +28 −9 TouchFeedViewer/metadata/store/Posts
  29. +20 −9 TouchFeedViewer/metadata/store/Searches
  30. +3 −3 TouchFeedViewer/metadata/view/About
  31. +10 −20 TouchFeedViewer/metadata/view/TabPanel
  32. +6 −19 TouchFeedViewer/metadata/view/feeds.Add
  33. +3 −4 TouchFeedViewer/metadata/view/feeds.List
  34. +4 −5 TouchFeedViewer/metadata/view/posts.List
  35. +6 −7 TouchFeedViewer/metadata/view/posts.Story
View
Binary file not shown.
View
@@ -1,22 +1,24 @@
/*
* File: app.js
*
- * This file was generated by Sencha Architect version 2.2.0.
+ * This file was generated by Sencha Architect version 3.0.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Sencha Touch 2.1.x library, under independent license.
- * License of Sencha Architect does not include license for Sencha Touch 2.1.x. For more
+ * This file requires use of the Sencha Touch 2.3.x library, under independent license.
+ * License of Sencha Architect does not include license for Sencha Touch 2.3.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
*
* Do NOT hand edit this file.
*/
+// @require @packageOverrides
Ext.Loader.setConfig({
});
+
Ext.application({
models: [
'Post',
@@ -1,11 +1,11 @@
/*
* File: app/controller/Feeds.js
*
- * This file was generated by Sencha Architect version 2.2.0.
+ * This file was generated by Sencha Architect version 3.0.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Sencha Touch 2.1.x library, under independent license.
- * License of Sencha Architect does not include license for Sencha Touch 2.1.x. For more
+ * This file requires use of the Sencha Touch 2.3.x library, under independent license.
+ * License of Sencha Architect does not include license for Sencha Touch 2.3.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -69,7 +69,7 @@ Ext.define('Feed.controller.Feeds', {
if (!(Ext.isEmpty(urlString))){
console.log('Adding feed with url: ' + urlString);
- Ext.getStore('Feed').loadFeed(urlString);
+ Ext.getStore('Feed').loadFeed(urlString);
postsNav.pop();
}
else if (!(Ext.isEmpty(searchString))){
@@ -1,11 +1,11 @@
/*
* File: app/controller/Posts.js
*
- * This file was generated by Sencha Architect version 2.2.0.
+ * This file was generated by Sencha Architect version 3.0.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Sencha Touch 2.1.x library, under independent license.
- * License of Sencha Architect does not include license for Sencha Touch 2.1.x. For more
+ * This file requires use of the Sencha Touch 2.3.x library, under independent license.
+ * License of Sencha Architect does not include license for Sencha Touch 2.3.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -44,7 +44,7 @@ Ext.define('Feed.controller.Posts', {
}
},
- onPostsListActivate: function(container, newActiveItem, oldActiveItem, eOpts) {
+ onPostsListActivate: function(newActiveItem, container, oldActiveItem, eOpts) {
this.getApplication().fireEvent('updateNav');
},
@@ -68,9 +68,9 @@ Ext.define('Feed.controller.Posts', {
init: function(application) {
- application.on([
- { event: 'updateNav', fn: this.onUpdateNav, scope: this }
- ]);
+ application.on([
+ { event: 'updateNav', fn: this.onUpdateNav, scope: this }
+ ]);
},
loadPostsOnFeedLoad: function() {
@@ -91,7 +91,7 @@ Ext.define('Feed.controller.Posts', {
if (feedsStore.find('url', feed.get('url')) < 0){
feedsStore.add(feed);
- }
+ }
} else {
Ext.Msg.alert('Error', 'Could not load feed. Check that the URL is a valid feed.');
}
@@ -1,11 +1,11 @@
/*
* File: app/model/Feed.js
*
- * This file was generated by Sencha Architect version 2.2.0.
+ * This file was generated by Sencha Architect version 3.0.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Sencha Touch 2.1.x library, under independent license.
- * License of Sencha Architect does not include license for Sencha Touch 2.1.x. For more
+ * This file requires use of the Sencha Touch 2.3.x library, under independent license.
+ * License of Sencha Architect does not include license for Sencha Touch 2.3.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -17,6 +17,10 @@ Ext.define('Feed.model.Feed', {
extend: 'Ext.data.Model',
alias: 'model.feed',
+ requires: [
+ 'Ext.data.Field',
+ 'Ext.data.association.HasMany'
+ ],
uses: [
'Feed.model.Post'
],
@@ -1,11 +1,11 @@
/*
* File: app/model/Post.js
*
- * This file was generated by Sencha Architect version 2.2.0.
+ * This file was generated by Sencha Architect version 3.0.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Sencha Touch 2.1.x library, under independent license.
- * License of Sencha Architect does not include license for Sencha Touch 2.1.x. For more
+ * This file requires use of the Sencha Touch 2.3.x library, under independent license.
+ * License of Sencha Architect does not include license for Sencha Touch 2.3.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -17,6 +17,10 @@ Ext.define('Feed.model.Post', {
extend: 'Ext.data.Model',
alias: 'model.post',
+ requires: [
+ 'Ext.data.Field'
+ ],
+
config: {
fields: [
{
@@ -1,11 +1,11 @@
/*
* File: app/model/Search.js
*
- * This file was generated by Sencha Architect version 2.2.0.
+ * This file was generated by Sencha Architect version 3.0.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Sencha Touch 2.1.x library, under independent license.
- * License of Sencha Architect does not include license for Sencha Touch 2.1.x. For more
+ * This file requires use of the Sencha Touch 2.3.x library, under independent license.
+ * License of Sencha Architect does not include license for Sencha Touch 2.3.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -17,6 +17,10 @@ Ext.define('Feed.model.Search', {
extend: 'Ext.data.Model',
alias: 'model.search',
+ requires: [
+ 'Ext.data.Field'
+ ],
+
config: {
fields: [
{
@@ -1,11 +1,11 @@
/*
* File: app/store/Feed.js
*
- * This file was generated by Sencha Architect version 2.2.0.
+ * This file was generated by Sencha Architect version 3.0.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Sencha Touch 2.1.x library, under independent license.
- * License of Sencha Architect does not include license for Sencha Touch 2.1.x. For more
+ * This file requires use of the Sencha Touch 2.3.x library, under independent license.
+ * License of Sencha Architect does not include license for Sencha Touch 2.3.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -18,6 +18,8 @@ Ext.define('Feed.store.Feed', {
alias: 'store.feed',
requires: [
+ 'Ext.data.proxy.JsonP',
+ 'Ext.data.reader.Json',
'Feed.model.Feed'
],
@@ -1,11 +1,11 @@
/*
* File: app/store/Feeds.js
*
- * This file was generated by Sencha Architect version 2.2.0.
+ * This file was generated by Sencha Architect version 3.0.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Sencha Touch 2.1.x library, under independent license.
- * License of Sencha Architect does not include license for Sencha Touch 2.1.x. For more
+ * This file requires use of the Sencha Touch 2.3.x library, under independent license.
+ * License of Sencha Architect does not include license for Sencha Touch 2.3.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -17,6 +17,7 @@ Ext.define('Feed.store.Feeds', {
extend: 'Ext.data.Store',
requires: [
+ 'Ext.data.proxy.LocalStorage',
'Feed.model.Feed'
],
@@ -1,11 +1,11 @@
/*
* File: app/store/Posts.js
*
- * This file was generated by Sencha Architect version 2.2.0.
+ * This file was generated by Sencha Architect version 3.0.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Sencha Touch 2.1.x library, under independent license.
- * License of Sencha Architect does not include license for Sencha Touch 2.1.x. For more
+ * This file requires use of the Sencha Touch 2.3.x library, under independent license.
+ * License of Sencha Architect does not include license for Sencha Touch 2.3.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -18,6 +18,8 @@ Ext.define('Feed.store.Posts', {
alias: 'store.posts',
requires: [
+ 'Ext.data.proxy.JsonP',
+ 'Ext.data.reader.Json',
'Feed.model.Post'
],
@@ -1,11 +1,11 @@
/*
* File: app/store/Searches.js
*
- * This file was generated by Sencha Architect version 2.2.0.
+ * This file was generated by Sencha Architect version 3.0.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Sencha Touch 2.1.x library, under independent license.
- * License of Sencha Architect does not include license for Sencha Touch 2.1.x. For more
+ * This file requires use of the Sencha Touch 2.3.x library, under independent license.
+ * License of Sencha Architect does not include license for Sencha Touch 2.3.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -18,6 +18,8 @@ Ext.define('Feed.store.Searches', {
alias: 'store.search',
requires: [
+ 'Ext.data.proxy.JsonP',
+ 'Ext.data.reader.Json',
'Feed.model.Search'
],
@@ -52,11 +54,11 @@ Ext.define('Feed.store.Searches', {
},
search: function(keywords) {
- this.load({
- params:{
- q: keywords
- }
- });
+ this.load({
+ params:{
+ q: keywords
+ }
+ });
}
@@ -1,11 +1,11 @@
/*
* File: app/view/About.js
*
- * This file was generated by Sencha Architect version 2.2.0.
+ * This file was generated by Sencha Architect version 3.0.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Sencha Touch 2.1.x library, under independent license.
- * License of Sencha Architect does not include license for Sencha Touch 2.1.x. For more
+ * This file requires use of the Sencha Touch 2.3.x library, under independent license.
+ * License of Sencha Architect does not include license for Sencha Touch 2.3.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -1,11 +1,11 @@
/*
* File: app/view/TabPanel.js
*
- * This file was generated by Sencha Architect version 2.2.0.
+ * This file was generated by Sencha Architect version 3.0.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Sencha Touch 2.1.x library, under independent license.
- * License of Sencha Architect does not include license for Sencha Touch 2.1.x. For more
+ * This file requires use of the Sencha Touch 2.3.x library, under independent license.
+ * License of Sencha Architect does not include license for Sencha Touch 2.3.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -51,7 +51,6 @@ Ext.define('Feed.view.TabPanel', {
id: 'addButton',
ui: 'action',
iconCls: 'add',
- iconMask: true,
text: ''
},
{
@@ -1,11 +1,11 @@
/*
* File: app/view/feeds/Add.js
*
- * This file was generated by Sencha Architect version 2.2.0.
+ * This file was generated by Sencha Architect version 3.0.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Sencha Touch 2.1.x library, under independent license.
- * License of Sencha Architect does not include license for Sencha Touch 2.1.x. For more
+ * This file requires use of the Sencha Touch 2.3.x library, under independent license.
+ * License of Sencha Architect does not include license for Sencha Touch 2.3.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -1,11 +1,11 @@
/*
* File: app/view/feeds/List.js
*
- * This file was generated by Sencha Architect version 2.2.0.
+ * This file was generated by Sencha Architect version 3.0.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Sencha Touch 2.1.x library, under independent license.
- * License of Sencha Architect does not include license for Sencha Touch 2.1.x. For more
+ * This file requires use of the Sencha Touch 2.3.x library, under independent license.
+ * License of Sencha Architect does not include license for Sencha Touch 2.3.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -17,6 +17,10 @@ Ext.define('Feed.view.feeds.List', {
extend: 'Ext.dataview.List',
alias: 'widget.feedslist',
+ requires: [
+ 'Ext.XTemplate'
+ ],
+
config: {
store: 'Searches',
itemTpl: [
@@ -1,11 +1,11 @@
/*
* File: app/view/posts/List.js
*
- * This file was generated by Sencha Architect version 2.2.0.
+ * This file was generated by Sencha Architect version 3.0.0.
* http://www.sencha.com/products/architect/
*
- * This file requires use of the Sencha Touch 2.1.x library, under independent license.
- * License of Sencha Architect does not include license for Sencha Touch 2.1.x. For more
+ * This file requires use of the Sencha Touch 2.3.x library, under independent license.
+ * License of Sencha Architect does not include license for Sencha Touch 2.3.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
@@ -17,6 +17,10 @@ Ext.define('Feed.view.posts.List', {
extend: 'Ext.dataview.List',
alias: 'widget.postslist',
+ requires: [
+ 'Ext.XTemplate'
+ ],
+
config: {
id: 'postsList',
store: 'Posts',
Oops, something went wrong.

0 comments on commit b15c4a0

Please sign in to comment.