Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 283ce72

Browse filesBrowse files
committed
Use JavaScript Standard Style.
1 parent cd0bddc commit 283ce72
Copy full SHA for 283ce72

File tree

Expand file treeCollapse file tree

5 files changed

+324
-351
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

5 files changed

+324
-351
lines changed
Open diff view settings
Collapse file

‎.jshintignore‎

Copy file name to clipboardExpand all lines: .jshintignore
-2Lines changed: 0 additions & 2 deletions
This file was deleted.
Collapse file

‎js/demo.js‎

Copy file name to clipboardExpand all lines: js/demo.js
+12-13Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,16 @@
1111

1212
/*global document, md5 */
1313

14-
(function () {
15-
'use strict';
14+
;(function () {
15+
'use strict'
1616

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-
}());
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+
}())

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.