X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/024b97c5076d1c644fe84b250882569923b67c0c..d3fd5fd6d85f953352144f569e910dc6237bd66f:/client/lualibs/htmlskel.lua?ds=inline diff --git a/client/lualibs/htmlskel.lua b/client/lualibs/htmlskel.lua index b468eb2d..f216df1e 100644 --- a/client/lualibs/htmlskel.lua +++ b/client/lualibs/htmlskel.lua @@ -135,7 +135,7 @@ local skel_1 = [[ add("04,,,Smart MX with 7 byte UID,0D48"); add("04,,,Smart MX with 7 byte UID,0E48"); add("04,,,Smart MX with 7 byte UID,0F48"); -</script> + </script> <style> * { @@ -215,6 +215,7 @@ local skel_1 = [[ return {info: info, highlighter : ndefHighligheter } }, + function(data) {//This is the catch-all return {info: {type : "Unknown"}, highlighter : noHighlighter} @@ -312,12 +313,10 @@ local skel_1 = [[ if(line < 128){ linesPerSector = 4; - }else - { + } else { //Quadruple size sectors linesPerSector = 16; line = line - 128; - } if(line % linesPerSector == 0) @@ -340,8 +339,6 @@ local skel_1 = [[ } }; - - </script> </head>