-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.js
53 lines (47 loc) · 1.35 KB
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
* File: app.js
*
* This file was generated by Sencha Architect version 2.0.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Sencha Touch 2.0.x library, under independent license.
* License of Sencha Architect does not include license for Sencha Touch 2.0.x. For more
* details see http://www.sencha.com/license or contact [email protected].
*
* This file will be auto-generated each and everytime you save your project.
*
* Do NOT hand edit this file.
*/
Ext.Loader.setConfig({
enabled: true
});
Ext.application({
models: [
'Business'
],
stores: [
'BusinessStore'
],
views: [
'MainNav',
'ListContainer',
'DetailPanel',
'searchForm'
],
name: 'CityBarsPlus',
controllers: [
'Business',
'Search'
],
launch: function() {
CityBarsPlus.Init = {};
// NOTE ABOUT YELP KEY
// You must use your own yelp key, available by registering (for free) with Yelp:
// http://www.yelp.com/developers/getting_started/api_overview
// (in this app, we use the Review Search API v1.0)
CityBarsPlus.Init.apiKey = '/* Yelp API key goes here */';
CityBarsPlus.Init.term='';
CityBarsPlus.Init.city='';
Ext.create('CityBarsPlus.view.searchForm', {fullscreen: true});
}
});