anchor.diff:    }
   
     void _commit() {
  -    String username = (getElement('#gitUsername') as InputElement).value;
  -    String password = (getElement('#gitPassword') as InputElement).value;
  -    String encoded = JSON.encode({'username': username, 'password': password});
  +    final String username = (getElement('#gitUsername') as InputElement).value;
  +    final String password = (getElement('#gitPassword') as InputElement).value;
  +    final String encoded =
  +        JSON.encode({'username': username, 'password': password});
       spark.syncPrefs.setValue("git-auth-info", encoded).then((_) {
         completer.complete({'username': username, 'password': password});
         completer = null;
  
positive.code:   }
  
    void _commit() {
      var name = _nameElement.value.trim();
      if (name.isNotEmpty) {
        spark.projectLocationManager.createNewFolder(name)
            .then((LocationResult location) {
  
negative.code:   }
  
    void _commit() {
      final String name = _nameElement.value;
      if (name.isNotEmpty) {
        folder.createNewFolder(name).then((folder) {
          // Delay a bit to allow the files view to process the new file event.
  