]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | Ext.define('KitchenSink.data.CountryState', {\r |
2 | requires: [\r | |
3 | 'KitchenSink.data.Init'\r | |
4 | ]\r | |
5 | }, function() {\r | |
6 | Ext.ux.ajax.SimManager.register({\r | |
7 | '/KitchenSink/CountryState': {\r | |
8 | type: 'json',\r | |
9 | data: [\r | |
10 | { abbr: 'AL', country: 'USA', state: 'Alabama', description: 'The Heart of Dixie' },\r | |
11 | { abbr: 'AK', country: 'USA', state: 'Alaska', description: 'The Land of the Midnight Sun' },\r | |
12 | { abbr: 'AZ', country: 'USA', state: 'Arizona', description: 'The Grand Canyon State' },\r | |
13 | { abbr: 'AR', country: 'USA', state: 'Arkansas', description: 'The Natural State' },\r | |
14 | { abbr: 'CA', country: 'USA', state: 'California', description: 'The Golden State' },\r | |
15 | { abbr: 'CO', country: 'USA', state: 'Colorado', description: 'The Mountain State' },\r | |
16 | { abbr: 'CT', country: 'USA', state: 'Connecticut', description: 'The Constitution State' },\r | |
17 | { abbr: 'DE', country: 'USA', state: 'Delaware', description: 'The First State' },\r | |
18 | { abbr: 'DC', country: 'USA', state: 'District of Columbia', description: "The Nation's Capital" },\r | |
19 | { abbr: 'FL', country: 'USA', state: 'Florida', description: 'The Sunshine State' },\r | |
20 | { abbr: 'GA', country: 'USA', state: 'Georgia', description: 'The Peach State' },\r | |
21 | { abbr: 'HI', country: 'USA', state: 'Hawaii', description: 'The Aloha State' },\r | |
22 | { abbr: 'ID', country: 'USA', state: 'Idaho', description: 'Famous Potatoes' },\r | |
23 | { abbr: 'IL', country: 'USA', state: 'Illinois', description: 'The Prairie State' },\r | |
24 | { abbr: 'IN', country: 'USA', state: 'Indiana', description: 'The Hospitality State' },\r | |
25 | { abbr: 'IA', country: 'USA', state: 'Iowa', description: 'The Corn State' },\r | |
26 | { abbr: 'KS', country: 'USA', state: 'Kansas', description: 'The Sunflower State' },\r | |
27 | { abbr: 'KY', country: 'USA', state: 'Kentucky', description: 'The Bluegrass State' },\r | |
28 | { abbr: 'LA', country: 'USA', state: 'Louisiana', description: 'The Bayou State' },\r | |
29 | { abbr: 'ME', country: 'USA', state: 'Maine', description: 'The Pine Tree State' },\r | |
30 | { abbr: 'MD', country: 'USA', state: 'Maryland', description: 'Chesapeake State' },\r | |
31 | { abbr: 'MA', country: 'USA', state: 'Massachusetts', description: 'The Spirit of America' },\r | |
32 | { abbr: 'MI', country: 'USA', state: 'Michigan', description: 'Great Lakes State' },\r | |
33 | { abbr: 'MN', country: 'USA', state: 'Minnesota', description: 'North Star State' },\r | |
34 | { abbr: 'MS', country: 'USA', state: 'Mississippi', description: 'Magnolia State' },\r | |
35 | { abbr: 'MO', country: 'USA', state: 'Missouri', description: 'Show Me State' },\r | |
36 | { abbr: 'MT', country: 'USA', state: 'Montana', description: 'Big Sky Country' },\r | |
37 | { abbr: 'NE', country: 'USA', state: 'Nebraska', description: 'Beef State' },\r | |
38 | { abbr: 'NV', country: 'USA', state: 'Nevada', description: 'Silver State' },\r | |
39 | { abbr: 'NH', country: 'USA', state: 'New Hampshire', description: 'Granite State' },\r | |
40 | { abbr: 'NJ', country: 'USA', state: 'New Jersey', description: 'Garden State' },\r | |
41 | { abbr: 'NM', country: 'USA', state: 'New Mexico', description: 'Land of Enchantment' },\r | |
42 | { abbr: 'NY', country: 'USA', state: 'New York', description: 'Empire State' },\r | |
43 | { abbr: 'NC', country: 'USA', state: 'North Carolina', description: 'First in Freedom' },\r | |
44 | { abbr: 'ND', country: 'USA', state: 'North Dakota', description: 'Peace Garden State' },\r | |
45 | { abbr: 'OH', country: 'USA', state: 'Ohio', description: 'The Heart of it All' },\r | |
46 | { abbr: 'OK', country: 'USA', state: 'Oklahoma', description: 'Oklahoma is OK' },\r | |
47 | { abbr: 'OR', country: 'USA', state: 'Oregon', description: 'Pacific Wonderland' },\r | |
48 | { abbr: 'PA', country: 'USA', state: 'Pennsylvania', description: 'Keystone State' },\r | |
49 | { abbr: 'RI', country: 'USA', state: 'Rhode Island', description: 'Ocean State' },\r | |
50 | { abbr: 'SC', country: 'USA', state: 'South Carolina', description: 'Nothing Could be Finer' },\r | |
51 | { abbr: 'SD', country: 'USA', state: 'South Dakota', description: 'Great Faces, Great Places' },\r | |
52 | { abbr: 'TN', country: 'USA', state: 'Tennessee', description: 'Volunteer State' },\r | |
53 | { abbr: 'TX', country: 'USA', state: 'Texas', description: 'Lone Star State' },\r | |
54 | { abbr: 'UT', country: 'USA', state: 'Utah', description: 'Salt Lake State' },\r | |
55 | { abbr: 'VT', country: 'USA', state: 'Vermont', description: 'Green Mountain State' },\r | |
56 | { abbr: 'VA', country: 'USA', state: 'Virginia', description: 'Mother of States' },\r | |
57 | { abbr: 'WA', country: 'USA', state: 'Washington', description: 'Green Tree State' },\r | |
58 | { abbr: 'WV', country: 'USA', state: 'West Virginia', description: 'Mountain State' },\r | |
59 | { abbr: 'WI', country: 'USA', state: 'Wisconsin', description: "America's Dairyland" },\r | |
60 | { abbr: 'WY', country: 'USA', state: 'Wyoming', description: 'Like No Place on Earth' },\r | |
61 | \r | |
62 | { abbr: 'ON', country: 'Canada', state: 'Ontario' },\r | |
63 | { abbr: 'QC', country: 'Canada', state: 'Quebec' },\r | |
64 | { abbr: 'NS', country: 'Canada', state: 'Nova Scotia' },\r | |
65 | { abbr: 'NB', country: 'Canada', state: 'New Brunswick' },\r | |
66 | { abbr: 'MB', country: 'Canada', state: 'Manitoba' },\r | |
67 | { abbr: 'BC', country: 'Canada', state: 'British Columbia' },\r | |
68 | { abbr: 'PE', country: 'Canada', state: 'Prince Edward Island' },\r | |
69 | { abbr: 'SK', country: 'Canada', state: 'Saskatchewan' },\r | |
70 | { abbr: 'AB', country: 'Canada', state: 'Alberta' },\r | |
71 | { abbr: 'NL', country: 'Canada', state: 'Newfoundland and Labrador' }\r | |
72 | ]\r | |
73 | },\r | |
74 | '/KitchenSink/Country': {\r | |
75 | type: 'json',\r | |
76 | data: [\r | |
77 | { name: 'USA' },\r | |
78 | { name: 'Canada' }\r | |
79 | ]\r | |
80 | }\r | |
81 | });\r | |
82 | });\r |