Spring cleanup
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
overflow: hidden;
|
||||
line-height: 150%;
|
||||
font-size: 11px;
|
||||
font-family: Lucida Console, Monaco, Nimbus Mono L;
|
||||
font-family: Lucida Console, Monaco, Nimbus Mono L, monospace, serif;
|
||||
}
|
||||
|
||||
.page.log .container .error {
|
||||
|
||||
@@ -42,7 +42,7 @@ Page.Log = new Class({
|
||||
}
|
||||
}
|
||||
}).inject(nav);
|
||||
};
|
||||
}
|
||||
|
||||
new Element('li', {
|
||||
'text': 'clear',
|
||||
@@ -63,7 +63,6 @@ Page.Log = new Class({
|
||||
},
|
||||
|
||||
addColors: function(text){
|
||||
var self = this;
|
||||
|
||||
text = text
|
||||
.replace(/&/g, '&')
|
||||
@@ -74,9 +73,9 @@ Page.Log = new Class({
|
||||
.replace(/\u001b\[36m/gi, '</span><span class="debug">')
|
||||
.replace(/\u001b\[33m/gi, '</span><span class="debug">')
|
||||
.replace(/\u001b\[0m\n/gi, '</div><div class="time">')
|
||||
.replace(/\u001b\[0m/gi, '</span><span>')
|
||||
.replace(/\u001b\[0m/gi, '</span><span>');
|
||||
|
||||
return '<div class="time">' + text + '</div>';
|
||||
}
|
||||
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user