update log.js, use Log.Dom engine

This commit is contained in:
Sven Fuchs 2013-03-04 02:31:41 +01:00
parent 3534cc6097
commit 5d885289de
3 changed files with 7 additions and 6 deletions

View File

@ -40,7 +40,8 @@ Travis.reopen
console.log 'log view: create engine' console.log 'log view: create engine'
@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.Logger, new Log.Folds, @scroll]) # @engine = Log.create(listeners: [@limit, new Log.FragmentRenderer, new Log.Logger, new Log.Folds, @scroll])
@engine = Log.create(listeners: [new Log.FragmentRenderer, new Log.Folds])
@observeParts() @observeParts()
@numberLineOnHover() @numberLineOnHover()

File diff suppressed because one or more lines are too long

View File

@ -20,7 +20,7 @@ pre#log
counter-reset: line-numbering counter-reset: line-numbering
p p
padding: 0 15px 0 52px padding: 0 15px 0 55px
margin: 0 margin: 0
min-height: 16px min-height: 16px
&:hover &:hover
@ -30,9 +30,9 @@ pre#log
a a
color: white color: white
a a
display: inline-block // display: inline-block
margin-left: -30px // min-width: 30px
min-width: 30px margin-left: -33px
cursor: pointer cursor: pointer
text-decoration: none text-decoration: none