Skip to content

Commit 62238a3

Browse files
committed
Merge pull request #4 from RoamTouch/develop
Updadate README file.
2 parents b784c96 + b637585 commit 62238a3

File tree

1 file changed

+27
-28
lines changed

1 file changed

+27
-28
lines changed

README.md

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@
22

33
A JavaScript library to recognize gestures on web browsers.
44

5-
* It's small and standalone.
6-
* Dependency-free.
7-
* Just 3 kb (min & gzip).
8-
* Multi-device support.
9-
* Easy-implementation.
10-
* Made it with love.
5+
* It's small and standalone.
6+
* Dependency-free.
7+
* Just 3 kb (min & gzip).
8+
* Multi-device support.
9+
* Easy-implementation.
10+
* Made it with love.
1111

1212
* * *
1313

1414
## Compatibility
1515

1616
###
1717

18-
* iOS
19-
* iPhone/iPod iOS 6
20-
* iPad/iPhone iOS 7
21-
* Android
22-
* Default browser
23-
* Chrome
24-
* Firefox
18+
* iOS
19+
* iPhone/iPod iOS 6
20+
* iPad/iPhone iOS 7
21+
* Android
22+
* Default browser
23+
* Chrome
24+
* Firefox
2525

2626
* * *
2727

@@ -43,10 +43,10 @@ script > tag somewhere on your HTML pages.
4343
Once added the library you can create your listeners with the same name you
4444
have defined the gesture (in uppercase).
4545

46-
```javascript
46+
```javascript
4747
<script>
48-
gesturekit.on('NAME', function (event) {
49-
// Some code here!
48+
gesturekit.on('NAME', function (event) {
49+
// Some code here!
5050
});
5151
</script>
5252
```
@@ -58,11 +58,11 @@ have defined the gesture (in uppercase).
5858
Initializes the gesturekit library using the .init() method passing your `GID`
5959
as parameter.
6060

61-
```javascript
61+
```javascript
6262
<script>
63-
gesturekit.init({
64-
'gid': 'xxxx-xxxx-xxxx'
65-
});
63+
gesturekit.init({
64+
'gid': 'xxxx-xxxx-xxxx'
65+
});
6666
</script>
6767
```
6868

@@ -97,7 +97,7 @@ Initializes the gesturekit library using the .init() method passing your `GID`
9797
- [gesturestart](#gesturestart)
9898
- [gesturemotion](#gesturemotion)
9999
- [gestureend](#gestureend)
100-
100+
101101
***
102102

103103
### Methods
@@ -319,30 +319,30 @@ gesturekit.on('gestureend', function (event) {
319319

320320

321321
1. Install [Git](http://git-scm.com/) and [NodeJS](http://nodejs.org/).
322-
322+
323323
2. Open your terminal and clone `roamtouch/GestureKit` by running:
324324
```
325325
$ git clone [email protected]:roamtouch/GestureKit.git
326326
```
327-
327+
328328
3. Now go to the project's folder:
329329
```
330330
$ cd GestureKit
331331
```
332-
332+
333333
4. Install its dependencies:
334334
```
335335
$ npm install
336336
```
337-
337+
338338
5. Install `grunt-cli`:
339339
```
340340
$ npm install grunt-cli -g
341341
```
342342
343343
6. Develop!
344-
345-
***
344+
345+
***
346346
347347
## Grunt tasks
348348
- `grunt dev`: Builds a development version.
@@ -368,4 +368,3 @@ Licensed under Apache v2 License.
368368
369369
Copyright (c) 2014 [RoamTouch](http://github.com/RoamTouch).
370370
371-

0 commit comments

Comments
 (0)