Created
April 6, 2016 14:06
-
-
Save gaspard/a77f56a0b6575a46d0b66720dd7e4477 to your computer and use it in GitHub Desktop.
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 { Context } from './types' | |
| import * as dummy from './dummy' | |
| import * as g1 from './graph/Hello' | |
| import * as g2 from './graph/Lucy' | |
| import * as g3 from './graph/Mix' | |
| import * as g4 from './graph/Stereo' | |
| import * as g5 from './graph/Reverse' | |
| import * as g0 from './main' | |
| const dg1 = { render: g1.render } | |
| const fg1 = function ( ctx : Context ) { | |
| return dg1.render ( ctx ) | |
| } | |
| const dg2 = { render: g2.render } | |
| const fg2 = function ( ctx : Context ) { | |
| return dg2.render ( ctx ) | |
| } | |
| const dg3 = { render: g3.render } | |
| const fg3 = function ( ctx : Context ) { | |
| return dg3.render ( ctx, fg1, fg2 ) | |
| } | |
| const dg4 = { render: g4.render } | |
| const fg4 = function ( ctx : Context ) { | |
| return dg4.render ( ctx, fg3 ) | |
| } | |
| const dg5 = { render: g5.render, init: g5.init } | |
| dg5.init () | |
| const fg5 = function ( ctx : Context ) { | |
| return dg5.render ( ctx, fg4, dummy.emptyText ) | |
| } | |
| const dg0 = { render: g0.render } | |
| const fg0 = function ( ctx : Context ) { | |
| return dg0.render ( ctx, fg5 ) | |
| } | |
| export default fg0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment