mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
Remove dependencies on native map
.
This commit is contained in:
parent
f010f3ae9d
commit
3678625c7c
6 changed files with 16 additions and 23 deletions
|
@ -26,6 +26,7 @@
|
|||
// requires: undefined
|
||||
|
||||
var plugins = require('/plugins').plugins;
|
||||
var map = require('/ace2_common').map;
|
||||
|
||||
var domline = {};
|
||||
domline.noop = function()
|
||||
|
@ -144,10 +145,10 @@ domline.createDomLine = function(nonEmpty, doesWrap, optBrowser, optDocument)
|
|||
|
||||
var plugins_ = plugins;
|
||||
|
||||
plugins_.callHook("aceCreateDomLine", {
|
||||
map(plugins_.callHook("aceCreateDomLine", {
|
||||
domline: domline,
|
||||
cls: cls
|
||||
}).map(function(modifier)
|
||||
}), function(modifier)
|
||||
{
|
||||
cls = modifier.cls;
|
||||
extraOpenTags = extraOpenTags + modifier.extraOpenTags;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue