   result = err ? text : content; 
            }); 
            return result;
        }
    } else {
        throw new Error("renderer need mode: rmContent");
    }
};

const EditMode = Object.create(null);
EditMode.emNone = 0;
EditMode.emContainer = 1;
EditMode.emGnav = 2;
EditMode.emArticleEdit = 3;

const UpdateMode = Object.create(null);
UpdateMode.umNone = 0;
UpdateMode.umReady = 1;
UpdateMode.umBusy = 2;

var req = new XMLHttpRequest();
var renderer = new Renderer();
var editMode = EditMode.emNone;
v