mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-26 08:03:17 +03:00
2 spaces
This commit is contained in:
parent
97d079bd8f
commit
3529b7e133
@ -4,6 +4,8 @@ editor = ace.edit "editor"
|
||||
editor.setTheme "ace/theme/twilight"
|
||||
JavaScriptMode = require("ace/mode/javascript").Mode
|
||||
editor.getSession().setMode new JavaScriptMode
|
||||
editor.getSession().setUseSoftTabs true
|
||||
editor.getSession().setTabSize 2
|
||||
|
||||
filename = null
|
||||
save = ->
|
||||
|
@ -5,6 +5,8 @@
|
||||
editor.setTheme("ace/theme/twilight");
|
||||
JavaScriptMode = require("ace/mode/javascript").Mode;
|
||||
editor.getSession().setMode(new JavaScriptMode);
|
||||
editor.getSession().setUseSoftTabs(true);
|
||||
editor.getSession().setTabSize(2);
|
||||
filename = null;
|
||||
save = function() {
|
||||
var str;
|
||||
|
Loading…
Reference in New Issue
Block a user