This commit is contained in:
Fabian Jakobs 2011-12-05 18:53:44 +01:00
commit 633fbfdb31
12 changed files with 87 additions and 47 deletions

View file

@ -70,7 +70,7 @@ window.__ace_shadowed__.edit = function(el) {
});
el.env = env;
return editor;
}
};
/**
@ -266,13 +266,13 @@ window.__ace_shadowed__.transformTextarea = function(element) {
editorDiv.appendChild(settingOpener);
// Create the API.
var api = setupApi(editor, editorDiv, settingDiv, ace, options)
var api = setupApi(editor, editorDiv, settingDiv, ace, options);
// Create the setting's panel.
setupSettingPanel(settingDiv, settingOpener, api, options);
return api;
}
};
function setupApi(editor, editorDiv, settingDiv, ace, options) {
var session = editor.getSession();