A framework for building native apps with React. http://facebook.github.io/react-native/
Go to file
Arthur Lee 2d42c9eb4a [ReactNative] Added support for 3 digit hex colors | Arthur Lee
Summary:
This addition adds a check for whether a hex color is 3 or 6 digits. If it is 3 digits, it will expand the short form into 6 digits, just like in CSS. The additional benefit of having the length check is that hex colors of invalid lengths (like 4 digits) will be considered invalid. In CSS, invalid length hex colors returns white, but here I have logged an error through `RCTLogError`.
Closes https://github.com/facebook/react-native/pull/455
Github Author: Arthur Lee <arthur@arthurlee.me>

Test Plan: Tried a couple of colors in the sample app, like `#FACEB0`, `#F00`, etc.
2015-03-31 20:05:14 -08:00
Examples make renderError and renderLoading props optional for WebView 2015-03-31 18:54:47 -08:00
IntegrationTests [ReactNative] s/ReactKit/React/g 2015-03-26 02:42:24 -08:00
Libraries make renderError and renderLoading props optional for WebView 2015-03-31 18:54:47 -08:00
React [ReactNative] Added support for 3 digit hex colors | Arthur Lee 2015-03-31 20:05:14 -08:00
jestSupport [ReactNative] Expanded license on js files 2015-03-23 13:17:54 -08:00
lint [ReactNative] Expanded license on js files 2015-03-23 13:17:54 -08:00
packager [react-packager] Fix EISDIR error 2015-03-31 19:49:05 -08:00
.eslintignore [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
.eslintrc [React Native] Sync from github 2015-03-27 22:09:11 -08:00
.flowconfig [React Native] Sync from github 2015-03-27 22:09:11 -08:00
React.podspec [Pod] Preserve header directory structure 2015-03-31 12:01:32 -08:00
linter.js [ReactNative] Expanded license on js files 2015-03-23 13:17:54 -08:00
package.json [react-native] v0.3.1 2015-03-31 13:28:44 -08:00
runXcodeTests.sh [React Native] Sync from github 2015-03-27 22:09:11 -08:00