[Pkg-javascript-commits] [backbone] 101/281: Fixes #674 -- pass options through to validate()
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 17:02:01 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.9.0
in repository backbone.
commit 41853416a7dfafcd33f9a78d086e91a5c4fd40f0
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Wed Nov 23 15:48:55 2011 -0500
Fixes #674 -- pass options through to validate()
---
backbone.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backbone.js b/backbone.js
index ade9db6..8485dac 100644
--- a/backbone.js
+++ b/backbone.js
@@ -399,7 +399,7 @@
// if all is well. If a specific `error` callback has been passed,
// call that instead of firing the general `"error"` event.
_performValidation : function(attrs, options) {
- var error = this.validate(attrs);
+ var error = this.validate(attrs, options);
if (error) {
if (options.error) {
options.error(this, error, options);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git
More information about the Pkg-javascript-commits
mailing list