|
|
@@ -29,6 +29,7 @@ export default class Crowi {
|
|
|
this.document = window.document || {};
|
|
|
this.localStorage = window.localStorage || {};
|
|
|
this.socketClientId = Math.floor(Math.random() * 100000);
|
|
|
+ this.page = undefined;
|
|
|
this.pageEditor = undefined;
|
|
|
|
|
|
this.fetchUsers = this.fetchUsers.bind(this);
|
|
|
@@ -69,6 +70,10 @@ export default class Crowi {
|
|
|
return this.config;
|
|
|
}
|
|
|
|
|
|
+ setPage(page) {
|
|
|
+ this.page = page;
|
|
|
+ }
|
|
|
+
|
|
|
setPageEditor(pageEditor) {
|
|
|
this.pageEditor = pageEditor;
|
|
|
}
|