mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Merge branch 'develop' of git://github.com/Pita/etherpad-lite
This commit is contained in:
commit
6120a0b7aa
20 changed files with 1197 additions and 295 deletions
|
@ -29,6 +29,7 @@ Ace2Editor.registry = {
|
|||
};
|
||||
|
||||
var hooks = require('./pluginfw/hooks');
|
||||
var _ = require('./underscore');
|
||||
|
||||
function Ace2Editor()
|
||||
{
|
||||
|
@ -70,7 +71,7 @@ function Ace2Editor()
|
|||
|
||||
function doActionsPendingInit()
|
||||
{
|
||||
$.each(actionsPendingInit, function(i,fn){
|
||||
_.each(actionsPendingInit, function(fn,i){
|
||||
fn()
|
||||
});
|
||||
actionsPendingInit = [];
|
||||
|
@ -87,7 +88,7 @@ function Ace2Editor()
|
|||
'setUserChangeNotificationCallback', 'setAuthorInfo',
|
||||
'setAuthorSelectionRange', 'callWithAce', 'execCommand', 'replaceRange'];
|
||||
|
||||
$.each(aceFunctionsPendingInit, function(i,fnName){
|
||||
_.each(aceFunctionsPendingInit, function(fnName,i){
|
||||
var prefix = 'ace_';
|
||||
var name = prefix + fnName;
|
||||
editor[fnName] = pendingInit(function(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue