Skip to content

Commit b88c2b8

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

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

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

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-
6358
###Backward compatibility
6459
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).
6560

@@ -78,6 +73,11 @@ You can pass arguments as an object to the `init()` function. The values you pas
7873
var gn = new GyroNorm();
7974
gn.init(args).then( ... );
8075

76+
###Older devices
77+
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.
78+
79+
var Promise = Promise || ES6Promise.Promise;
80+
8181
##API Documentation
8282

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

0 commit comments

Comments
 (0)