mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 01:16:15 -04:00
kinda brutal way of stopping plugins being able to pass *s instead of attributes
This commit is contained in:
parent
a67a0950dd
commit
626ee97669
2 changed files with 6 additions and 2 deletions
|
@ -146,12 +146,12 @@ exports.getPad = function(id, text, callback)
|
|||
else
|
||||
{
|
||||
pad = new Pad(id);
|
||||
|
||||
|
||||
//initalize the pad
|
||||
pad.init(text, function(err)
|
||||
{
|
||||
if(ERR(err, callback)) return;
|
||||
|
||||
console.warn(pad);
|
||||
globalPads.set(id, pad);
|
||||
callback(null, pad);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue