One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| // getComponent is a function that returns a promise for a component | |
| // It will not be called until the first mount | |
| function asyncComponent(getComponent) { | |
| return class AsyncComponent extends React.Component { | |
| static Component = null; | |
| state = { Component: AsyncComponent.Component }; | |
| componentWillMount() { | |
| if (!this.state.Component) { | |
| getComponent().then(Component => { |
| # vi: ft=dosini | |
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = pavan.sss1991@gmail.com | |
| username = pksunkara | |
| [core] | |
| editor = nvim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| pager = delta | |
| [column] |
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
| find app/src -name "*.js" -exec sh -c 'mv "$0" "${0%.js}.ts"' {} \; |
| let isRefreshing = false; | |
| let refreshSubscribers = []; | |
| const instance = axios.create({ | |
| baseURL: Config.API_URL, | |
| }); | |
| instance.interceptors.response.use(response => { | |
| return response; | |
| }, error => { |
Only files under 25 MB can be previewed with the Google Drive viewer.
Google Drive viewer helps you preview over 16 different file types, listed below:
| $.fn.parsley.defaults = { | |
| // basic data-api overridable properties here.. | |
| inputs: 'input, textarea, select' // Default supported inputs. | |
| , excluded: 'input[type=hidden], :disabled' // Do not validate input[type=hidden] & :disabled. | |
| , trigger: false // $.Event() that will trigger validation. eg: keyup, change.. | |
| , animate: true // fade in / fade out error messages | |
| , animateDuration: 300 // fadein/fadout ms time | |
| , focus: 'first' // 'fist'|'last'|'none' which error field would have focus first on form validation | |
| , validationMinlength: 3 // If trigger validation specified, only if value.length > validationMinlength | |
| , successClass: 'has-success' // Class name on each valid input |