You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
however this is resulting it in being called with no arguments (since it has this() and the getValue function also has no arguments), so the get function will not work.
Also, in addition to the two logs that the debugger outputs (Use get() to debug this template and Forgotten {{debugger}} helper), it is also outputting can-stache/expressions/lookup.js: Unable to find key "debugger". I can fix this by returning a truthy value, but I think this will output to the page, which I think is undesirable.
The text was updated successfully, but these errors were encountered:
@phillipskevin commented on Wed Feb 14 2018
This should work to all the debugger helper so that it works like every other built-in helper:
To make this work, we'll probably need to do the same thing that we do with
{{default}}
: https://github.com/canjs/can-stache/blob/bcb5b78623276d95c582cce83d14c51d84707114/helpers/core.js#L245-L256@christopherjbaker commented on Thu Mar 01 2018
I added this to the debuggerHelper
however this is resulting it in being called with no arguments (since it has
this()
and the getValue function also has no arguments), so theget
function will not work.Also, in addition to the two logs that the debugger outputs (
Use
get()to debug this template
andForgotten {{debugger}} helper
), it is also outputtingcan-stache/expressions/lookup.js: Unable to find key "debugger".
I can fix this by returning a truthy value, but I think this will output to the page, which I think is undesirable.The text was updated successfully, but these errors were encountered: