forked from effkay/brunch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote branch 'origin/improvements'
- Loading branch information
Showing
22 changed files
with
10,484 additions
and
70 deletions.
There are no files selected for viewing
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
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
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
<link rel="stylesheet" href="web/css/main.css" type="text/css" media="screen"> | ||
<script src="web/js/app.js"></script> | ||
<script>require('main');</script> | ||
</head> | ||
<body> | ||
</body> |
Empty file.
Empty file.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
dependencies: | ||
- ConsoleDummy.js | ||
- jquery-1.5.2.js | ||
- underscore-1.1.5.js | ||
- backbone-master.js |
This file was deleted.
Oops, something went wrong.
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
class exports.MainController extends Backbone.Controller | ||
routes : | ||
"home": "home" | ||
|
||
constructor: -> | ||
super | ||
|
||
home: -> | ||
$('body').html app.views.home.render().el |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
window.app = {} | ||
app.controllers = {} | ||
app.models = {} | ||
app.collections = {} | ||
app.views = {} | ||
|
||
MainController = require('controllers/main_controller').MainController | ||
HomeView = require('views/home_view').HomeView | ||
|
||
# app bootstrapping on document ready | ||
$(document).ready -> | ||
app.initialize = -> | ||
app.controllers.main = new MainController() | ||
app.views.home = new HomeView() | ||
Backbone.history.saveLocation("home") if Backbone.history.getFragment() is '' | ||
app.initialize() | ||
Backbone.history.start() |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
@import "reset" | ||
|
||
body | ||
background #91A2C0 | ||
font bold 18px "Helvetica Neue", Arial, Helvetica, sans-serif | ||
|
||
ul | ||
list-style-type none | ||
|
||
a, a:visited | ||
color #F95A5A | ||
text-decoration none | ||
|
||
a:hover | ||
color #665248 | ||
|
||
#home-view | ||
width 600px | ||
height 200px | ||
margin 20px auto | ||
|
||
#content | ||
background #FFF | ||
padding 20px | ||
-webkit-border-radius 4px | ||
-moz-border-radius 4px | ||
border-radius 4px |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// reset css from blueprint 1.0 | ||
|
||
html | ||
margin 0 | ||
padding 0 | ||
border 0 | ||
|
||
body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section | ||
margin 0 | ||
padding 0 | ||
border 0 | ||
font-weight inherit | ||
font-style inherit | ||
font-size 100% | ||
font-family inherit | ||
vertical-align baseline | ||
|
||
article, aside, dialog, figure, footer, header, hgroup, nav, section | ||
display block | ||
|
||
body | ||
line-height 1.5 | ||
background white | ||
|
||
table | ||
border-collapse separate | ||
border-spacing 0 | ||
|
||
caption, th, td | ||
text-align left | ||
font-weight normal | ||
float none | ||
|
||
table, th, td | ||
vertical-align middle | ||
|
||
blockquote:before, blockquote:after, q:before, q:after | ||
content '' | ||
|
||
blockquote, q | ||
quotes "" "" | ||
|
||
a img | ||
border none | ||
|
||
:focus | ||
outline 0 |
Oops, something went wrong.