Skip to content

Commit e1b3695

Browse files
committed
Readme file updates
1 parent 48eb195 commit e1b3695

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ or
2626
$ npm install gyronorm
2727
```
2828

29-
This version of gyronorm.js is built on top of the [FullTilt](https://github.com/richtr/Full-Tilt) project which uses [JavaScript Promises](https://www.promisejs.org/). You do not need to install them seperately. Both the FullTilt library and the polyfill for JS Promises will come as dependencies of gyronorm.js
29+
This version of gyronorm.js is built on top of the [FullTilt](https://github.com/richtr/Full-Tilt) project which uses [JavaScript Promises](https://www.promisejs.org/). You do not need to make seperate installations. FullTilt library comes as dependencies of gyronorm.js
3030

3131
## How to add
3232

@@ -36,10 +36,9 @@ For production, add the minified complete version of gyronorm.js which is under
3636
<script src="<path_to_js_files>/gyronorm.complete.min.js"></script>
3737
```
3838

39-
If you want to use the un-minified version (for instance for development), then you need to add the FullTilt and the Promises polyfill.
39+
If you want to use the un-minified version (for instance for development), then you need to add the FullTilt manually.
4040

4141
```html
42-
<script src="<path_to_js_files>/promise.min.js"></script>
4342
<script src="<path_to_js_files>/fulltilt.min.js"></script>
4443
<script src="<path_to_js_files>/gyronorm.js"></script>
4544
```
@@ -104,11 +103,7 @@ gn.init(args).then( ... );
104103
```
105104

106105
### Older devices
107-
In some of the older devices the polyfill for the JS Promises does not work properly. This might cause all or a part of your JavaScript code to break. Try adding the following line before you instantiate GyroNorm.
108-
109-
```js
110-
var Promise = Promise || ES6Promise.Promise;
111-
```
106+
In some older devices/browsers JS Promisses are not natively supported. In this case you can use a polyfill as mentioned here [https://www.promisejs.org/]
112107

113108
## API Documentation
114109

0 commit comments

Comments
 (0)