Commit 4257e4f3 authored by Rebecca Hughes's avatar Rebecca Hughes

Merge pull request #26 from martnu/patch-1

Avoid destructuring to support Node.js
parents b137f32e 7bc1bd56
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @providesModule react-native-device-info * @providesModule react-native-device-info
*/ */
var { RNDeviceInfo } = require('react-native').NativeModules; var RNDeviceInfo = require('react-native').NativeModules.RNDeviceInfo;
module.exports = { module.exports = {
getUniqueID: function () { getUniqueID: function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment