We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example, overwriting ds.save requires a hack:
define(['wq/store'], function(ds) { var _dsSave = ds.save; ds.save = function(data, id, callback) { // custom code ... _dsSave(data, id, callback); } });
With prototypes, this could become:
define(['wq/store'], function(ds) { ds.save = function(data, id, callback) { // custom code ... ds.prototype.save(data, id, callback); } });
See #20.
The text was updated successfully, but these errors were encountered:
This is superseded by #105 and the potential to use class instead.
class
Sorry, something went wrong.
No branches or pull requests
For example, overwriting ds.save requires a hack:
With prototypes, this could become:
See #20.
The text was updated successfully, but these errors were encountered: