Skip to content
This repository has been archived by the owner on Jul 29, 2020. It is now read-only.

Commit

Permalink
add motion component
Browse files Browse the repository at this point in the history
Closes 31
  • Loading branch information
alexcastillo committed Jun 3, 2016
1 parent 4cd9a64 commit ed260da
Show file tree
Hide file tree
Showing 19 changed files with 245,988 additions and 11 deletions.
1 change: 1 addition & 0 deletions angular-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = function(defaults) {
'ng2-charts/bundles/ng2-charts.js',
'chroma-js/chroma.js',
'plotly.js/dist/plotly.js',
'brainbrowser/build/brainbrowser-2.3.0/**/*.js',
'systemjs/dist/system-polyfills.js',
'systemjs/dist/system.src.js',
'zone.js/dist/*.js',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"@angular/platform-browser": "2.0.0-rc.1",
"@angular/platform-browser-dynamic": "2.0.0-rc.1",
"@angular/router": "2.0.0-rc.1",
"brainbrowser": "^2.3.0",
"chart.js": "^1.0.2",
"chroma-js": "^1.1.1",
"dsp.js": "neurojs/dsp.js",
Expand Down
1 change: 1 addition & 0 deletions src/app/dashboard.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ <h1>{{ title }}</h1>
<a [routerLink]="['/frequency/line', { type: 'Line' }]">Frequency Line</a>
<a [routerLink]="['/frequency/radar', { type: 'Radar' }]">Frequency Radar</a>
<a [routerLink]="['/frequency/bands']">Frequency Bands</a>
<a [routerLink]="['/motion']">Motion</a>
<a [routerLink]="['/topo']">Topo</a>
</nav>
<router-outlet></router-outlet>
Expand Down
2 changes: 2 additions & 0 deletions src/app/dashboard.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { TimeSeriesComponent } from './time-series';
import { FrequencyComponent } from './frequency';
import { FrequencyBandsComponent } from './frequency-bands';
import { TopoComponent } from './topo';
import { MotionComponent } from './motion';
import { Routes, Router, ROUTER_PROVIDERS, ROUTER_DIRECTIVES } from '@angular/router';

@Component({
Expand All @@ -21,6 +22,7 @@ import { Routes, Router, ROUTER_PROVIDERS, ROUTER_DIRECTIVES } from '@angular/ro
{ path: '/frequency/line', component: FrequencyComponent },
{ path: '/frequency/radar', component: FrequencyComponent },
{ path: '/frequency/bands', component: FrequencyBandsComponent },
{ path: '/motion', component: MotionComponent },
{ path: '/topo', component: TopoComponent }
])

Expand Down
1 change: 1 addition & 0 deletions src/app/motion/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { MotionComponent } from './motion.component';
Loading

0 comments on commit ed260da

Please sign in to comment.