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:
@ -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)
|
||||
|
Reference in New Issue
Block a user