Commit b194f67f authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Remove neeldess DelayedTask from DocTests controller.

The DelayedTask seems to be created only to call the locateClsExamples
asynchronously, but that method does its work asynchronously anyway.
parent 932ff903
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -73,11 +73,8 @@ Ext.define('Docs.controller.DocTests', {
        this.getTestContainer().setDisabled(true);
        store.removeAll();
        Ext.each(Docs.data.classes, function(cls) {
            var task = new Ext.util.DelayedTask(function() {
            this.locateClsExamples(store, cls.name);
        }, this);
            task.delay(0);
        }, this);
    },

    /**