Skip to content

Commit

Permalink
Build app.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrove committed May 26, 2011
1 parent b88e6f2 commit 1d4614b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/app/app-debug.js
Expand Up @@ -165,7 +165,7 @@ Y.Model = Y.extend(Model, Y.Base, {
callback && callback.apply(null, arguments);
}

if (options['delete']) {
if (options && options['delete']) {
this.sync('delete', options, finish);
} else {
finish();
Expand Down
2 changes: 1 addition & 1 deletion build/app/app-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/app/app.js
Expand Up @@ -165,7 +165,7 @@ Y.Model = Y.extend(Model, Y.Base, {
callback && callback.apply(null, arguments);
}

if (options['delete']) {
if (options && options['delete']) {
this.sync('delete', options, finish);
} else {
finish();
Expand Down
2 changes: 1 addition & 1 deletion build/app/model-debug.js
Expand Up @@ -159,7 +159,7 @@ Y.Model = Y.extend(Model, Y.Base, {
callback && callback.apply(null, arguments);
}

if (options['delete']) {
if (options && options['delete']) {
this.sync('delete', options, finish);
} else {
finish();
Expand Down

0 comments on commit 1d4614b

Please sign in to comment.