Skip to content

Commit 5ba2420

Browse files
committed
Update README.md
1 parent fdab66e commit 5ba2420

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,12 @@ Access the values in the callback function of the `gn.start()`
5555
});
5656
</script>
5757

58-
###Backward Compatibility
58+
###Older devices
59+
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.
60+
61+
var Promise = Promise || ES6Promise.Promise;
62+
63+
###Backward compatibility
5964
There are some breaking changes from 1.x to 2.x versions. You can find the details [here](https://github.com/dorukeker/gyronorm.js/wiki/Breaking-changes-from-1.x-to-2.x).
6065

6166
###Options
@@ -77,7 +82,7 @@ You can pass arguments as an object to the `init()` function. The values you pas
7782

7883
[gyronorm.js API Documentation](https://github.com/dorukeker/gyronorm.js/wiki/API-Documentaion)
7984

80-
##Error Handling
85+
##Error handling
8186

8287
gyronorm.js can return errors and log messages. You need to define a function to handle those message.
8388

0 commit comments

Comments
 (0)