feature(edit) fontSize: style -> setOption

This commit is contained in:
coderaiser 2015-06-17 07:43:37 -04:00
parent ebb4ce2479
commit 90cc76e6c7
2 changed files with 7 additions and 4 deletions

View file

@ -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);
}

View file

@ -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",