Skip to content

Commit ac8b68a

Browse files
committed
Whitespace cleanup
1 parent dd2013a commit ac8b68a

File tree

7 files changed

+1774
-1706
lines changed

7 files changed

+1774
-1706
lines changed

.eslintrc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
3+
}

__tests__/timepicker-test.js

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
jest
2-
.dontMock('jquery')
3-
.dontMock('../jquery.timepicker');
1+
jest.dontMock("jquery").dontMock("../jquery.timepicker");
42

5-
const $ = require('jquery');
6-
require('../jquery.timepicker');
3+
const $ = require("jquery");
4+
require("../jquery.timepicker");
75

8-
const TEST_INPUT = 'testInput'
6+
const TEST_INPUT = "testInput";
97

108
beforeEach(() => {
11-
document.body.innerHTML = `<input type="text" id="${TEST_INPUT}" />`;
9+
document.body.innerHTML = `<input type="text" id="${TEST_INPUT}" />`;
1210
});
1311

14-
test('timepicker initializes', () => {
15-
$(`#${TEST_INPUT}`).timepicker();
12+
test("timepicker initializes", () => {
13+
$(`#${TEST_INPUT}`).timepicker();
1614
});

bower.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"name" : "jt.timepicker",
3-
"version" : "1.11.12",
4-
"description" : "A jQuery timepicker plugin inspired by Google Calendar.",
5-
"homepage" : "http://jonthornton.github.com/jquery-timepicker",
6-
"main" : [ "./jquery.timepicker.js", "./jquery.timepicker.css" ],
7-
"dependencies" : {
8-
"jquery" : ">= 1.7"
9-
},
10-
"keywords" : [ "time", "picker", "google calendar" ],
11-
"author" : {
12-
"name" : "Jon Thornton",
13-
"web" : "https://github.com/jonthornton"
14-
},
15-
"license": "http://opensource.org/licenses/MIT"
2+
"name": "jt.timepicker",
3+
"version": "1.11.12",
4+
"description": "A jQuery timepicker plugin inspired by Google Calendar.",
5+
"homepage": "http://jonthornton.github.com/jquery-timepicker",
6+
"main": ["./jquery.timepicker.js", "./jquery.timepicker.css"],
7+
"dependencies": {
8+
"jquery": ">= 1.7"
9+
},
10+
"keywords": ["time", "picker", "google calendar"],
11+
"author": {
12+
"name": "Jon Thornton",
13+
"web": "https://github.com/jonthornton"
14+
},
15+
"license": "http://opensource.org/licenses/MIT"
1616
}

composer.json

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "jonthornton/jquery-timepicker",
3-
"description": "A javascript timepicker plugin for jQuery inspired by Google Calendar.",
3+
"description":
4+
"A javascript timepicker plugin for jQuery inspired by Google Calendar.",
45
"type": "component",
56
"homepage": "http://jonthornton.github.io/jquery-timepicker/",
67
"license": "MIT",
@@ -15,13 +16,8 @@
1516
},
1617
"extra": {
1718
"component": {
18-
"scripts": [
19-
"jquery.timepicker.js"
20-
],
21-
"files": [
22-
"jquery.timepicker.min.js",
23-
"jquery.timepicker.css"
24-
]
19+
"scripts": ["jquery.timepicker.js"],
20+
"files": ["jquery.timepicker.min.js", "jquery.timepicker.css"]
2521
}
2622
}
2723
}

0 commit comments

Comments
 (0)