(event:Event)
| 602 | method.app.options(event); |
| 603 | }, |
| 604 | numeric = function dom_load_numeric(event:Event):void { |
| 605 | const el:HTMLInputElement = <HTMLInputElement>event.srcElement || <HTMLInputElement>event.target; |
| 606 | let val = el.value, |
| 607 | negative:boolean = (/^(\s*-)/).test(val), |
| 608 | split:string[] = val.replace(/\s|-/g, "").split("."); |
| 609 | if (split.length > 1) { |
| 610 | val = `${split[0].replace(/\D/g, "")}.${split[1].replace(/\D/, "")}`; |
| 611 | } else { |
| 612 | val = split[0].replace(/\D/g, ""); |
| 613 | } |
| 614 | if (negative === true) { |
| 615 | val = `-${val}`; |
| 616 | } |
| 617 | el.value = val; |
| 618 | if (el === id("option-indent_char")) { |
| 619 | indentchar(); |
| 620 | } else if (el === id("option-indent_size")) { |
| 621 | insize(); |
| 622 | } |
| 623 | if (test.load === false) { |
| 624 | method.app.options(event); |
| 625 | } |
| 626 | }, |
| 627 | prepBox = function dom_load_prepBox(boxName:string):void { |
| 628 | if (report[boxName].box === null || (test.domain === false && boxName === "feed")) { |
| 629 | return; |
nothing calls this directly
no test coverage detected