Console scrolls with log.

This commit is contained in:
Ben Vanik
2013-12-23 20:03:03 -08:00
parent 98efc7ddfa
commit e8d45d80e7
3 changed files with 17 additions and 6 deletions

View File

@@ -12,11 +12,11 @@
var module = angular.module('xe.filters', []);
module.filter("hex32", function() {
module.filter('hex32', function() {
return function(number) {
if (number !== null && number !== undefined) {
var str = "" + number.toString(16).toUpperCase();
while (str.length < 8) str = "0" + str;
var str = '' + number.toString(16).toUpperCase();
while (str.length < 8) str = '0' + str;
return str;
}
};