Skip to content

Commit

Permalink
adds FASTER to reload front-end when changes are made. #81
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Apr 1, 2015
1 parent 69c53fe commit 2b86729
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ A simple way to track activities over time.

> Help us build it! https://github.com/ideaq/time/issues
### *Expected* Environment Variables
### *Expected* Environment Variables˜

The API server will *not* work unless these
environment variables are set.
Expand Down
12 changes: 8 additions & 4 deletions front/views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,30 @@
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootswatch/3.2.0/united/bootstrap.min.css"> -->
</head>
<body>
<span id="main">00:00</span>
<span id="main">01:12</span>
<p>{{fortune}}</p>
<h1>Can we go faster...? :-)</h1>
<h1>KItten!</h1>
<img src="http://www.randomkittengenerator.com/images/cats/rotator.php" />

<style>
body {

/*margin: 1em 0em 0em 20%;*/
margin: 1em;
border: 40px solid blue;

border-radius: 40px;
/*margin-left: 30px;*/
min-height: 100%;
margin-top:10px;

}
#main {
font-size: 5em;
padding: 5%;
}
</style>
<!-- https://github.com/ideaq/faster -->
<script src="http://192.168.0.27:4242/client.js"></script>

<script src="https://rawgit.com/ideaq/faster/master/lib/client.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"devDependencies": {
"codeclimate-test-reporter": "0.0.4",
"faster": "^3.2.8",
"faster": "^3.4.3",
"istanbul": "^0.3.5",
"jshint": "^2.5.10",
"pre-commit": "^1.0.6",
Expand Down

0 comments on commit 2b86729

Please sign in to comment.