Skip to content

Commit

Permalink
callback arg missing from validate method
Browse files Browse the repository at this point in the history
  • Loading branch information
olanb7 committed Nov 14, 2012
1 parent 85affcc commit 6db142b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/docs/model/index.mustache
Expand Up @@ -695,7 +695,7 @@ To indicate success, call the provided `callback()` function with no arguments f
Y.PieModel = Y.Base.create('pieModel', Y.Model, [], {
// ... prototype methods and properties ...
validate: function (attributes) {
validate: function (attributes, callback) {
var slices;
switch (attributes.type) {
Expand Down

0 comments on commit 6db142b

Please sign in to comment.