From 41f8c6831bb91c0b0be1219b1566e59e48673465 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 28 Nov 2015 23:57:34 -0800 Subject: Use bower, grunt and browserify instead of connect-assets --- public/js/report.coffee | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'public/js/report.coffee') 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")) -- cgit v1.2.3