Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
=> .jsbeautifyrc: Added configs for beautification
=> example/src/proptypes.js: Added PropTypes class for custom proptypes validations => example/src/service/index.js: Added a service class to provide static methods and utilities for device sizes getters and so on => example/src/mediaquery.js: Separated isValidDeviceDimensions between 3 functions (isValidDeviceWidth...) and added a function isValidDevice to check size interval constraints for devices hardware specs (width, height, pixel ratio) => example/src/mediaquery.js: Injected Service static class => example/index.android.js: Added more containers => example/index.android.js: Added some array styles => example/src/next.js: Removed => .eslintrc.json: Added babel-eslint as default parser to allow some ES7 syntaxes => package.json: Added babel-eslint dependency => example/package.json: Updated react-native version => Cleaned code
- Loading branch information
ayoubdev
committed
May 7, 2016
1 parent
2d5ea43
commit cc2b698
Showing
10 changed files
with
227 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"brace_style": "collapse-preserve-inline", | ||
"break_chained_methods": false, | ||
"comma_first": false, | ||
"e4x": true, | ||
"end_with_newline": true, | ||
"eol": "\n", | ||
"eval_code": false, | ||
"keep_array_indentation": false, | ||
"keep_function_indentation": false, | ||
"indent_size": 4, | ||
"indent_char": " ", | ||
"indent_level": 0, | ||
"indent_with_tabs": true, | ||
"jslint_happy": false, | ||
"max_preserve_newlines": 10, | ||
"preserve_newlines": true, | ||
"space_after_anon_function": false, | ||
"space_before_conditional": false, | ||
"space_in_paren": false, | ||
"wrap_attributes": "auto", | ||
"wrap_attributes_indent_size": 4, | ||
"wrap_line_length": 0, | ||
"unescape_strings": false, | ||
|
||
"newline_between_rules": true, | ||
"selector_separator_newline": false, | ||
|
||
"extra_liners": ["head", "body", "/html"], | ||
"indent_inner_html": true, | ||
"indent_scripts": "normal", | ||
"unformatted": ["inline"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
# react-native-responsive | ||
A React Native module to manage layouts between different sizes and displays | ||
|
||
### To not forget: | ||
|
||
deviceWidth and deviceHeight must take in account status bar and button bar sizes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,6 @@ | |
}, | ||
"dependencies": { | ||
"react": "^0.14.8", | ||
"react-native": "^0.24.1" | ||
"react-native": "^0.25.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.