Browse files

Small doc tweaks

  • Loading branch information...
1 parent 4dda5f0 commit 08ce666f7721c2542b5b62b9303e4490b152b121 Ed Spencer committed Feb 11, 2012
Showing with 8 additions and 8 deletions.
  1. +5 −8 app.js
  2. +3 −0 app/store/Pictures.js
View
13 app.js
@@ -1,11 +1,3 @@
-/*
- * This app uses a Carousel and a JSON-P proxy so make sure they're loaded first
- */
-Ext.require([
- 'Ext.carousel.Carousel',
- 'Ext.data.proxy.JsonP'
-]);
-
/**
* Our app is pretty simple - it just grabs the latest images from NASA's Astronomy Picture Of the Day
* (http://apod.nasa.gov/apod/astropix.html) and displays them in a Carousel. This file drives most of
@@ -24,6 +16,11 @@ Ext.application({
stores: ['Pictures'],
views: ['Picture'],
+ requires: [
+ 'Ext.carousel.Carousel',
+ 'Ext.data.proxy.JsonP'
+ ],
+
launch: function() {
var titleVisible = false,
info, carousel;
View
3 app/store/Pictures.js
@@ -1,3 +1,6 @@
+/**
+ * Grabs the APOD RSS feed from Google's Feed API, passes the data to our Model to decode
+ */
Ext.define('apod.store.Pictures', {
extend: 'Ext.data.Store',

0 comments on commit 08ce666

Please sign in to comment.