kopia lustrzana https://github.com/c9/core
commit
9672785b2a
|
@ -2047,7 +2047,7 @@ define(function(require, exports, module) {
|
||||||
function getOption(name, c9Session) {
|
function getOption(name, c9Session) {
|
||||||
var session = (c9Session || currentSession).session;
|
var session = (c9Session || currentSession).session;
|
||||||
|
|
||||||
if (name == "synax")
|
if (name == "syntax")
|
||||||
return session && session.syntax;
|
return session && session.syntax;
|
||||||
else if (name == "useWrapMode")
|
else if (name == "useWrapMode")
|
||||||
return session && session.getOption("wrap") !== "off";
|
return session && session.getOption("wrap") !== "off";
|
||||||
|
|
Ładowanie…
Reference in New Issue