This file contains 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
var styles = StyleSheet.create({ | |
base: { | |
width: 38, | |
height: 38, | |
}, | |
background: { | |
backgroundColor: '#222222', | |
}, | |
active: { | |
borderWidth: 2, |
This file contains 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
var { | |
AppRegistry, | |
StyleSheet, | |
Text, | |
View, | |
} = React; |
This file contains 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
git add (add new files) | |
git commit -m "Message" (commit with message) | |
git checkout <name> (switch to branch) | |
git checkout -b <name> (create branch <name> and switch to it) | |
git merge <name> (merge <name> branch into current brnach) | |
git branch -d <name> (delete <name> branch) | |
git status (status of current branch) | |
git branch (list all branches) |
This file contains 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
var app = require('derby').createApp(module) | |
, get = app.get | |
, view = app.view | |
, ready = app.ready | |
// ROUTES // | |
// Derby routes can be rendered on the client and the server | |
get('/', function(page, model, params) { | |
page.render() |