зачаток
This commit is contained in:
commit
c9b8f758af
9 files changed
+146
No files matched your search
@@ -0,0 +1,17 @@
|
||||
function Редактор(имяОбласти)
|
||||
{
|
||||
this.создать = function()
|
||||
{
|
||||
this.установитьAce();
|
||||
};
|
||||
|
||||
this.установитьAce = function()
|
||||
{
|
||||
var область = document.getElementById(имяОбласти);
|
||||
this.ace = window.ace.edit(имяОбласти);
|
||||
this.ace.session.setMode("ace/mode/javascript");
|
||||
}
|
||||
|
||||
// Конструктор.
|
||||
this.создать();
|
||||
}
|
||||
Reference in new issue
Block a user