File tree Expand file tree Collapse file tree 2 files changed +8
-14
lines changed
Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 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 ;
Original file line number Diff line number Diff line change 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
66Usage
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);
1711Bangle .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);
3529Bangle .on (" drag" , dial);
3630```
3731
@@ -57,4 +51,4 @@ Defaults:
5751Notes
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.
You can’t perform that action at this time.
0 commit comments