[ReactNative] Rename ReactIOS JS module (and relatives) to ReactNative.

This commit is contained in:
Krzysztof Magiera
2015-05-08 09:45:43 -07:00
committed by Christopher Chedeau
parent 1db2f07192
commit ff00e1496c
37 changed files with 239 additions and 239 deletions

View File

@@ -11,7 +11,7 @@
*/
'use strict';
var ReactIOSStyleAttributes = require('ReactIOSStyleAttributes');
var ReactNativeStyleAttributes = require('ReactNativeStyleAttributes');
var View = require('View');
function verifyPropTypes(
@@ -26,7 +26,7 @@ function verifyPropTypes(
for (var prop in nativeProps) {
if (!component.propTypes[prop] &&
!View.propTypes[prop] &&
!ReactIOSStyleAttributes[prop] &&
!ReactNativeStyleAttributes[prop] &&
(!nativePropsToIgnore || !nativePropsToIgnore[prop])) {
throw new Error(
'`' + component.displayName + '` has no propType for native prop `' +