1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-09 23:37:09 +01:00

fix: prevent weird characters in date fields

This commit is contained in:
hacksalot
2018-02-04 01:13:02 -05:00
parent 00067d012a
commit 55196c2766
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ module.exports = ( theme, opts ) ->
wrappedHelpers = _.mapObject helpers, ( hVal, hKey ) ->
if _.isFunction hVal
_.wrap hVal, (func) ->
return _.wrap hVal, (func) ->
args = Array.prototype.slice.call arguments
args.shift() # lose the 1st element (func)
args.pop() # lose the last element (the Handlebars options hash)