Permalink
Browse files

3.0 upgrade commit

  • Loading branch information...
honestbleeps committed Oct 30, 2013
1 parent 0077add commit f02943da1d0f9f05c3d371242ca7fd6b078c57d8
Showing with 3,690 additions and 147 deletions.
  1. +7 −0 .gitignore
  2. +24 −65 ExtReddit/ExtReddit.xds
  3. +10 −3 ExtReddit/app.js
  4. +14 −0 ExtReddit/app.json
  5. +15 −0 ExtReddit/app/Readme.md
  6. +3 −0 ExtReddit/app/controller/Main.js
  7. +1 −0 ExtReddit/app/controller/Readme.md
  8. +1 −1 ExtReddit/app/controller/UserController.js
  9. +1 −0 ExtReddit/app/model/Readme.md
  10. +5 −1 ExtReddit/app/model/RedditPost.js
  11. +1 −0 ExtReddit/app/store/Readme.md
  12. +3 −1 ExtReddit/app/store/redditHomepage.js
  13. +1 −0 ExtReddit/app/view/Readme.md
  14. +1 −1 ExtReddit/app/view/RedditGrid.js
  15. +1 −1 ExtReddit/app/view/SettingsPanel.js
  16. +1,850 −0 ExtReddit/bootstrap.js
  17. +7 −0 ExtReddit/bootstrap.json
  18. +19 −0 ExtReddit/index.html
  19. +5 −6 ExtReddit/metadata/Application
  20. +3 −4 ExtReddit/metadata/controller/UserController
  21. +9 −18 ExtReddit/metadata/model/RedditPost
  22. +4 −0 ExtReddit/metadata/resource/Library
  23. +3 −2 ExtReddit/metadata/resource/css
  24. +1 −0 ExtReddit/metadata/resource/js
  25. +81 −8 ExtReddit/metadata/store/redditHomepage
  26. +16 −32 ExtReddit/metadata/view/RedditGrid
  27. +4 −4 ExtReddit/metadata/view/SettingsPanel
  28. +7 −0 ExtReddit/packages/default/sass/app.scss
  29. +68 −0 ExtReddit/packages/default/sass/config.rb
  30. +12 −0 ExtReddit/packages/default/slice-src/custom.js
  31. +193 −0 ExtReddit/packages/default/slice-src/manifest.js
  32. +441 −0 ExtReddit/packages/default/slice-src/render.js
  33. +835 −0 ExtReddit/packages/default/slice-src/shortcuts.js
  34. +43 −0 ExtReddit/packages/default/theme.html
  35. +1 −0 ExtReddit/resources/default/app.css
  36. BIN ExtReddit20131030162747.xda
View
@@ -0,0 +1,7 @@
+.architect
+.sencha
+.sencha_backup
+ext
+build
+build.xml
+.idea
View
@@ -1,75 +1,34 @@
{
"name": "ExtReddit",
"settings": {
+ "cmd": {
+ "license": "commercial",
+ "cmdVersion": "4.0.1.30",
+ "frameworkVersion": "4.1.1"
+ },
"urlPrefix": "http://localhost/~steve/architectprojects/ExtReddit/",
- "exportPath": ""
+ "exportPath": "",
+ "canvasControls": {
+ "viewportSize": {
+ "name": "Auto Expand",
+ "builtIn": true,
+ "height": null,
+ "width": null
+ }
+ },
+ "spacesToIndent": 4,
+ "sdkPath": "",
+ "lineEnding": "LF",
+ "genTimestamps": false,
+ "cacheBust": false,
+ "buildShouldOverwriteIndex": true,
+ "generateArchitectVersion": true
},
- "xdsVersion": "2.2.0",
- "xdsBuild": 894,
+ "xdsVersion": "3.0.0",
+ "xdsBuild": 0,
"schemaVersion": 1,
- "upgradeVersion": 210000000499,
+ "upgradeVersion": 300000000001,
"framework": "ext41",
- "topInstanceFileMap": {
- "55d3ca0b-c7e6-44bc-b786-c9b0f8a2693c": {
- "paths": [
- "metadata/model/RedditPost",
- "app/model/override/RedditPost.js",
- "app/model/RedditPost.js"
- ],
- "className": "RedditPost"
- },
- "806dc76a-43ae-4cf3-a624-20b915e91afd": {
- "paths": [
- "metadata/resource/Library"
- ],
- "className": "Library"
- },
- "2c287404-9f99-46c8-9d50-459ab8e503e1": {
- "paths": [
- "metadata/view/RedditGrid",
- "app/view/override/RedditGrid.js",
- "app/view/RedditGrid.js",
- "app/view/Viewport.js"
- ],
- "className": "RedditGrid"
- },
- "f0614e19-3c8a-4a65-88b8-617e77db563f": {
- "paths": [
- "metadata/store/redditHomepage",
- "app/store/override/redditHomepage.js",
- "app/store/redditHomepage.js"
- ],
- "className": "redditHomepage"
- },
- "b58b6bb6-72a1-404e-a7f8-13a194f94f7f": {
- "paths": [
- "metadata/resource/css"
- ],
- "className": "css"
- },
- "bed9e27d-aa99-463f-ae0d-8c2867cc7e0a": {
- "paths": [
- "metadata/resource/js"
- ],
- "className": "js"
- },
- "69acfe15-89f2-44df-afff-6f6cb446320f": {
- "paths": [
- "metadata/controller/UserController",
- "app/controller/override/UserController.js",
- "app/controller/UserController.js"
- ],
- "className": "UserController"
- },
- "c6f7b539-ff92-43a0-a632-66c94746e3b1": {
- "paths": [
- "metadata/view/SettingsPanel",
- "app/view/override/SettingsPanel.js",
- "app/view/SettingsPanel.js"
- ],
- "className": "SettingsPanel"
- }
- },
"viewOrderMap": {
"view": [
"2c287404-9f99-46c8-9d50-459ab8e503e1",
View
@@ -1,7 +1,7 @@
/*
* 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 Ext JS 4.1.x library, under independent license.
@@ -13,10 +13,12 @@
* Do NOT hand edit this file.
*/
+// @require @packageOverrides
Ext.Loader.setConfig({
enabled: true
});
+
Ext.application({
requires: [
@@ -33,9 +35,14 @@ Ext.application({
'RedditGrid',
'SettingsPanel'
],
- autoCreateViewport: true,
controllers: [
'UserController'
],
- name: 'MyApp'
+ name: 'MyApp',
+
+ launch: function() {
+
+ Ext.create('MyApp.view.RedditGrid', {renderTo: Ext.getBody()});
+ }
+
});
View
@@ -0,0 +1,14 @@
+{
+ "name": "ExtReddit",
+ "requires": [],
+ "id": "a2bce66c-7865-43e3-a25a-58d20b7412f9",
+ "resources": [
+ "css/style.css"
+ ],
+ "_architect": {
+ "_comment": "Please don't edit. This is Architect data.",
+ "resources": [
+ "css/style.css"
+ ]
+ }
+}
View
@@ -0,0 +1,15 @@
+# ./controller
+
+This folder contains the controllers
+
+# ./model
+
+This folder contains the models
+
+# ./view
+
+This folder contains the views
+
+# ./store
+
+This folder contains the stores
@@ -0,0 +1,3 @@
+Ext.define('ExtReddit.controller.Main', {
+ extend: 'Ext.app.Controller'
+});
@@ -0,0 +1 @@
+This folder contains the controllers
@@ -1,7 +1,7 @@
/*
* File: app/controller/UserController.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 Ext JS 4.1.x library, under independent license.
@@ -0,0 +1 @@
+This folder contains the models
@@ -1,7 +1,7 @@
/*
* File: app/model/RedditPost.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 Ext JS 4.1.x library, under independent license.
@@ -16,6 +16,10 @@
Ext.define('MyApp.model.RedditPost', {
extend: 'Ext.data.Model',
+ requires: [
+ 'Ext.data.Field'
+ ],
+
fields: [
{
mapping: 'data.title',
@@ -0,0 +1 @@
+This folder contains the stores
@@ -1,7 +1,7 @@
/*
* File: app/store/redditHomepage.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 Ext JS 4.1.x library, under independent license.
@@ -17,6 +17,8 @@ Ext.define('MyApp.store.redditHomepage', {
extend: 'Ext.data.Store',
requires: [
+ 'Ext.data.proxy.JsonP',
+ 'Ext.data.reader.Json',
'MyApp.model.RedditPost'
],
@@ -0,0 +1 @@
+This folder contains the views
@@ -1,7 +1,7 @@
/*
* File: app/view/RedditGrid.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 Ext JS 4.1.x library, under independent license.
@@ -1,7 +1,7 @@
/*
* File: app/view/SettingsPanel.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 Ext JS 4.1.x library, under independent license.
Oops, something went wrong.

0 comments on commit f02943d

Please sign in to comment.