yarn add babel-cli babel-loader babel-preset-env babel-preset-react babel-preset-stage-1 babel-plugin-transform-class-properties babel-plugin-transform-react-remove-prop-types
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
WEBVTT FILE | |
00:00:04.000 --> 00:00:10.000 | |
4 to 10 seconds im show#xywh=0$^0$^167$^94 | |
00:00:10.004 --> 00:00:16.008 | |
10 to 16 seconds im show#xywh=167$^0$^167$^94 | |
00:00:15.004 --> 00:00:21.000 |
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
{ | |
"parser": "babel-eslint", | |
"extends": ["airbnb"] | |
"plugins": ["babel","react","flowtype"] | |
} |
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
{ | |
"presets": ["stage-1", "react"], | |
"plugins": ["transform-decorators-legacy","transform-class-properties"], | |
"env": { | |
"development": { | |
"sourceMaps": "both", | |
"plugins": [ | |
"flow-react-proptypes", | |
"transform-flow-strip-types" | |
] |
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
import React from 'react'; | |
import PropTypes from 'prop-types'; | |
import { injectStyle } from 'styletron-utils'; | |
function removeInline(reactEl,styletron){ | |
let newChildrens; | |
if(reactEl.props.children){ | |
if(reactEl.props.children instanceof Array){ |
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
const isArray = (a) => { | |
return (!!a) && (a.constructor === Array); | |
}; | |
const isObject = (a) => { | |
return (!!a) && (a.constructor === Object); | |
}; | |
const gunToObj = (obj,getKey,putKey) => { | |
getKey = (typeof(getKey) === 'undefined') ? '_title' : getKey; | |
putKey = (typeof(putKey) === 'undefined') ? 'title' : putKey; |
I hereby claim:
- I am dsslimshaddy on github.
- I am dsslimshaddy (https://keybase.io/dsslimshaddy) on keybase.
- I have a public key whose fingerprint is 119A 4CC7 D742 E417 559A F97F 8A8D F7BA F5ED 5266
To claim this, I am signing this object:
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
{url:'stun:stun01.sipphone.com'}, | |
{url:'stun:stun.ekiga.net'}, | |
{url:'stun:stun.fwdnet.net'}, | |
{url:'stun:stun.ideasip.com'}, | |
{url:'stun:stun.iptel.org'}, | |
{url:'stun:stun.rixtelecom.se'}, | |
{url:'stun:stun.schlund.de'}, | |
{url:'stun:stun.l.google.com:19302'}, | |
{url:'stun:stun1.l.google.com:19302'}, | |
{url:'stun:stun2.l.google.com:19302'}, |
NewerOlder