Callback, return value and HTML5 executeSql function

前端 未结 4 1413
轻奢々
轻奢々 2020-12-18 08:19

I have a big problem. I know it\'s about callback, closure but I don\'t know how to solve the problem. Here is my code

$.Model.extend(\'Article\',
{
     fin         


        
4条回答
  •  春和景丽
    2020-12-18 09:09

    I had the same problem, especially on mobile development projects. I created a library that eliminates the need for callbacks: http://code.google.com/p/proto-q/

    This made my code easier to troubleshoot, maintain, and enhance.

    I added support for AJAX, web workers, script injection, and the storage APIs. I hope it helps.

提交回复
热议问题