kopia lustrzana https://github.com/c9/core
Rename defaultEditor to defaultEnvEditor
rodzic
a6552c1659
commit
8b36b051d3
|
@ -47,7 +47,7 @@ define(function(require, exports, module) {
|
||||||
|
|
||||||
settings.on("read", function(e) {
|
settings.on("read", function(e) {
|
||||||
settings.setDefaults("user/terminal", [
|
settings.setDefaults("user/terminal", [
|
||||||
["defaultEditor", "false"]
|
["defaultEnvEditor", "false"]
|
||||||
]);
|
]);
|
||||||
}, plugin);
|
}, plugin);
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ define(function(require, exports, module) {
|
||||||
"Terminal" : {
|
"Terminal" : {
|
||||||
"Use Cloud9 as the Default Editor" : {
|
"Use Cloud9 as the Default Editor" : {
|
||||||
type: "checkbox",
|
type: "checkbox",
|
||||||
path: "user/terminal/@defaultEditor",
|
path: "user/terminal/@defaultEnvEditor",
|
||||||
position: 14000
|
position: 14000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -751,7 +751,7 @@ define(function(require, exports, module) {
|
||||||
session.__defineGetter__("tab", function(){ return doc.tab });
|
session.__defineGetter__("tab", function(){ return doc.tab });
|
||||||
session.__defineGetter__("doc", function(){ return doc });
|
session.__defineGetter__("doc", function(){ return doc });
|
||||||
session.__defineGetter__("defaultEditor", function(){
|
session.__defineGetter__("defaultEditor", function(){
|
||||||
return settings.getBool("user/terminal/@defaultEditor");
|
return settings.getBool("user/terminal/@defaultEnvEditor");
|
||||||
});
|
});
|
||||||
|
|
||||||
session.attach = function(){
|
session.attach = function(){
|
||||||
|
|
Ładowanie…
Reference in New Issue