Hi, could I pass a function $.IsMenuCurrent
via context(dict
function) to partials? My menu’s partials relies on that function. I tried, but got an error:
<$.IsMenuCurrent>: wrong number of args for IsMenuCurrent: want 2 got 0
It seems the function executed and then assigned to dict.