remove limit for now and update log.js
This commit is contained in:
parent
ffe6f2d62c
commit
93edf5b63c
|
@ -42,7 +42,7 @@ Travis.reopen
|
||||||
console.log 'log view: create engine' if Log.DEBUG
|
console.log 'log view: create engine' if Log.DEBUG
|
||||||
@limit = new Log.Limit
|
@limit = new Log.Limit
|
||||||
@scroll = new Log.Scroll
|
@scroll = new Log.Scroll
|
||||||
@engine = Log.create(listeners: [@limit, new Log.FragmentRenderer, new Log.Folds, @scroll])
|
@engine = Log.create(listeners: [new Log.FragmentRenderer, new Log.Folds, @scroll])
|
||||||
@observeParts()
|
@observeParts()
|
||||||
@numberLineOnHover()
|
@numberLineOnHover()
|
||||||
|
|
||||||
|
@ -55,6 +55,7 @@ Travis.reopen
|
||||||
partsDidChange: (parts, start, _, added) ->
|
partsDidChange: (parts, start, _, added) ->
|
||||||
console.log 'log view: parts did change' if Log.DEBUG
|
console.log 'log view: parts did change' if Log.DEBUG
|
||||||
for part, i in parts.slice(start, start + added)
|
for part, i in parts.slice(start, start + added)
|
||||||
|
# console.log "limit in log view: #{@get('limited')}"
|
||||||
break if @get('limited')
|
break if @get('limited')
|
||||||
@engine.set(part.number, part.content)
|
@engine.set(part.number, part.content)
|
||||||
@propertyDidChange('limited')
|
@propertyDidChange('limited')
|
||||||
|
|
2
assets/scripts/vendor/log.js
vendored
2
assets/scripts/vendor/log.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user