fix a bug

This commit is contained in:
Christine Dodrill 2015-06-15 16:14:50 -07:00
parent 8404630ee7
commit aa1a2ec9a1
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ class Buffer
@data = {}
add: (line) =>
if #data == @limit
if #@data == @limit
table.remove @data, 0
table.insert @data, line