Skip to content

Commit

Permalink
Require 'NativeModules' from the public interface
Browse files Browse the repository at this point in the history
- Future-proofs for later RN versions (via: facebook/react-native#1821)
  • Loading branch information
dsibiski committed Jul 6, 2015
1 parent 6828cfe commit e598c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RNUserDefaultsIOS.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var NativeModules = require('NativeModules');
var { NativeModules } = require('react-native');
var Promise = require('bluebird'); // jshint ignore:line
var UserDefaults = NativeModules.RNUserDefaultsIOS;

Expand Down

0 comments on commit e598c84

Please sign in to comment.