Skip to content

Instantly share code, notes, and snippets.

@kmagiera
kmagiera / -
Created February 1, 2016 07:38
test
var REMOVE_CLIPPED=true;
var DO_NOT_COLLAPSE=false;
var Example = React.createClass({
getInitialState: function() {
return { cnt: 0 };
},
render: function() {
var style = {
width: 300,
@kmagiera
kmagiera / -
Created February 4, 2016 09:53
// ==UserScript==
// @name Side-by-side view on gitlab
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Krzys
// @match http://gitlab.oddshot.tv/*
// @grant none
// ==/UserScript==
/* jshint -W097 */
/**
* @providesModule Playground
*/
'use strict';
var React = require('react-native');
var {
Animated,
StyleSheet,
Text,
class RandomView extends React.Component {
state: any;
constructor(props) {
super(props);
this.state = {
firstValue: new Animated.Value(0),
secondValue: new Animated.Value(0),
};
}
/**
* @providesModule Playground
*/
'use strict';
var React = require('react-native');
var {
Animated,
StyleSheet,
Text,
diff --git a/src/views/StreamersScreen/StreamersScreen.js b/src/views/StreamersScreen/StreamersScreen.js
index a476358..ab66272 100644
--- a/src/views/StreamersScreen/StreamersScreen.js
+++ b/src/views/StreamersScreen/StreamersScreen.js
@@ -76,6 +76,9 @@ export default Relay.createContainer(StreamersScreen, {
avatar(size: 160)
followersCount
isViewerFollowing
+ provider {
+ name
diff --git a/Libraries/Animated/src/AnimatedImplementation.js b/Libraries/Animated/src/AnimatedImplementation.js
index 21c9903..3fc61e6 100644
--- a/Libraries/Animated/src/AnimatedImplementation.js
+++ b/Libraries/Animated/src/AnimatedImplementation.js
@@ -1286,7 +1286,7 @@ class AnimatedProps extends Animated {
for (var key in this._props) {
var value = this._props[key];
if (value instanceof Animated) {
- if (!value.__isNative) {
+ if (!value.__isNative || true) {
N->JS : RCTEventEmitter.receiveTouches(["topTouchStart",[{"identifier":0,"timeStamp":477404,"locationY":4.227935791015625,"locationX":114.76280212402344,"pageY":324.2279357910156,"target":65,"pageX":189.76280212402344}],[0]])
JS->N : RKUIManager.setJSResponder([59,false])
N->JS : RCTEventEmitter.receiveTouches(["topTouchMove",[{"identifier":0,"timeStamp":477444,"locationY":4.227935791015625,"locationX":114.76280212402344,"pageY":323.7242431640625,"target":65,"pageX":189.76280212402344}],[0]])
JS->N : RKUIManager.dispatchViewManagerCommand([59,1,[189.76280212402344,323.7242431640625]])
N->JS : RCTEventEmitter.receiveTouches(["topTouchMove",[{"identifier":0,"timeStamp":477456,"locationY":4.227935791015625,"locationX":114.76280212402344,"pageY":321.4801025390625,"target":65,"pageX":189.76280212402344}],[0]])
JS->N : RKUIManager.dispatchViewManagerCommand([59,1,[189.76280212402344,321.4801025390625]])
N->JS : RCTEventEmitter.receiveTouches(["topTouchMove",[{"identifier":0,"timeStamp":477478,"locationY":4.22793579
import React, { Component } from 'react'
import { View, Image, StyleSheet, ScrollView, Text, Animated, StatusBar } from 'react-native'
import Icon from 'react-native-vector-icons/MaterialIcons'
const IMG_SRC = { uri: "https://pulsations.files.wordpress.com/2010/05/randomdog.jpg" }
const IMG_HEIGHT = 200
const NAVBAR_HEIGHT = 64
class Twitter extends Component {
constructor(props) {