kopia lustrzana https://github.com/c9/core
added a suggestion from andrew and boyscouting
rodzic
f00eee5e8b
commit
f3cb3f8f6a
|
@ -330,7 +330,7 @@ define(function(require, module, exports) {
|
||||||
get editor(){ return editor; },
|
get editor(){ return editor; },
|
||||||
set editor(v) {
|
set editor(v) {
|
||||||
editor = v;
|
editor = v;
|
||||||
emit("setEditor", {editor: v});
|
emit("setEditor", { editor: v });
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Whether the document is fully loaded
|
* Whether the document is fully loaded
|
||||||
|
@ -340,7 +340,7 @@ define(function(require, module, exports) {
|
||||||
set ready(v) {
|
set ready(v) {
|
||||||
if (ready) throw new Error("Permission Denied");
|
if (ready) throw new Error("Permission Denied");
|
||||||
ready = true;
|
ready = true;
|
||||||
emit.sticky("ready");
|
emit.sticky("ready", { doc: plugin });
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* The tooltip displayed when hovering over the tab button
|
* The tooltip displayed when hovering over the tab button
|
||||||
|
@ -349,7 +349,7 @@ define(function(require, module, exports) {
|
||||||
get tooltip(){ return tooltip; },
|
get tooltip(){ return tooltip; },
|
||||||
set tooltip(v) {
|
set tooltip(v) {
|
||||||
tooltip = v;
|
tooltip = v;
|
||||||
emit("setTooltip", {tooltip: v});
|
emit("setTooltip", { tooltip: v });
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* The title of the document (displayed as caption of the tab button)
|
* The title of the document (displayed as caption of the tab button)
|
||||||
|
@ -358,7 +358,7 @@ define(function(require, module, exports) {
|
||||||
get title(){ return title; },
|
get title(){ return title; },
|
||||||
set title(v) {
|
set title(v) {
|
||||||
title = v;
|
title = v;
|
||||||
emit("setTitle", {title: v});
|
emit("setTitle", { title: v });
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Sets or retrieves the serialized value of this document.
|
* Sets or retrieves the serialized value of this document.
|
||||||
|
@ -380,7 +380,7 @@ define(function(require, module, exports) {
|
||||||
},
|
},
|
||||||
set value(v) {
|
set value(v) {
|
||||||
value = recentValue = v;
|
value = recentValue = v;
|
||||||
emit("setValue", {value: v});
|
emit("setValue", { value: v });
|
||||||
hasValue = true;
|
hasValue = true;
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
|
Ładowanie…
Reference in New Issue