This file contains hidden or 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
var React = require('react-native'); | |
var { | |
Text, | |
View, | |
StyleSheet | |
} = React; | |
var styles = StyleSheet.create({ | |
photo: { |
This file contains hidden or 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
var React = require('react-native'); | |
var window = require('Dimensions').get('window'); | |
var globalStyles = require('../../Styles/styles'); | |
var Icon = require('FAKIconImage'); | |
var Camera = require('react-native-camera'); | |
const WIDTH = window.width; | |
const HEIGHT = window.height; | |
This file contains hidden or 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
var React = require('react-native'); | |
var { | |
Text, | |
View, | |
StyleSheet, | |
ListView, | |
ScrollView, | |
} = React; |
This file contains hidden or 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
recordVideo() { | |
console.log(navigator.device.capture); | |
navigator.device.capture.captureVideo((mediaFile) => { | |
console.log('MediaFile is', mediaFile.fullPath); | |
//mediaFile.getFormatData((mediaFileData) => { | |
// console.log('MFD', mediaFileData); | |
// console.log('MFD', mediaFileData.duration); | |
//}, (error) => { |
This file contains hidden or 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
sessionActions.register.listen(function (email, password) { | |
fireAuth.register(email, password) | |
.then(sessionActions.registerSuccess) | |
.catch(sessionActions.registerFail) | |
}); |
This file contains hidden or 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 Reflux from 'reflux'; | |
import Firebase from 'firebase'; | |
import fireAuth from '../lib/firebaseAuth.js' | |
var sessionActions = Reflux.createActions([ | |
'login', | |
'register', | |
'registerSuccess', |
This file contains hidden or 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 Reflux from 'reflux'; | |
import Firebase from 'firebase'; | |
import fireAuth from '../lib/firebaseAuth.js' | |
var sessionActions = Reflux.createActions([ | |
'login', | |
'register', | |
'registerSuccess', |
This file contains hidden or 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
var gulp = require('gulp'); | |
var source = require('vinyl-source-stream'); | |
var browserify = require('browserify'); | |
gulp.task('move', function() { | |
gulp | |
.src(['index.html', 'package.json']) | |
.pipe(gulp.dest('build')) | |
}); |
This file contains hidden or 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
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | |
var dropkick = require('dropkick'); | |
var quickconnect = require('rtc-quickconnect'); | |
var fileReader = require('filestream/read'); | |
var fileReceiver = require('filestream/write'); | |
var createDataStream = require('rtc-dcstream'); | |
var channels = []; | |
var peers = []; | |
var inbound = {}; |
NewerOlder