Debian Codegraph @

dojox/app/tests/domOrderByConstraint/domOrderByConstraint.js

raw symbols SCIP
1 require(["dojo/_base/window","dojox/app/main", "dojox/json/ref", "dojo/text!./config.json", "dojo/sniff"],
2 function(win, Application, jsonRef, config, has){
3 win.global.domOrderByConstraint = {};
4 domOrderByConstraint.names = {
5 identifier: "id",
6 items: [{
7 "id": "1",
8 "Serial": "360324",
9 "First": "John",
10 "Last": "Doe",
11 "Email": "[email protected]",
12 "ShipTo": {
13 "Street": "123 Valley Rd",
14 "City": "Katonah",
15 "State": "NY",
16 "Zip": "10536"
17 },
18 "BillTo": {
19 "Street": "17 Skyline Dr",
20 "City": "Hawthorne",
21 "State": "NY",
22 "Zip": "10532"
23 }
24 }]
25 };
26
27 domOrderByConstraint.listData = {
28 identifier: "id",
29 'items':[{
30 "id": "item1",
31 "label": "Chad Chapman",
32 "rightIcon":"mblDomButtonBlueCircleArrow",
33 "First": "Chad",
34 "Last": "Chapman",
35 "Location": "CA",
36 "Office": "1278",
37 "Email": "[email protected]",
38 "Tel": "408-764-8237",
39 "Fax": "408-764-8228"
40 }, {
41 "id": "item2",
42 "label": "Irene Ira",
43 "rightIcon":"mblDomButtonBlueCircleArrow",
44 "First": "Irene",
45 "Last": "Ira",
46 "Location": "NJ",
47 "Office": "F09",
48 "Email": "[email protected]",
49 "Tel": "514-764-6532",
50 "Fax": "514-764-7300"
51 }, {
52 "id": "item3",
53 "label": "John Jacklin",
54 "rightIcon":"mblDomButtonBlueCircleArrow",
55 "First": "John",
56 "Last": "Jacklin",
57 "Location": "CA",
58 "Office": "6701",
59 "Email": "[email protected]",
60 "Tel": "408-764-1234",
61 "Fax": "408-764-4321"
62 }]
63 };
64 var cfg = jsonRef.fromJson(config);
65 has.add("ie9orLess", has("ie") && (has("ie") <= 9));
66 Application(cfg);
67
68 });