anchor.diff:  element of the component. The [methodname]#this.getState()# returns a shared
   state object with the current state as synchronized from the server-side.
   
  -
  +[source,javascript]
   ----
   window.com_vaadin_book_examples_client_js_MyComponent =
   function() {
  
positive.code: 
  The shared state of the component is as follows:
  
  
  ----
  public class MyComponentState extends JavaScriptComponentState {
      public String value;
  
negative.code: 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() {
  