summaryrefslogtreecommitdiff
path: root/src/static/js/changesettracker.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/static/js/changesettracker.js')
-rw-r--r--src/static/js/changesettracker.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/static/js/changesettracker.js b/src/static/js/changesettracker.js
index b0219852..58ef21cb 100644
--- a/src/static/js/changesettracker.js
+++ b/src/static/js/changesettracker.js
@@ -20,7 +20,7 @@
* limitations under the License.
*/
-var AttribPool = require('./AttributePoolFactory').createAttributePool;
+var AttributePool = require('./AttributePool');
var Changeset = require('./Changeset');
function makeChangesetTracker(scheduler, apool, aceCallbacksProvider)
@@ -83,7 +83,7 @@ function makeChangesetTracker(scheduler, apool, aceCallbacksProvider)
baseAText = Changeset.cloneAText(atext);
if (apoolJsonObj)
{
- var wireApool = (new AttribPool()).fromJsonable(apoolJsonObj);
+ var wireApool = (new AttributePool()).fromJsonable(apoolJsonObj);
baseAText.attribs = Changeset.moveOpsToNewPool(baseAText.attribs, wireApool, apool);
}
submittedChangeset = null;
@@ -117,7 +117,7 @@ function makeChangesetTracker(scheduler, apool, aceCallbacksProvider)
if (apoolJsonObj)
{
- var wireApool = (new AttribPool()).fromJsonable(apoolJsonObj);
+ var wireApool = (new AttributePool()).fromJsonable(apoolJsonObj);
c = Changeset.moveOpsToNewPool(c, wireApool, apool);
}