mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
replaceing AttributePoolFactory by AttributePool
This commit is contained in:
parent
cccd8a923c
commit
8eb43a3ebf
11 changed files with 90 additions and 89 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
var ERR = require("async-stacktrace");
|
||||
var Changeset = require("ep_etherpad-lite/static/js/Changeset");
|
||||
var AttributePoolFactory = require("ep_etherpad-lite/static/js/AttributePoolFactory");
|
||||
var AttributePool = require("ep_etherpad-lite/static/js/AttributePool");
|
||||
var randomString = require('ep_etherpad-lite/static/js/pad_utils').randomString;
|
||||
var db = require("./DB").db;
|
||||
var async = require("async");
|
||||
|
@ -28,7 +28,7 @@ exports.cleanText = function (txt) {
|
|||
var Pad = function Pad(id) {
|
||||
|
||||
this.atext = Changeset.makeAText("\n");
|
||||
this.pool = AttributePoolFactory.createAttributePool();
|
||||
this.pool = new AttributePool();
|
||||
this.head = -1;
|
||||
this.chatHead = -1;
|
||||
this.publicStatus = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue