Skip to content

Instantly share code, notes, and snippets.

View brentvatne's full-sized avatar
😴
☕️⚛️🏃‍♂️🐶

Brent Vatne brentvatne

😴
☕️⚛️🏃‍♂️🐶
View GitHub Profile
<div style='-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;color:#565656;font-family:"Helvetica Neue", "Helvetica", "Helvetica", "Arial", sans-serif;font-style:normal;font-weight:300;min-width:100%;margin:25px 0;padding:0;width:94% !important'>
<table class="body" border="0" cellpadding="0" cellspacing="0" style='-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;color:#565656;font-family:"Helvetica Neue", "Helvetica", "Helvetica", "Arial", sans-serif;font-style:normal;font-weight:300;min-width:100%;margin:25px 0;padding:0;width:94% !important'>
<tr>
<td class="center" align="center" valign="top">
<center>
<!-- content -->
<table class="container" border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;width:580px">
<tr>
<td>
vjeux [8:58 PM]
i'd love to get feedback on the code
vjeux [8:58 PM]
i'm working on a new animation api for react and react native
robertjpayne [8:59 PM]
@vjeux have you ever seen the greensock TweenLite/TweenMax stuff?
vjeux [8:59 PM]
This file has been truncated, but you can view the full file.
/* eslint global-strict:0 */
__DEV__ = false;
/* eslint global-strict:0,eqeqeq:0,no-bitwise:0,no-undef:0 */
(function(global) {
// avoid redefining require()
if (global.require) {
return;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="https://fb.me/react-with-addons-0.13.3.js"></script>
<script src="https://fb.me/JSXTransformer-0.13.3.js"></script>
<title>React Example</title>
</head>
<body>
</body>
@brentvatne
brentvatne / main.jsbundle
Created May 14, 2015 02:47
simple example
This file has been truncated, but you can view the full file.
/* eslint global-strict:0 */
__DEV__ = false;
/* eslint global-strict:0,eqeqeq:0,no-bitwise:0,no-undef:0 */
(function(global) {
// avoid redefining require()
if (global.require) {
return;
}
This file has been truncated, but you can view the full file.
/* eslint global-strict:0 */
__DEV__ = false;
/* eslint global-strict:0,eqeqeq:0,no-bitwise:0,no-undef:0 */
(function(global) {
// avoid redefining require()
if (global.require) {
return;
}

Roadmap

Editor screen design

  • We need a designer!

Displaying lists of plays

  • Recents, most viewed - we can get a lot of inspiration here from other sites - perhaps this even something a designer would like to take care of

Authentication & managing your own plays

var React = require('react-native');
var _ = require('lodash');
var ProximityManager = require('NativeModules').ProximityManager;
var startAdvertising = function(appUUID, localUserUUID, delayTime, callback) {
var lastFired;
ProximityManager.startAdvertising(appUUID, localUserUUID);
React.DeviceEventEmitter.addListener('nearByUserFound', function(remoteUserUUID) {
if (!lastFired || (lastFired && (new Date) - lastFired > delayTime)) {
@brentvatne
brentvatne / gist:e1ca1e4beaf0135e3178
Last active September 11, 2015 03:46
Issue Triage

Goals

  • Close any issues that can be closed
  • Solve any issues that can be solved
  • Assign any outstanding issues to the correct members on the React Native team, and give them enough information to be able to act on them
  • Push pull requests through
  • Improve the signal:noise ratio
  • Be nice & welcoming, and appreciative to everyone's efforts to contribute

Process

- (void)setHtml:(NSString *)html
{
_html = html;
[self applyHtmlAndBaseUrl];
}
- (void)setBaseUrl:(NSString *)baseUrl
{
_baseUrl = baseUrl;
[self applyHtmlAndBaseUrl];