anchor.diff:    static Map<JsObject, CodeMirror> _instances = {};
   
     static List<String> get MODES => keys(_cm['modes'])
  -      .where((modeName) => modeName != 'null').toList();
  -
  -  static List<String> get MIME_MODES => keys(_cm['mimeModes']);
  -
  -  static List<String> get COMMANDS => keys(_cm['commands']);
  +      .where((modeName) => modeName != 'null').toList() as List<String>;
  +
  +  static List<String> get MIME_MODES => keys(_cm['mimeModes']) as List<String>;
  +
  +  static List<String> get COMMANDS => keys(_cm['commands']) as List<String>;
   
     /**
      * It contains a string that indicates the version of the library. This is a
  
positive.code:   List<TextMarker> findMarks(Position from, Position to) {
      var result = callArgs('findMarks', [from.toProxy(), to.toProxy()]);
      if (result is! List) return [];
      return result.map((mark) => new TextMarker(mark)).toList();
    }
  
    /**
  
negative.code:    * Fired when a mouse is clicked. You can preventDefault the event to signal
     * that CodeMirror should do no further handling.
     */
    Stream<MouseEvent> get onMouseDown => onEvent('mousedown', true) as Stream<MouseEvent>;
  
    /**
     * Fired when a mouse is double-clicked. You can preventDefault the event to
     * signal that CodeMirror should do no further handling.
     */
    Stream<MouseEvent> get onDoubleClick => onEvent('dblclick', true) as Stream<MouseEvent>;
  
    //Stream<MouseEvent> get onContextMenu => onEvent('contextmenu', true);
  
  