Cordova插件问题

时间:2014-05-23 18:39:30

标签: android backbone.js cordova

我已安装此插件https://github.com/Wizcorp/phonegap-plugin-wizSpinner以在内容加载时设置微调器但出现此错误:

Uncaught ReferenceError: win is not defined               wizSpinner.js:68

我称之为代码:

    loadResults: function (eventName) {
         wizSpinner.create();//plugin
        wizSpinner.show();
        console.log("homepostview"+this.page);

         this.isLoading === true;

            //console.log(this.IntegratedCollection);
            _.each(this.IntegratedCollection.last(this.IntegratedCollection.length).reverse(), function(model){

                 $(this.el).append(new SingleHomePostView({
                     model: model
                   }).render().el);



            },this);

            this.isLoading === false;;


          return this;



    },

此功能位于骨干视图内。

0 个答案:

没有答案