Skip to content

Commit

Permalink
isDestroyed now returns boolean always
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoniangreen committed Aug 26, 2015
1 parent 256a953 commit c7a682b
Show file tree
Hide file tree
Showing 5 changed files with 128 additions and 125 deletions.
11 changes: 6 additions & 5 deletions dist/milo.bundle.js

Large diffs are not rendered by default.

224 changes: 112 additions & 112 deletions dist/milo.bundle.map

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions dist/milo.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/milo.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/components/c_class.js
Original file line number Diff line number Diff line change
Expand Up @@ -916,5 +916,5 @@ function Component$destroy(quiet) {
* @return {Boolean}
*/
function Component$isDestroyed() {
return this._destroyed;
return !!this._destroyed;
}

1 comment on commit c7a682b

@epoberezkin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

Please sign in to comment.