Skip to content

Commit aa79359

Browse files
committed
Merge pull request #40 from parallaxinc/fancy-buttons
Fancy buttons - ref #27
2 parents 6e6baf4 + 7cf2a97 commit aa79359

File tree

15 files changed

+3858
-47
lines changed

15 files changed

+3858
-47
lines changed

client.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ var plugins = [
1717
{
1818
register: require('holovisor')
1919
},
20+
{
21+
register: require('skrim')
22+
},
2023
{
2124
register: require('./plugins/appbar'),
2225
options: {

fonts/ionicons.css

Lines changed: 1480 additions & 0 deletions
Large diffs are not rendered by default.

fonts/ionicons.eot

118 KB
Binary file not shown.

fonts/ionicons.svg

Lines changed: 2230 additions & 0 deletions
Loading

fonts/ionicons.ttf

184 KB
Binary file not shown.

fonts/ionicons.woff

66.3 KB
Binary file not shown.

gulpfile.babel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ const webpackConfig = {
3535
loader: 'style-loader!css-loader'
3636
},
3737
{
38-
test:/\.html$/,
38+
test: /\.html$/,
3939
loader: 'html-loader'
4040
},
4141
{
42-
test:/\.json$/,
42+
test: /\.json$/,
4343
loader: 'json-loader'
4444
},
4545
{

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="utf-8">
55
<title>Parallax Chrome IDE</title>
66
<link href="fonts/roboto.css" rel="stylesheet" type="text/css">
7+
<link href="fonts/ionicons.css" rel="stylesheet" type="text/css">
78

89
<style type="text/css">
910
html, body {

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,23 @@
1010
"bs2-serial": "jacobrosenthal/bs2-serial",
1111
"codemirror": "^4.13.0",
1212
"frylord": "^0.4.0",
13-
"holovisor": "^0.1.1",
13+
"holovisor": "^0.2.0",
1414
"irken": "^0.4.1",
15-
"react": "^0.13.0",
15+
"react": "^0.13.1",
1616
"react-material": "git://github.com/iceddev/react-material#fake-release-13",
17+
"react-mfb-iceddev": "^0.1.0",
1718
"react-style": "^0.4.0",
19+
"skrim": "0.0.1",
1820
"snacks": "^0.2.0"
1921
},
2022
"devDependencies": {
2123
"babel": "^4.5.1",
2224
"babel-core": "^4.5.1",
2325
"babel-loader": "^4.0.0",
26+
"babel-runtime": "^4.7.16",
2427
"babelify": "^5.0.4",
25-
"browserify-fs": "^1.0.0",
2628
"browser-serialport": "git://github.com/garrows/browser-serialport#update",
29+
"browserify-fs": "^1.0.0",
2730
"chalk": "^1.0.0",
2831
"css-loader": "^0.9.1",
2932
"del": "^1.1.1",

plugins/appbar/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
'use strict'
1+
'use strict';
22

33
const React = require('react');
44

55
const TopBar = require('./component');
66

7-
function appbar(app, opts, cb){
7+
function appbar(app, opts, done){
88
app.view('appbar', function(el, cb){
99
console.log('appbar render');
1010

@@ -15,7 +15,7 @@ function appbar(app, opts, cb){
1515
React.render(Component, el, cb);
1616
});
1717

18-
cb();
18+
done();
1919
}
2020

2121
module.exports = appbar;

0 commit comments

Comments
 (0)