There are references to jQuery functions, including
$.ajax in request
and
within httpData. In the latter, $.parseJSON may be replaced with JSON.parse, $.error should be replaced by emitting an event, and $.globalEval could require some discussion.
It is true that it is noted that jQuery is required in the README, but if this is true, it should be included as a db dependency in kanso.json. I personally think it would make sense not to do this since it is a rather heavy one and it straightforward to replace the jQuery calls with javascript.
There are references to jQuery functions, including
$.ajaxinrequestand
within
httpData. In the latter,$.parseJSONmay be replaced withJSON.parse,$.errorshould be replaced by emitting an event, and$.globalEvalcould require some discussion.It is true that it is noted that jQuery is required in the README, but if this is true, it should be included as a
dbdependency inkanso.json. I personally think it would make sense not to do this since it is a rather heavy one and it straightforward to replace the jQuery calls with javascript.