mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(edit) fontSize: style -> setOption
This commit is contained in:
parent
ebb4ce2479
commit
90cc76e6c7
2 changed files with 7 additions and 4 deletions
|
|
@ -58,7 +58,7 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO, Format, edward;
|
|||
style :
|
||||
'width : 100%;' +
|
||||
'height : 100%;' +
|
||||
'font : 16px "Droid Sans Mono";' +
|
||||
'font-family: "Droid Sans Mono";' +
|
||||
'position : absolute;',
|
||||
notAppend : true
|
||||
});
|
||||
|
|
@ -87,7 +87,10 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO, Format, edward;
|
|||
edward.setValueFirst(path, data);
|
||||
|
||||
setMsgChanged(name);
|
||||
edward.setModeForPath(name);
|
||||
|
||||
edward
|
||||
.setModeForPath(name)
|
||||
.setOption('fontSize', 16);
|
||||
|
||||
CloudCmd.View.show(Element, ConfigView);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@
|
|||
"checkup": "~1.3.0",
|
||||
"console-io": "~2.2.0",
|
||||
"copymitter": "~1.8.0",
|
||||
"dword": "~1.6.0",
|
||||
"edward": "~1.6.0",
|
||||
"dword": "~1.7.0",
|
||||
"edward": "~1.7.0",
|
||||
"execon": "~1.2.0",
|
||||
"express": "~4.12.0",
|
||||
"faust": "~1.0.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue