Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dorukeker committed Feb 19, 2015
1 parent 5ba2420 commit b88c2b8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@ Access the values in the callback function of the `gn.start()`
});
</script>

###Older devices
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.

var Promise = Promise || ES6Promise.Promise;

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

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

###Older devices
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.

var Promise = Promise || ES6Promise.Promise;

##API Documentation

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

0 comments on commit b88c2b8

Please sign in to comment.