diff options
author | Matthias Bartelmeß <mba@fourplusone.de> | 2012-03-18 09:05:46 +0100 |
---|---|---|
committer | Matthias Bartelmeß <mba@fourplusone.de> | 2012-03-18 09:05:46 +0100 |
commit | 8eb43a3ebf7c1b7bd5474d8abff4223b995e911b (patch) | |
tree | f073645465a5e53e5463a76d353772a1b16f2e96 /src/node/db/Pad.js | |
parent | cccd8a923cfa21c7e248a2a5fcffa54caf512e0b (diff) | |
download | etherpad-lite-8eb43a3ebf7c1b7bd5474d8abff4223b995e911b.zip |
replaceing AttributePoolFactory by AttributePool
Diffstat (limited to 'src/node/db/Pad.js')
-rw-r--r-- | src/node/db/Pad.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node/db/Pad.js b/src/node/db/Pad.js index b69780a4..c384f172 100644 --- a/src/node/db/Pad.js +++ b/src/node/db/Pad.js @@ -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; |