if (this.config.resource === '' || this.config.resource === 0) {
            this.fireEvent('ready');
            return false;
        }