Google chrome Durandel在浏览器chrome上,未到达ro合成完成

Google chrome Durandel在浏览器chrome上,未到达ro合成完成,google-chrome,web,durandal,Google Chrome,Web,Durandal,我在durandal项目工作 我有一个问题: 在我的一个页面中,在浏览器chrome上,它没有达到合成完成。 (我通过调试进行了检查。) 在浏览器中-它到达 原因可能是什么? 我必须检查什么?您可以创建这样的视图模型来检查Bing: /***==========LIFECIRCLE===============***/ var canActivate = function canActivate(view, parent) { logger.log('Lifecycle

我在durandal项目工作

我有一个问题: 在我的一个页面中,在浏览器chrome上,它没有达到合成完成。 (我通过调试进行了检查。) 在浏览器中-它到达

原因可能是什么?
我必须检查什么?

您可以创建这样的视图模型来检查Bing:

/***==========LIFECIRCLE===============***/

    var canActivate = function canActivate(view, parent) {
        logger.log('Lifecycle : canActivate : Dashboard');
        return true;
    },

    activate = function activate(view, parent) {
        logger.log(viewmodel.title + ' View Activated', null, viewmodel.title, true);
        return true;
    },

    binding = function binding(view, parent) {
        logger.log('Lifecycle : binding : Dashboard');
        return { cacheViews: false }; //cancels view caching for this module, allowing the triggering of the detached callback
    },

    bindingComplete = function bindingComplete(view, parent) {
        logger.log('Lifecycle : bindingComplete : Dashboard');
    },

    attached = function attached(view, parent) {
        logger.log('Lifecycle : attached : Dashboard');
    },

    compositionComplete = function compositionComplete(view, parent) {
        logger.log('Lifecycle : compositionComplete : Dashboard');
    },

    canDeactivate = function canDeactivate(view, parent) {
        logger.log('Lifecycle : canDeactivate : Dashboard');
        return true;
    },

    deactivate = function deactivate(view, parent) {
        logger.log('Lifecycle : deactivate : Dashboard');
    },

    detached = function detached(view, parent) {
        logger.log('Lifecycle : detached : Dashboard');
    };

    /***==========VIEWMODEL===============***/

    var viewmodel = {
        title: 'Dashboard for inspection',
        canActivate: canActivate,
        activate: activate,
        binding: binding,
        bindingComplete: bindingComplete,
        attached: attached,
        compositionComplete: compositionComplete,
        canDeactivate: canDeactivate,
        deactivate: deactivate,
        detached: detached
    }//-->end of ViewModel

    return viewmodel;