anchor.diff:  Continuing from the server-side [classname]#MyComponent# example we defined
   earlier, we add a constructor to it that registers the function.
   
  -
  +[source,java]
   ----
   public MyComponent() {
       addFunction("onClick", new JavaScriptFunction() {
  
positive.code: how it would be used from a server-side Vaadin application. The component should
  support writing the value as well as listening for changes to it.
  
  
  ----
  final MyComponent mycomponent = new MyComponent();
  
  
negative.code: constructor function of the JavaScript connector, you could write as follows
  (the complete connector code was given earlier):
  
  [source,javascript]
  ----
  window.com_vaadin_book_examples_gwt_js_MyComponent =
      function() {
  