You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,12 @@ Access the values in the callback function of the `gn.start()`
55
55
});
56
56
</script>
57
57
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
59
64
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).
60
65
61
66
###Options
@@ -77,7 +82,7 @@ You can pass arguments as an object to the `init()` function. The values you pas
77
82
78
83
[gyronorm.js API Documentation](https://github.com/dorukeker/gyronorm.js/wiki/API-Documentaion)
79
84
80
-
##Error Handling
85
+
##Error handling
81
86
82
87
gyronorm.js can return errors and log messages. You need to define a function to handle those message.
0 commit comments