Fix up moment js

This commit is contained in:
Matthew Dillon 2015-08-24 13:40:40 -07:00
parent fb88f494b2
commit 56c0e92fe6
2 changed files with 4 additions and 2 deletions

View file

@ -1,7 +1,9 @@
import Ember from 'ember';
import { formatDate } from '../utils/date-helpers';
export default Ember.Handlebars.makeBoundHelper(function(value, format) {
export default Ember.Helper.helper(function(params) {
let value = params[0],
format = params[1];
if (value == null) {
return 'N/A';
}

View file

@ -14,7 +14,7 @@
"qunit": "~1.18.0",
"flakes": "~1.0.0",
"ember-simple-auth": "~0.8.0",
"moment": "~2.9.0",
"moment": "~2.10.6",
"select2": "3.5.2",
"antiscroll": "git://github.com/azirbel/antiscroll.git#90391fb371c7be769bc32e7287c5271981428356",
"jquery-mousewheel": "~3.1.4",