Skip to content

Commit

Permalink
fix(components): App component is no longer in react-toolbox, so taki…
Browse files Browse the repository at this point in the history
…ng it out and replacing it with
  • Loading branch information
arlair committed Apr 15, 2016
1 parent 081141e commit 721ddfa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"dependencies": {
"@cycle/core": "^6.0.0",
"@cycle/isolate": "1.2.0",
"@eldarlabs/cycle-ui": "0.6.0",
"@eldarlabs/cycle-ui": "0.6.1",
"autoprefixer": "^6.3.4",
"classnames": "^2.2.3",
"cycle-snabbdom": "1.2.1",
Expand Down
7 changes: 3 additions & 4 deletions src/components/views/Main.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
const { article } = require('cycle-snabbdom');
const { article, div } = require('cycle-snabbdom');
import { Observable as $ } from 'rx';
import { HeaderView } from './Header';
import { FooterView } from './Footer';
import { KitchenSinkView } from '../../demo/kitchenSink/components/views/KitchenSink';
import { App } from '@eldarlabs/cycle-ui';

export function MainView$(sources: any) {
return $.just(
App([
div([
HeaderView(),
article([
KitchenSinkView(sources),
]),
FooterView()
]).DOM
])
);
}

0 comments on commit 721ddfa

Please sign in to comment.