Commit e59ccac1 authored by Gaëtan Renaudeau's avatar Gaëtan Renaudeau

bundle

parent 1eae443e
This diff is collapsed.
...@@ -24,7 +24,7 @@ void main( void ) { ...@@ -24,7 +24,7 @@ void main( void ) {
} }
}); });
class Banner extends React.Component { class Banner extends GL.Component {
render () { render () {
const { width, height, time } = this.props; const { width, height, time } = this.props;
return <GL.View return <GL.View
......
...@@ -37,7 +37,7 @@ void main() { ...@@ -37,7 +37,7 @@ void main() {
} }
}); });
class Intro extends React.Component { class Intro extends GL.Component {
render () { render () {
const { time, fps, width, height } = this.props; const { time, fps, width, height } = this.props;
return <GL.View return <GL.View
......
const React = require("react-native"); const React = require("react-native");
const GL = require("gl-react-native"); const GL = require("gl-react-native");
class Transition extends React.Component { class Transition extends GL.Component {
render () { render () {
const { width, height, shader, progress, from, to, uniforms } = this.props; const { width, height, shader, progress, from, to, uniforms } = this.props;
const scale = React.PixelRatio.get(); const scale = React.PixelRatio.get();
......
...@@ -38,7 +38,7 @@ void main() { ...@@ -38,7 +38,7 @@ void main() {
}); });
class Vignette extends React.Component { class Vignette extends GL.Component {
constructor (props) { constructor (props) {
super(props); super(props);
this.onResponderMove = this.onResponderMove.bind(this); this.onResponderMove = this.onResponderMove.bind(this);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment