mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
fixing 'rep is not defined' error
This commit is contained in:
parent
ff9e407092
commit
9b1536ac10
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ AttributeManager.prototype = _(AttributeManager.prototype).extend({
|
||||||
*/
|
*/
|
||||||
setAttributesOnRange: function(start, end, attribs)
|
setAttributesOnRange: function(start, end, attribs)
|
||||||
{
|
{
|
||||||
var builder = Changeset.builder(rep.lines.totalWidth());
|
var builder = Changeset.builder(this.rep.lines.totalWidth());
|
||||||
ChangesetUtils.buildKeepToStartOfRange(rep, builder, start);
|
ChangesetUtils.buildKeepToStartOfRange(this.rep, builder, start);
|
||||||
ChangesetUtils.buildKeepRange(this.rep, builder, start, end, attribs, this.rep.apool);
|
ChangesetUtils.buildKeepRange(this.rep, builder, start, end, attribs, this.rep.apool);
|
||||||
return this.applyChangeset(builder);
|
return this.applyChangeset(builder);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue