Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: src/diagrams/tutorials/fetchdata/getstringfunction.graffle

Issue 26922002: removing Web UI tutorials, updating remaining 4 to current release, + review pass (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: merge with master Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/ PropertyList-1.0.dtd"> 2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/ PropertyList-1.0.dtd">
3 <plist version="1.0"> 3 <plist version="1.0">
4 <dict> 4 <dict>
5 <key>ActiveLayerIndex</key> 5 <key>ActiveLayerIndex</key>
6 <integer>0</integer> 6 <integer>0</integer>
7 <key>ApplicationVersion</key> 7 <key>ApplicationVersion</key>
8 <array> 8 <array>
9 <string>com.omnigroup.OmniGrafflePro</string> 9 <string>com.omnigroup.OmniGrafflePro</string>
10 » » <string>139.16.0.171715</string> 10 » » <string>139.18.0.187838</string>
11 </array> 11 </array>
12 <key>AutoAdjust</key> 12 <key>AutoAdjust</key>
13 <true/> 13 <true/>
14 <key>BackgroundGraphic</key> 14 <key>BackgroundGraphic</key>
15 <dict> 15 <dict>
16 <key>Bounds</key> 16 <key>Bounds</key>
17 <string>{{0, 0}, {1152, 733}}</string> 17 <string>{{0, 0}, {1152, 733}}</string>
18 <key>Class</key> 18 <key>Class</key>
19 <string>SolidGraphic</string> 19 <string>SolidGraphic</string>
20 <key>ID</key> 20 <key>ID</key>
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 <string>NO</string> 100 <string>NO</string>
101 </dict> 101 </dict>
102 </dict> 102 </dict>
103 <key>Text</key> 103 <key>Text</key>
104 <dict> 104 <dict>
105 <key>Align</key> 105 <key>Align</key>
106 <integer>0</integer> 106 <integer>0</integer>
107 <key>Pad</key> 107 <key>Pad</key>
108 <integer>2</integer> 108 <integer>2</integer>
109 <key>Text</key> 109 <key>Text</key>
110 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\coc oasubrtf370 110 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\coc oasubrtf390
111 \cocoascreenfonts1{\fonttbl\f0\fnil\fcharset0 HelveticaNeue-Light;} 111 \cocoascreenfonts1{\fonttbl\f0\fnil\fcharset0 HelveticaNeue-Light;}
112 {\colortbl;\red255\green255\blue255;} 112 {\colortbl;\red255\green255\blue255;}
113 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural 113 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural
114 114
115 \f0\fs26 \cf0 call handleError() if request failed}</string> 115 \f0\fs26 \cf0 call handleError() if request failed}</string>
116 <key>VerticalPad</key> 116 <key>VerticalPad</key>
117 <integer>2</integer> 117 <integer>2</integer>
118 </dict> 118 </dict>
119 <key>Wrap</key> 119 <key>Wrap</key>
120 <string>NO</string> 120 <string>NO</string>
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 <string>NO</string> 168 <string>NO</string>
169 </dict> 169 </dict>
170 </dict> 170 </dict>
171 <key>Text</key> 171 <key>Text</key>
172 <dict> 172 <dict>
173 <key>Align</key> 173 <key>Align</key>
174 <integer>0</integer> 174 <integer>0</integer>
175 <key>Pad</key> 175 <key>Pad</key>
176 <integer>2</integer> 176 <integer>2</integer>
177 <key>Text</key> 177 <key>Text</key>
178 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\coc oasubrtf370 178 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\coc oasubrtf390
179 \cocoascreenfonts1{\fonttbl\f0\fnil\fcharset0 HelveticaNeue-Light;} 179 \cocoascreenfonts1{\fonttbl\f0\fnil\fcharset0 HelveticaNeue-Light;}
180 {\colortbl;\red255\green255\blue255;} 180 {\colortbl;\red255\green255\blue255;}
181 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural 181 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural
182 182
183 \f0\fs26 \cf0 call processString() if request is successful}</string> 183 \f0\fs26 \cf0 call processString() if request is successful}</string>
184 <key>VerticalPad</key> 184 <key>VerticalPad</key>
185 <integer>2</integer> 185 <integer>2</integer>
186 </dict> 186 </dict>
187 <key>Wrap</key> 187 <key>Wrap</key>
188 <string>NO</string> 188 <string>NO</string>
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 <string>NO</string> 236 <string>NO</string>
237 </dict> 237 </dict>
238 </dict> 238 </dict>
239 <key>Text</key> 239 <key>Text</key>
240 <dict> 240 <dict>
241 <key>Align</key> 241 <key>Align</key>
242 <integer>0</integer> 242 <integer>0</integer>
243 <key>Pad</key> 243 <key>Pad</key>
244 <integer>2</integer> 244 <integer>2</integer>
245 <key>Text</key> 245 <key>Text</key>
246 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\coc oasubrtf370 246 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\coc oasubrtf390
247 \cocoascreenfonts1{\fonttbl\f0\fnil\fcharset0 HelveticaNeue-Light;} 247 \cocoascreenfonts1{\fonttbl\f0\fnil\fcharset0 HelveticaNeue-Light;}
248 {\colortbl;\red255\green255\blue255;} 248 {\colortbl;\red255\green255\blue255;}
249 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural 249 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural
250 250
251 \f0\fs26 \cf0 make the request}</string> 251 \f0\fs26 \cf0 make the request}</string>
252 <key>VerticalPad</key> 252 <key>VerticalPad</key>
253 <integer>2</integer> 253 <integer>2</integer>
254 </dict> 254 </dict>
255 <key>Wrap</key> 255 <key>Wrap</key>
256 <string>NO</string> 256 <string>NO</string>
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 <real>7</real> 293 <real>7</real>
294 </dict> 294 </dict>
295 </dict> 295 </dict>
296 <key>Text</key> 296 <key>Text</key>
297 <dict> 297 <dict>
298 <key>Align</key> 298 <key>Align</key>
299 <integer>0</integer> 299 <integer>0</integer>
300 <key>Pad</key> 300 <key>Pad</key>
301 <integer>2</integer> 301 <integer>2</integer>
302 <key>Text</key> 302 <key>Text</key>
303 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\coc oasubrtf370 303 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\coc oasubrtf390
304 \cocoascreenfonts1{\fonttbl\f0\fmodern\fcharset0 CourierNewPSMT;} 304 \cocoascreenfonts1{\fonttbl\f0\fmodern\fcharset0 CourierNewPSMT;}
305 {\colortbl;\red255\green255\blue255;\red1\green1\blue1;} 305 {\colortbl;\red255\green255\blue255;\red1\green1\blue1;}
306 \deftab720 306 \deftab720
307 \pard\pardeftab720 307 \pard\pardeftab720
308 308
309 \f0\fs24 \cf2 void makeRequest(Event e) \{\ 309 \f0\fs24 \cf2 void makeRequest(Event e) \{\
310 var path = 'portmanteaux_simple.json';\ 310 var path = 'portmanteaux_simple.json';\
311 HttpRequest.getString(path)\ 311 HttpRequest.getString(path)\
312 .then(processString)\ 312 .then(processString)\
313 .catchError(handleError);\ 313 .catchError(handleError);\
314 \}\ 314 \}\
315 \ 315 \
316 processString(String jsonString) \{\ 316 processString(String jsonString) \{\
317 List&lt;String&gt; portmanteaux = json.parse(jsonString);\ 317 List&lt;String&gt; portmanteaux = JSON.decode(jsonString);\
318 for (int i = 0; i &lt; portmanteaux.length; i++) \{\ 318 for (int i = 0; i &lt; portmanteaux.length; i++) \{\
319 wordList.children.add(new LIElement()..text = portmanteaux[i]);\ 319 wordList.children.add(new LIElement()..text = portmanteaux[i]);\
320 \}\ 320 \}\
321 \}\ 321 \}\
322 \ 322 \
323 handleError(Error error) \{\ 323 handleError(Error error) \{\
324 wordList.children.add(new LIElement()..text = 'Request failed.');\ 324 wordList.children.add(new LIElement()..text = 'Request failed.');\
325 \}}</string> 325 \}}</string>
326 <key>VerticalPad</key> 326 <key>VerticalPad</key>
327 <integer>2</integer> 327 <integer>2</integer>
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 <string>NO</string> 553 <string>NO</string>
554 </dict> 554 </dict>
555 </dict> 555 </dict>
556 <key>Text</key> 556 <key>Text</key>
557 <dict> 557 <dict>
558 <key>Align</key> 558 <key>Align</key>
559 <integer>0</integer> 559 <integer>0</integer>
560 <key>Pad</key> 560 <key>Pad</key>
561 <integer>2</integer> 561 <integer>2</integer>
562 <key>Text</key> 562 <key>Text</key>
563 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\coc oasubrtf370 563 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\coc oasubrtf390
564 \cocoascreenfonts1{\fonttbl\f0\fnil\fcharset0 HelveticaNeue;} 564 \cocoascreenfonts1{\fonttbl\f0\fnil\fcharset0 HelveticaNeue;}
565 {\colortbl;\red255\green255\blue255;\red128\green0\blue0;} 565 {\colortbl;\red255\green255\blue255;\red128\green0\blue0;}
566 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural 566 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural
567 567
568 \f0\i\b\fs28 \cf2 Save to $tutorial/fetchdata/images/getstringfunction.png}</str ing> 568 \f0\i\b\fs28 \cf2 Save to $tutorial/fetchdata/images/getstringfunction.png}</str ing>
569 <key>VerticalPad</key> 569 <key>VerticalPad</key>
570 <integer>2</integer> 570 <integer>2</integer>
571 </dict> 571 </dict>
572 <key>Wrap</key> 572 <key>Wrap</key>
573 <string>NO</string> 573 <string>NO</string>
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 <key>twopiSeparation</key> 731 <key>twopiSeparation</key>
732 <real>0.0</real> 732 <real>0.0</real>
733 </dict> 733 </dict>
734 <key>LinksVisible</key> 734 <key>LinksVisible</key>
735 <string>NO</string> 735 <string>NO</string>
736 <key>MagnetsVisible</key> 736 <key>MagnetsVisible</key>
737 <string>NO</string> 737 <string>NO</string>
738 <key>MasterSheets</key> 738 <key>MasterSheets</key>
739 <array/> 739 <array/>
740 <key>ModificationDate</key> 740 <key>ModificationDate</key>
741 » <string>2013-04-24 21:50:53 +0000</string> 741 » <string>2013-10-10 17:03:12 +0000</string>
742 <key>Modifier</key> 742 <key>Modifier</key>
743 <string>Mary Campione</string> 743 <string>Mary Campione</string>
744 <key>NotesVisible</key> 744 <key>NotesVisible</key>
745 <string>NO</string> 745 <string>NO</string>
746 <key>Orientation</key> 746 <key>Orientation</key>
747 <integer>2</integer> 747 <integer>2</integer>
748 <key>OriginVisible</key> 748 <key>OriginVisible</key>
749 <string>NO</string> 749 <string>NO</string>
750 <key>PageBreaks</key> 750 <key>PageBreaks</key>
751 <string>YES</string> 751 <string>YES</string>
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 <array> 840 <array>
841 <array> 841 <array>
842 <string>Canvas 1</string> 842 <string>Canvas 1</string>
843 <real>1</real> 843 <real>1</real>
844 <real>1</real> 844 <real>1</real>
845 </array> 845 </array>
846 </array> 846 </array>
847 </dict> 847 </dict>
848 </dict> 848 </dict>
849 </plist> 849 </plist>
OLDNEW
« no previous file with comments | « src/diagrams/tutorials/fetchdata/callback.graffle ('k') | src/diagrams/tutorials/fetchdata/json-list.graffle » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698