update log.js, use Log.Dom engine
This commit is contained in:
parent
3534cc6097
commit
5d885289de
|
@ -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()
|
||||||
|
|
||||||
|
|
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
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user