We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd0bddc commit 283ce72Copy full SHA for 283ce72
.jshintignore
js/demo.js
@@ -11,17 +11,16 @@
11
12
/*global document, md5 */
13
14
-(function () {
15
- 'use strict';
+;(function () {
+ 'use strict'
16
17
- var input = document.getElementById('input');
18
- document.getElementById('calculate').addEventListener(
19
- 'click',
20
- function (event) {
21
- event.preventDefault();
22
- document.getElementById('result').value = md5(input.value);
23
- }
24
- );
25
- input.value = '日本';
26
-
27
-}());
+ var input = document.getElementById('input')
+ document.getElementById('calculate').addEventListener(
+ 'click',
+ function (event) {
+ event.preventDefault()
+ document.getElementById('result').value = md5(input.value)
+ }
+ )
+ input.value = '日本'
+}())
0 commit comments