Console scrolls with log.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user