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

Side by Side Diff: src/diagrams/tutorials/polymer-intro/dart-script-code.graffle

Issue 275613002: Update polymer tutorial; make directory paths match new sample structure (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: probably nothing (oh app engine you joker) Created 6 years, 6 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.18.0.187838</string> 10 <string>139.18.0.187838</string>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 <key>Creator</key> 46 <key>Creator</key>
47 <string>Mary Campione</string> 47 <string>Mary Campione</string>
48 <key>DisplayScale</key> 48 <key>DisplayScale</key>
49 <string>1 0/72 in = 1.0000 in</string> 49 <string>1 0/72 in = 1.0000 in</string>
50 <key>GraphDocumentVersion</key> 50 <key>GraphDocumentVersion</key>
51 <integer>8</integer> 51 <integer>8</integer>
52 <key>GraphicsList</key> 52 <key>GraphicsList</key>
53 <array> 53 <array>
54 <dict> 54 <dict>
55 <key>Bounds</key> 55 <key>Bounds</key>
56 » » » <string>{{346, 104.5}, {356, 290}}</string> 56 » » » <string>{{346, 104.5}, {356, 304}}</string>
57 <key>Class</key> 57 <key>Class</key>
58 <string>ShapedGraphic</string> 58 <string>ShapedGraphic</string>
59 <key>FitText</key> 59 <key>FitText</key>
60 <string>YES</string> 60 <string>YES</string>
61 <key>Flow</key> 61 <key>Flow</key>
62 <string>Resize</string> 62 <string>Resize</string>
63 <key>ID</key> 63 <key>ID</key>
64 <integer>34187</integer> 64 <integer>34187</integer>
65 <key>Shape</key> 65 <key>Shape</key>
66 <string>Rectangle</string> 66 <string>Rectangle</string>
(...skipping 13 matching lines...) Expand all
80 <dict> 80 <dict>
81 <key>CornerRadius</key> 81 <key>CornerRadius</key>
82 <real>7</real> 82 <real>7</real>
83 </dict> 83 </dict>
84 </dict> 84 </dict>
85 <key>Text</key> 85 <key>Text</key>
86 <dict> 86 <dict>
87 <key>Align</key> 87 <key>Align</key>
88 <integer>0</integer> 88 <integer>0</integer>
89 <key>Text</key> 89 <key>Text</key>
90 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\coc oasubrtf400 90 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1265\coc oasubrtf200
91 \cocoascreenfonts1{\fonttbl\f0\fmodern\fcharset0 CourierNewPSMT;} 91 \cocoascreenfonts1{\fonttbl\f0\fmodern\fcharset0 CourierNewPSMT;}
92 {\colortbl;\red255\green255\blue255;} 92 {\colortbl;\red255\green255\blue255;}
93 \deftab720 93 \deftab720
94 \pard\pardeftab720 94 \pard\pardeftab720
95 95
96 \f0\fs24 \cf0 import 'dart:html';\ 96 \f0\fs24 \cf0 import 'dart:html';\
97 import 'dart:async';\ 97 import 'dart:async';\
98 import 'package:polymer/polymer.dart';\ 98 import 'package:polymer/polymer.dart';\
99 \ 99 \
100 @CustomTag('tute-stopwatch')\ 100 @CustomTag('tute-stopwatch')\
101 class TuteStopwatch extends PolymerElement \{\ 101 class TuteStopwatch extends PolymerElement \{\
102 \pard\pardeftab720 102 @observable String counter='00:00';\
103 \cf0 @observable String counter='00:00';\ 103 \
104 \pard\pardeftab720
105 \cf0 \
106 TuteStopwatch.created() : super.created();\ 104 TuteStopwatch.created() : super.created();\
107 \ 105 ...\
108 @override\ 106 @override\
109 void enteredView() \{\ 107 void attached() \{\
110 super.enteredView();\ 108 super.attached();\
111 ...\ 109 ...\
112 \}\ 110 \}\
113 \ 111 ...\
114 void start(Event e, var detail, Node target) \{\ 112 void start(Event e, var detail, Node target) \{\
115 ...\ 113 ...\
116 \} \ 114 \} \
115 ...\
117 \}}</string> 116 \}}</string>
118 </dict> 117 </dict>
119 <key>Wrap</key> 118 <key>Wrap</key>
120 <string>NO</string> 119 <string>NO</string>
121 </dict> 120 </dict>
122 <dict> 121 <dict>
123 <key>Class</key> 122 <key>Class</key>
124 <string>LineGraphic</string> 123 <string>LineGraphic</string>
125 <key>Head</key> 124 <key>Head</key>
126 <dict> 125 <dict>
127 <key>ID</key> 126 <key>ID</key>
128 <integer>34201</integer> 127 <integer>34201</integer>
129 </dict> 128 </dict>
130 <key>ID</key> 129 <key>ID</key>
131 <integer>34204</integer> 130 <integer>34204</integer>
132 <key>Points</key> 131 <key>Points</key>
133 <array> 132 <array>
134 » » » » <string>{322, 347.98744514855662}</string> 133 » » » » <string>{322, 348.08771972195029}</string>
135 » » » » <string>{363, 348.56170402927751}</string> 134 » » » » <string>{363, 348.72029431202066}</string>
136 </array> 135 </array>
137 <key>Style</key> 136 <key>Style</key>
138 <dict> 137 <dict>
139 <key>stroke</key> 138 <key>stroke</key>
140 <dict> 139 <dict>
141 <key>HeadArrow</key> 140 <key>HeadArrow</key>
142 <string>FilledArrow</string> 141 <string>FilledArrow</string>
143 <key>Legacy</key> 142 <key>Legacy</key>
144 <true/> 143 <true/>
145 <key>TailArrow</key> 144 <key>TailArrow</key>
(...skipping 11 matching lines...) Expand all
157 <string>LineGraphic</string> 156 <string>LineGraphic</string>
158 <key>Head</key> 157 <key>Head</key>
159 <dict> 158 <dict>
160 <key>ID</key> 159 <key>ID</key>
161 <integer>34158</integer> 160 <integer>34158</integer>
162 </dict> 161 </dict>
163 <key>ID</key> 162 <key>ID</key>
164 <integer>34203</integer> 163 <integer>34203</integer>
165 <key>Points</key> 164 <key>Points</key>
166 <array> 165 <array>
167 » » » » <string>{322, 280.69319665572368}</string> 166 » » » » <string>{322, 280.75687377282782}</string>
168 » » » » <string>{363, 281.2292666393891}</string> 167 » » » » <string>{363, 281.31310407928294}</string>
169 </array> 168 </array>
170 <key>Style</key> 169 <key>Style</key>
171 <dict> 170 <dict>
172 <key>stroke</key> 171 <key>stroke</key>
173 <dict> 172 <dict>
174 <key>HeadArrow</key> 173 <key>HeadArrow</key>
175 <string>FilledArrow</string> 174 <string>FilledArrow</string>
176 <key>Legacy</key> 175 <key>Legacy</key>
177 <true/> 176 <true/>
178 <key>TailArrow</key> 177 <key>TailArrow</key>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 <dict> 216 <dict>
218 <key>Draws</key> 217 <key>Draws</key>
219 <string>NO</string> 218 <string>NO</string>
220 </dict> 219 </dict>
221 </dict> 220 </dict>
222 <key>Text</key> 221 <key>Text</key>
223 <dict> 222 <dict>
224 <key>Align</key> 223 <key>Align</key>
225 <integer>2</integer> 224 <integer>2</integer>
226 <key>Text</key> 225 <key>Text</key>
227 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\coc oasubrtf400 226 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1265\coc oasubrtf200
228 \cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica;} 227 \cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
229 {\colortbl;\red255\green255\blue255;} 228 {\colortbl;\red255\green255\blue255;}
230 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural\qr 229 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural\qr
231 230
232 \f0\fs24 \cf0 Define an event handler}</string> 231 \f0\fs24 \cf0 Define an event handler}</string>
233 </dict> 232 </dict>
234 </dict> 233 </dict>
235 <dict> 234 <dict>
236 <key>Bounds</key> 235 <key>Bounds</key>
237 <string>{{363, 329.5}, {339, 44.5}}</string> 236 <string>{{363, 329.5}, {339, 44.5}}</string>
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 <dict> 298 <dict>
300 <key>Draws</key> 299 <key>Draws</key>
301 <string>NO</string> 300 <string>NO</string>
302 </dict> 301 </dict>
303 </dict> 302 </dict>
304 <key>Text</key> 303 <key>Text</key>
305 <dict> 304 <dict>
306 <key>Align</key> 305 <key>Align</key>
307 <integer>2</integer> 306 <integer>2</integer>
308 <key>Text</key> 307 <key>Text</key>
309 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\coc oasubrtf400 308 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1265\coc oasubrtf200
310 \cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica;} 309 \cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
311 {\colortbl;\red255\green255\blue255;} 310 {\colortbl;\red255\green255\blue255;}
312 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural\qr 311 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural\qr
313 312
314 \f0\fs24 \cf0 Override a custom element life-cycle method}</string> 313 \f0\fs24 \cf0 Override a custom element life-cycle method}</string>
315 </dict> 314 </dict>
316 </dict> 315 </dict>
317 <dict> 316 <dict>
318 <key>Bounds</key> 317 <key>Bounds</key>
319 <string>{{363, 248}, {157, 69}}</string> 318 <string>{{363, 248}, {157, 69}}</string>
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 <string>NO</string> 395 <string>NO</string>
397 </dict> 396 </dict>
398 </dict> 397 </dict>
399 <key>Text</key> 398 <key>Text</key>
400 <dict> 399 <dict>
401 <key>Align</key> 400 <key>Align</key>
402 <integer>0</integer> 401 <integer>0</integer>
403 <key>Pad</key> 402 <key>Pad</key>
404 <integer>2</integer> 403 <integer>2</integer>
405 <key>Text</key> 404 <key>Text</key>
406 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\coc oasubrtf400 405 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1265\coc oasubrtf200
407 \cocoascreenfonts1{\fonttbl\f0\fnil\fcharset0 HelveticaNeue;} 406 \cocoascreenfonts1{\fonttbl\f0\fnil\fcharset0 HelveticaNeue;}
408 {\colortbl;\red255\green255\blue255;\red128\green0\blue0;} 407 {\colortbl;\red255\green255\blue255;\red128\green0\blue0;}
409 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural 408 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural
410 409
411 \f0\i\b\fs28 \cf2 Save to $tutorial/polymer/images/dart-script-code.png}</string > 410 \f0\i\b\fs28 \cf2 Save to $tutorial/polymer/images/dart-script-code.png}</string >
412 <key>VerticalPad</key> 411 <key>VerticalPad</key>
413 <integer>2</integer> 412 <integer>2</integer>
414 </dict> 413 </dict>
415 <key>Wrap</key> 414 <key>Wrap</key>
416 <string>NO</string> 415 <string>NO</string>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 <string>LineGraphic</string> 453 <string>LineGraphic</string>
455 <key>Head</key> 454 <key>Head</key>
456 <dict> 455 <dict>
457 <key>ID</key> 456 <key>ID</key>
458 <integer>34175</integer> 457 <integer>34175</integer>
459 </dict> 458 </dict>
460 <key>ID</key> 459 <key>ID</key>
461 <integer>34182</integer> 460 <integer>34182</integer>
462 <key>Points</key> 461 <key>Points</key>
463 <array> 462 <array>
464 » » » » <string>{322, 167.96119325331551}</string> 463 » » » » <string>{322, 167.96282984822122}</string>
465 » » » » <string>{350, 168.75556547538793}</string> 464 » » » » <string>{350, 168.7575776822392}</string>
466 </array> 465 </array>
467 <key>Style</key> 466 <key>Style</key>
468 <dict> 467 <dict>
469 <key>stroke</key> 468 <key>stroke</key>
470 <dict> 469 <dict>
471 <key>HeadArrow</key> 470 <key>HeadArrow</key>
472 <string>FilledArrow</string> 471 <string>FilledArrow</string>
473 <key>Legacy</key> 472 <key>Legacy</key>
474 <true/> 473 <true/>
475 <key>TailArrow</key> 474 <key>TailArrow</key>
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 <string>NO</string> 619 <string>NO</string>
621 </dict> 620 </dict>
622 </dict> 621 </dict>
623 <key>Text</key> 622 <key>Text</key>
624 <dict> 623 <dict>
625 <key>Align</key> 624 <key>Align</key>
626 <integer>2</integer> 625 <integer>2</integer>
627 <key>Pad</key> 626 <key>Pad</key>
628 <integer>2</integer> 627 <integer>2</integer>
629 <key>Text</key> 628 <key>Text</key>
630 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\coc oasubrtf400 629 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1265\coc oasubrtf200
631 \cocoascreenfonts1{\fonttbl\f0\fnil\fcharset0 HelveticaNeue;} 630 \cocoascreenfonts1{\fonttbl\f0\fnil\fcharset0 HelveticaNeue;}
632 {\colortbl;\red255\green255\blue255;} 631 {\colortbl;\red255\green255\blue255;}
633 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural\qr 632 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural\qr
634 633
635 \f0\fs24 \cf0 Extend PolymerElement}</string> 634 \f0\fs24 \cf0 Extend PolymerElement}</string>
636 <key>VerticalPad</key> 635 <key>VerticalPad</key>
637 <integer>2</integer> 636 <integer>2</integer>
638 </dict> 637 </dict>
639 <key>Wrap</key> 638 <key>Wrap</key>
640 <string>NO</string> 639 <string>NO</string>
(...skipping 30 matching lines...) Expand all
671 <dict> 670 <dict>
672 <key>Draws</key> 671 <key>Draws</key>
673 <string>NO</string> 672 <string>NO</string>
674 </dict> 673 </dict>
675 </dict> 674 </dict>
676 <key>Text</key> 675 <key>Text</key>
677 <dict> 676 <dict>
678 <key>Align</key> 677 <key>Align</key>
679 <integer>2</integer> 678 <integer>2</integer>
680 <key>Text</key> 679 <key>Text</key>
681 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\coc oasubrtf400 680 » » » » <string>{\rtf1\ansi\ansicpg1252\cocoartf1265\coc oasubrtf200
682 \cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica;} 681 \cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
683 {\colortbl;\red255\green255\blue255;} 682 {\colortbl;\red255\green255\blue255;}
684 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural\qr 683 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx616 0\tx6720\pardirnatural\qr
685 684
686 \f0\fs24 \cf0 Associate this class with a custom element}</string> 685 \f0\fs24 \cf0 Associate this class with a custom element}</string>
687 </dict> 686 </dict>
688 </dict> 687 </dict>
689 </array> 688 </array>
690 <key>GridInfo</key> 689 <key>GridInfo</key>
691 <dict/> 690 <dict/>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 <key>twopiSeparation</key> 726 <key>twopiSeparation</key>
728 <real>0.0</real> 727 <real>0.0</real>
729 </dict> 728 </dict>
730 <key>LinksVisible</key> 729 <key>LinksVisible</key>
731 <string>NO</string> 730 <string>NO</string>
732 <key>MagnetsVisible</key> 731 <key>MagnetsVisible</key>
733 <string>NO</string> 732 <string>NO</string>
734 <key>MasterSheets</key> 733 <key>MasterSheets</key>
735 <array/> 734 <array/>
736 <key>ModificationDate</key> 735 <key>ModificationDate</key>
737 » <string>2013-10-30 16:12:32 +0000</string> 736 » <string>2014-05-29 18:39:08 +0000</string>
738 <key>Modifier</key> 737 <key>Modifier</key>
739 » <string>Mary Campione</string> 738 » <string>Kathy Walrath</string>
740 <key>NotesVisible</key> 739 <key>NotesVisible</key>
741 <string>NO</string> 740 <string>NO</string>
742 <key>Orientation</key> 741 <key>Orientation</key>
743 <integer>2</integer> 742 <integer>2</integer>
744 <key>OriginVisible</key> 743 <key>OriginVisible</key>
745 <string>NO</string> 744 <string>NO</string>
746 <key>PageBreaks</key> 745 <key>PageBreaks</key>
747 <string>YES</string> 746 <string>YES</string>
748 <key>PrintInfo</key> 747 <key>PrintInfo</key>
749 <dict> 748 <dict>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 <key>CurrentSheet</key> 807 <key>CurrentSheet</key>
809 <integer>0</integer> 808 <integer>0</integer>
810 <key>ExpandedCanvases</key> 809 <key>ExpandedCanvases</key>
811 <array> 810 <array>
812 <dict> 811 <dict>
813 <key>name</key> 812 <key>name</key>
814 <string>Canvas 1</string> 813 <string>Canvas 1</string>
815 </dict> 814 </dict>
816 </array> 815 </array>
817 <key>Frame</key> 816 <key>Frame</key>
818 » » <string>{{421, 700}, {1171, 878}}</string> 817 » » <string>{{1250, 606}, {1171, 878}}</string>
819 <key>ListView</key> 818 <key>ListView</key>
820 <true/> 819 <true/>
821 <key>OutlineWidth</key> 820 <key>OutlineWidth</key>
822 <integer>142</integer> 821 <integer>142</integer>
823 <key>RightSidebar</key> 822 <key>RightSidebar</key>
824 <true/> 823 <true/>
825 <key>ShowRuler</key> 824 <key>ShowRuler</key>
826 <true/> 825 <true/>
827 <key>Sidebar</key> 826 <key>Sidebar</key>
828 <false/> 827 <false/>
829 <key>SidebarWidth</key> 828 <key>SidebarWidth</key>
830 <integer>120</integer> 829 <integer>120</integer>
831 <key>VisibleRegion</key> 830 <key>VisibleRegion</key>
832 <string>{{0, 0}, {1000, 724}}</string> 831 <string>{{0, 0}, {1000, 724}}</string>
833 <key>Zoom</key> 832 <key>Zoom</key>
834 <real>1</real> 833 <real>1</real>
835 <key>ZoomValues</key> 834 <key>ZoomValues</key>
836 <array> 835 <array>
837 <array> 836 <array>
838 <string>Canvas 1</string> 837 <string>Canvas 1</string>
839 <real>1</real> 838 <real>1</real>
840 <real>1</real> 839 <real>1</real>
841 </array> 840 </array>
842 </array> 841 </array>
843 </dict> 842 </dict>
844 </dict> 843 </dict>
845 </plist> 844 </plist>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698