— So the question is, should I throw out the feature, or make it explicitly for arrays only?
And if I do make it for arrays only, how do I translate that to a tag-tracking system which focuses on singular tags?
— This is the system here, specifically the
data HTML attribute references properties inside
— For good reference too, the template engine I base my work off of conceptually is jquery-template, where the author has restricted the feature to arrays as well, but their code is much worse to read so I have yet to find how they reconcile this problem
— No docs for methods, only a tiny tiny handful of random comments stating the obvious... and tons of really bulky jQuery code that is so granular it is a pain to read through (that FP interface is a bittersweet thing for code density)
— All I did was look at their template tagging system (with
data attrs) and came up with my own ways of doing it without jQuery, so I never really dove into the source code
— I have this function
— This is to call a json and append it to a list, its was a success
— But the problem come when i click my menu tab to other tab, and back to the first tab where that function called
— If i do it (open other tab and back to the first tab) the function wasn't called back
— Any idea how to fix this ?