aboutsummaryrefslogtreecommitdiffstats
path: root/public/js/report.coffee
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2015-11-28 23:57:34 -0800
committerAdam Soltys <[email protected]>2015-11-30 21:10:59 -0800
commit41f8c6831bb91c0b0be1219b1566e59e48673465 (patch)
tree39626cf1a8fe7b8d73f750ccaf433bfa8c425d6b /public/js/report.coffee
parentf2bff842cbe16c18923b905f70ed168096648727 (diff)
downloadcoinos-server-41f8c6831bb91c0b0be1219b1566e59e48673465.tar.gz
coinos-server-41f8c6831bb91c0b0be1219b1566e59e48673465.zip
Use bower, grunt and browserify instead of connect-assets
Diffstat (limited to 'public/js/report.coffee')
-rw-r--r--public/js/report.coffee7
1 files changed, 2 insertions, 5 deletions
diff --git a/public/js/report.coffee b/public/js/report.coffee
index ed0cb232..bd449a43 100644
--- a/public/js/report.coffee
+++ b/public/js/report.coffee
@@ -1,12 +1,9 @@
-#= require ../js/jquery-1.8.2.min.js
-#= require ../js/jquery-ui.min.js
-#= require ../js/bootstrap.min.js
-#= require ../js/moment.min.js
+moment = require('moment')
g = exports ? this
$(->
- from = moment().subtract('days', 7)
+ from = moment().subtract(7, 'days')
to = moment()
$('#from').html(from.format("MMMM Do, YYYY"))