anchor.diff:    num winScale()
     {
       num hScale = document.window.innerHeight / mCfg.height;
  -    num scale = document.window.innerWidth / mCfg.width;
  -    if (hScale < scale) scale = hScale;
  -    
  -    if (mCfg.maxScale != null && scale > mCfg.maxScale) scale = mCfg.maxScale;
  -    if (mCfg.minScale != null && scale < mCfg.minScale) scale = mCfg.minScale;
  -    
  +    num wScale = document.window.innerWidth / mCfg.width;
  +    num scale = Math.min(hScale,wScale);
  +    scale = Math.min(mCfg.maxScale,scale);
  +    scale = Math.max(mCfg.minScale,scale);
       return scale;
     }
     
  
positive.code:   
    num getAttribute(Element root, String a, num def) =>
        (root.attributes[a] == null) ?
          def : Math.parseDouble(root.attributes[a]);
    
    Config(Element root)
    {
  
negative.code:   }, 250));
   
  }
  
  /**
   * Throttling function calls
   */
  throttle(fn, int delay) {
    int handle = 0;
    return (args) {
      window.clearTimeout(handle);
      handle = window.setTimeout(() => fn(args), delay);
    };
  }
  
  