Skip to content

Conversation

@mctep
Copy link
Contributor

@mctep mctep commented Apr 16, 2013

Не хочется в options.result проверять, что в результате мне пришла ошбка.

de.block({}, {
    result: function(result) {
        if (result.error) return result;
        ...
        return resultModified;
    } 
})

Может еще сделать модифицирующий options.onerror?
Это нужно, например, когда я не хочу чтобы мое приложение зависело от доступности ручки. Хотя это можно разрулить в after.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant