Skip to content

Commit afe41f0

Browse files
author
thyttan
committed
dial: change to lower case initial
reference: https://github.com/espruino/BangleApps/pull/3847/files#r2280978797
1 parent 902bbf8 commit afe41f0

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

modules/Dial.js renamed to modules/dial.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function Dial(cb, options) {
1+
function dial(cb, options) {
22
"ram";
33
const SCREEN_W = g.getWidth();
44
const SCREEN_H = g.getHeight();
@@ -72,4 +72,4 @@ function Dial(cb, options) {
7272
return onDrag;
7373
}
7474

75-
exports = Dial;
75+
exports = dial;

modules/Dial.md renamed to modules/dial.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
1-
Bangle.js Dial Library
2-
======================
1+
Bangle.js Dial Module
2+
=====================
33

4-
> Take a look at README.md for hints on developing with this library.
4+
> Take a look at README.md for hints on developing with this module.
55
66
Usage
77
-----
88

99
```JS
10-
var Dial = require("Dial");
11-
var dial = new Dial(cb, options)
12-
Bangle.on("drag", dial);
13-
14-
or
15-
16-
var dial = require("Dial")(cb, options);
10+
var dial = require("dial")(cb, options);
1711
Bangle.on("drag", dial);
1812
```
1913

@@ -31,7 +25,7 @@ let options = {
3125
}
3226
}
3327

34-
let dial = require("Dial")(cb, options);
28+
let dial = require("dial")(cb, options);
3529
Bangle.on("drag", dial);
3630
```
3731

@@ -57,4 +51,4 @@ Defaults:
5751
Notes
5852
-----
5953

60-
A complementary library for drawing graphics is provided in the Dial_Display module.
54+
A complementary module for drawing graphics is provided in the Dial_Display module.

0 commit comments

Comments
 (0)