Skip to content

Commit ac0782a

Browse files
test(html): shorten the handler fixture's comment to two lines
1 parent b011705 commit ac0782a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • test/configCases/html/minify-inline-handlers

‎test/configCases/html/minify-inline-handlers/page.html‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<!DOCTYPE html>
2-
<!-- Every event handler attribute is offered to the JavaScript minimizer as the
3-
function its body belongs to, so a `return` — the one an author writes to
4-
cancel the event — is minified in the production it is in. -->
2+
<!-- Each handler goes to the JavaScript minimizer as the function its body
3+
belongs to, so a `return` is minified in the production it is in. -->
54
<div>
65
<button onclick=" var total = 1 + 2 ; report( total ) ">plain body</button>
76
<form onsubmit=" if ( !window.ready ) { return false } ; send( ) ">

0 commit comments

Comments
 (0)