| 
					
				 | 
			
			
				@@ -6,35 +6,38 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         [data-trap] { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             display: none 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        button { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            font-family: monospace; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <script src="../bower_components/amber/support/amber.js"></script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <script type='text/javascript' src='../bower_components/amber/support/requirejs/require.min.js'></script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <script type="text/javascript"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        var blackboard; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        require.config({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            paths: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                'gh_herby_trapped': '../js', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                'gh_herby_trapped_counter': 'js', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                'gh_herby_trapped_counter/_source': 'st' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        require( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                ["amber/devel", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    "gh_herby_trapped/Trapped-Processors", "gh_herby_trapped_counter/Trapped-Counter" ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                function (smalltalk) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    smalltalk.defaultAmdNamespace = 'gh_herby_trapped_todo'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    smalltalk.initialize(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    $(function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        smalltalk.Browser._openOn_(smalltalk.App); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        blackboard = smalltalk.App._new(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        smalltalk.Trapped._start_([blackboard]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </head> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <body> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<script type="text/javascript"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    var AppEntity; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    require.config({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        paths: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            'gh_herby_trapped': '../js', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            'gh_herby_trapped_counter': 'js', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            'gh_herby_trapped_counter/_source': 'st' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    require( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ["amber/devel", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                "gh_herby_trapped/Trapped-Processors", "gh_herby_trapped_counter/Trapped-Counter" ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            function (smalltalk) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                smalltalk.defaultAmdNamespace = 'gh_herby_trapped_todo'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                smalltalk.initialize(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                $(function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    smalltalk.Browser._openOn_(smalltalk.App); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    AppEntity = smalltalk.App._new(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    smalltalk.Trapped._start_([AppEntity]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-</script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <h2 data-trap="App #value"></h2> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <button data-trap="App: (signal increment) whenClicked">++</button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <button data-trap="App: (signal decrement) whenClicked">--</button> 
			 |