Skip to content

Commit

Permalink
Upgrade TouchFeedViewer to 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
davestum committed Oct 30, 2013
1 parent 811682f commit b15c4a0
Show file tree
Hide file tree
Showing 35 changed files with 360 additions and 373 deletions.
Binary file modified TouchFeedViewer.xda
Binary file not shown.
8 changes: 5 additions & 3 deletions TouchFeedViewer/app.js
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
8 changes: 4 additions & 4 deletions TouchFeedViewer/app/controller/Feeds.js
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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))){
Expand Down
16 changes: 8 additions & 8 deletions TouchFeedViewer/app/controller/Posts.js
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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');
},

Expand All @@ -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() {
Expand All @@ -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.');
}
Expand Down
10 changes: 7 additions & 3 deletions TouchFeedViewer/app/model/Feed.js
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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'
],
Expand Down
10 changes: 7 additions & 3 deletions TouchFeedViewer/app/model/Post.js
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -17,6 +17,10 @@ Ext.define('Feed.model.Post', {
extend: 'Ext.data.Model',
alias: 'model.post',

requires: [
'Ext.data.Field'
],

config: {
fields: [
{
Expand Down
10 changes: 7 additions & 3 deletions TouchFeedViewer/app/model/Search.js
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -17,6 +17,10 @@ Ext.define('Feed.model.Search', {
extend: 'Ext.data.Model',
alias: 'model.search',

requires: [
'Ext.data.Field'
],

config: {
fields: [
{
Expand Down
8 changes: 5 additions & 3 deletions TouchFeedViewer/app/store/Feed.js
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -18,6 +18,8 @@ Ext.define('Feed.store.Feed', {
alias: 'store.feed',

requires: [
'Ext.data.proxy.JsonP',
'Ext.data.reader.Json',
'Feed.model.Feed'
],

Expand Down
7 changes: 4 additions & 3 deletions TouchFeedViewer/app/store/Feeds.js
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -17,6 +17,7 @@ Ext.define('Feed.store.Feeds', {
extend: 'Ext.data.Store',

requires: [
'Ext.data.proxy.LocalStorage',
'Feed.model.Feed'
],

Expand Down
8 changes: 5 additions & 3 deletions TouchFeedViewer/app/store/Posts.js
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -18,6 +18,8 @@ Ext.define('Feed.store.Posts', {
alias: 'store.posts',

requires: [
'Ext.data.proxy.JsonP',
'Ext.data.reader.Json',
'Feed.model.Post'
],

Expand Down
18 changes: 10 additions & 8 deletions TouchFeedViewer/app/store/Searches.js
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -18,6 +18,8 @@ Ext.define('Feed.store.Searches', {
alias: 'store.search',

requires: [
'Ext.data.proxy.JsonP',
'Ext.data.reader.Json',
'Feed.model.Search'
],

Expand Down Expand Up @@ -52,11 +54,11 @@ Ext.define('Feed.store.Searches', {
},

search: function(keywords) {
this.load({
params:{
q: keywords
}
});
this.load({
params:{
q: keywords
}
});

}

Expand Down
6 changes: 3 additions & 3 deletions TouchFeedViewer/app/view/About.js
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
7 changes: 3 additions & 4 deletions TouchFeedViewer/app/view/TabPanel.js
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -51,7 +51,6 @@ Ext.define('Feed.view.TabPanel', {
id: 'addButton',
ui: 'action',
iconCls: 'add',
iconMask: true,
text: ''
},
{
Expand Down
6 changes: 3 additions & 3 deletions TouchFeedViewer/app/view/feeds/Add.js
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
10 changes: 7 additions & 3 deletions TouchFeedViewer/app/view/feeds/List.js
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -17,6 +17,10 @@ Ext.define('Feed.view.feeds.List', {
extend: 'Ext.dataview.List',
alias: 'widget.feedslist',

requires: [
'Ext.XTemplate'
],

config: {
store: 'Searches',
itemTpl: [
Expand Down
10 changes: 7 additions & 3 deletions TouchFeedViewer/app/view/posts/List.js
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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',
Expand Down
Loading

0 comments on commit b15c4a0

Please sign in to comment.