-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstates.js
More file actions
29 lines (24 loc) · 1.02 KB
/
Copy pathstates.js
File metadata and controls
29 lines (24 loc) · 1.02 KB
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
'use strict';
/*
* Load the model data of the problem 2 of cs142's project4.
* We load into the property cs142models.statesModel a function that returns an array of
* strings with the names of the states.
*
* See README.md for more details
*/
var cs142models;
if (!cs142models) {
cs142models = {};
}
cs142models.statesModel = function () {
return ['Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California',
'Colorado', 'Connecticut', 'Delaware', 'Florida', 'Georgia',
'Hawaii', 'Idaho', 'Illinois', 'Indiana', 'Iowa',
'Kansas', 'Kentucky', 'Louisiana', 'Maine', 'Maryland',
'Massachusetts', 'Michigan', 'Minnesota', 'Mississippi', 'Missouri',
'Montana', 'Nebraska', 'Nevada', 'New Hampshire', 'New Jersey',
'New Mexico', 'New York', 'North Carolina', 'North Dakota', 'Ohio',
'Oklahoma', 'Oregon', 'Pennsylvania', 'Rhode Island', 'South Carolina',
'South Dakota', 'Tennessee', 'Texas', 'Utah', 'Vermont',
'Virginia', 'Washington', 'West Virginia', 'Wisconsin', 'Wyoming'];
};