| Index: src/diagrams/tutorials/polymer-intro/dart-script-code.graffle
|
| diff --git a/src/diagrams/tutorials/polymer-intro/dart-script-code.graffle b/src/diagrams/tutorials/polymer-intro/dart-script-code.graffle
|
| index af7f7350dc08e4a7ee626e7bfad4d471dbb4f8f9..eb8987f4547929cb8bd8d2e3344b571e73a4ed36 100644
|
| --- a/src/diagrams/tutorials/polymer-intro/dart-script-code.graffle
|
| +++ b/src/diagrams/tutorials/polymer-intro/dart-script-code.graffle
|
| @@ -53,7 +53,7 @@
|
| <array>
|
| <dict>
|
| <key>Bounds</key>
|
| - <string>{{346, 104.5}, {356, 234}}</string>
|
| + <string>{{346, 104.5}, {356, 290}}</string>
|
| <key>Class</key>
|
| <string>ShapedGraphic</string>
|
| <key>FitText</key>
|
| @@ -87,7 +87,7 @@
|
| <key>Align</key>
|
| <integer>0</integer>
|
| <key>Text</key>
|
| - <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
|
| + <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf400
|
| \cocoascreenfonts1{\fonttbl\f0\fmodern\fcharset0 CourierNewPSMT;}
|
| {\colortbl;\red255\green255\blue255;}
|
| \deftab720
|
| @@ -99,9 +99,15 @@ import 'package:polymer/polymer.dart';\
|
| \
|
| @CustomTag('tute-stopwatch')\
|
| class TuteStopwatch extends PolymerElement \{\
|
| +\pard\pardeftab720
|
| +\cf0 @observable String counter='00:00';\
|
| +\pard\pardeftab720
|
| +\cf0 \
|
| + TuteStopwatch.created() : super.created();\
|
| \
|
| - void inserted() \{\
|
| - super.inserted();\
|
| + @override\
|
| + void enteredView() \{\
|
| + super.enteredView();\
|
| ...\
|
| \}\
|
| \
|
| @@ -125,8 +131,8 @@ class TuteStopwatch extends PolymerElement \{\
|
| <integer>34204</integer>
|
| <key>Points</key>
|
| <array>
|
| - <string>{322, 304.1202006483752}</string>
|
| - <string>{363, 304.21683254216708}</string>
|
| + <string>{322, 347.98744514855662}</string>
|
| + <string>{363, 348.56170402927751}</string>
|
| </array>
|
| <key>Style</key>
|
| <dict>
|
| @@ -158,8 +164,8 @@ class TuteStopwatch extends PolymerElement \{\
|
| <integer>34203</integer>
|
| <key>Points</key>
|
| <array>
|
| - <string>{322, 235.03107666079367}</string>
|
| - <string>{363, 234.88261444529206}</string>
|
| + <string>{322, 280.69319665572368}</string>
|
| + <string>{363, 281.2292666393891}</string>
|
| </array>
|
| <key>Style</key>
|
| <dict>
|
| @@ -181,7 +187,7 @@ class TuteStopwatch extends PolymerElement \{\
|
| </dict>
|
| <dict>
|
| <key>Bounds</key>
|
| - <string>{{220, 297}, {102, 14}}</string>
|
| + <string>{{181, 340}, {141, 14}}</string>
|
| <key>Class</key>
|
| <string>ShapedGraphic</string>
|
| <key>ID</key>
|
| @@ -218,17 +224,17 @@ class TuteStopwatch extends PolymerElement \{\
|
| <key>Align</key>
|
| <integer>2</integer>
|
| <key>Text</key>
|
| - <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
|
| + <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf400
|
| \cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
|
| {\colortbl;\red255\green255\blue255;}
|
| \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qr
|
|
|
| -\f0\fs24 \cf0 An event handler}</string>
|
| +\f0\fs24 \cf0 Define an event handler}</string>
|
| </dict>
|
| </dict>
|
| <dict>
|
| <key>Bounds</key>
|
| - <string>{{363, 275.5}, {339, 44.5}}</string>
|
| + <string>{{363, 329.5}, {339, 44.5}}</string>
|
| <key>Class</key>
|
| <string>ShapedGraphic</string>
|
| <key>ID</key>
|
| @@ -263,7 +269,7 @@ class TuteStopwatch extends PolymerElement \{\
|
| </dict>
|
| <dict>
|
| <key>Bounds</key>
|
| - <string>{{63, 228.5}, {259, 14}}</string>
|
| + <string>{{63, 272}, {259, 14}}</string>
|
| <key>Class</key>
|
| <string>ShapedGraphic</string>
|
| <key>ID</key>
|
| @@ -300,17 +306,17 @@ class TuteStopwatch extends PolymerElement \{\
|
| <key>Align</key>
|
| <integer>2</integer>
|
| <key>Text</key>
|
| - <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
|
| + <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf400
|
| \cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
|
| {\colortbl;\red255\green255\blue255;}
|
| \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qr
|
|
|
| -\f0\fs24 \cf0 Overrides a custom element life-cycle method}</string>
|
| +\f0\fs24 \cf0 Override a custom element life-cycle method}</string>
|
| </dict>
|
| </dict>
|
| <dict>
|
| <key>Bounds</key>
|
| - <string>{{363, 207}, {157, 56}}</string>
|
| + <string>{{363, 248}, {157, 69}}</string>
|
| <key>Class</key>
|
| <string>ShapedGraphic</string>
|
| <key>ID</key>
|
| @@ -397,7 +403,7 @@ class TuteStopwatch extends PolymerElement \{\
|
| <key>Pad</key>
|
| <integer>2</integer>
|
| <key>Text</key>
|
| - <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
|
| + <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf400
|
| \cocoascreenfonts1{\fonttbl\f0\fnil\fcharset0 HelveticaNeue;}
|
| {\colortbl;\red255\green255\blue255;\red128\green0\blue0;}
|
| \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
|
| @@ -421,7 +427,7 @@ class TuteStopwatch extends PolymerElement \{\
|
| <integer>34183</integer>
|
| <key>Points</key>
|
| <array>
|
| - <string>{322, 192.23469387755102}</string>
|
| + <string>{322, 191.76792452830188}</string>
|
| <string>{388, 196.5}</string>
|
| <string>{495, 188.95814977973569}</string>
|
| </array>
|
| @@ -455,8 +461,8 @@ class TuteStopwatch extends PolymerElement \{\
|
| <integer>34182</integer>
|
| <key>Points</key>
|
| <array>
|
| - <string>{322, 167.95868682022004}</string>
|
| - <string>{350, 168.7524837953525}</string>
|
| + <string>{322, 167.96119325331551}</string>
|
| + <string>{350, 168.75556547538793}</string>
|
| </array>
|
| <key>Style</key>
|
| <dict>
|
| @@ -562,7 +568,7 @@ class TuteStopwatch extends PolymerElement \{\
|
| </dict>
|
| <dict>
|
| <key>Bounds</key>
|
| - <string>{{160, 177.5}, {162, 19}}</string>
|
| + <string>{{189, 177.5}, {133, 19}}</string>
|
| <key>Class</key>
|
| <string>ShapedGraphic</string>
|
| <key>FitText</key>
|
| @@ -621,12 +627,12 @@ class TuteStopwatch extends PolymerElement \{\
|
| <key>Pad</key>
|
| <integer>2</integer>
|
| <key>Text</key>
|
| - <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
|
| + <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf400
|
| \cocoascreenfonts1{\fonttbl\f0\fnil\fcharset0 HelveticaNeue;}
|
| {\colortbl;\red255\green255\blue255;}
|
| \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qr
|
|
|
| -\f0\fs24 \cf0 Must extend PolymerElement}</string>
|
| +\f0\fs24 \cf0 Extend PolymerElement}</string>
|
| <key>VerticalPad</key>
|
| <integer>2</integer>
|
| </dict>
|
| @@ -672,12 +678,12 @@ class TuteStopwatch extends PolymerElement \{\
|
| <key>Align</key>
|
| <integer>2</integer>
|
| <key>Text</key>
|
| - <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
|
| + <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf400
|
| \cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
|
| {\colortbl;\red255\green255\blue255;}
|
| \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qr
|
|
|
| -\f0\fs24 \cf0 Associates this class with a custom element}</string>
|
| +\f0\fs24 \cf0 Associate this class with a custom element}</string>
|
| </dict>
|
| </dict>
|
| </array>
|
| @@ -728,7 +734,7 @@ class TuteStopwatch extends PolymerElement \{\
|
| <key>MasterSheets</key>
|
| <array/>
|
| <key>ModificationDate</key>
|
| - <string>2013-10-09 23:50:02 +0000</string>
|
| + <string>2013-10-30 16:12:32 +0000</string>
|
| <key>Modifier</key>
|
| <string>Mary Campione</string>
|
| <key>NotesVisible</key>
|
| @@ -809,7 +815,7 @@ class TuteStopwatch extends PolymerElement \{\
|
| </dict>
|
| </array>
|
| <key>Frame</key>
|
| - <string>{{66, 145}, {1171, 878}}</string>
|
| + <string>{{421, 700}, {1171, 878}}</string>
|
| <key>ListView</key>
|
| <true/>
|
| <key>OutlineWidth</key>
|
|
|