Skip to content

Commit

Permalink
Fix #192. Update version to 0.9.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
rniemeyer committed May 28, 2015
1 parent 57fe131 commit 40b5e9e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "knockout-kendo",
"version": "0.9.4",
"version": "0.9.5",
"main": "build/knockout-kendo.min.js",
"dependencies": {
"knockout": ">= 2.0"
Expand Down
4 changes: 2 additions & 2 deletions build/knockout-kendo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* knockout-kendo 0.9.4
* knockout-kendo 0.9.5
* Copyright © 2015 Ryan Niemeyer & Telerik
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -86,7 +86,7 @@ ko.kendo.BindingFactory = function() {
ko.utils.domNodeDisposal.addDisposeCallback(element, function() {
if (widget.element) {
if (typeof kendo.destroy === "function") {
kendo.destroy(widget);
kendo.destroy(widget.element);
} else {
widget.destroy();
}
Expand Down
4 changes: 2 additions & 2 deletions build/knockout-kendo.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "knockout-kendo",
"version": "0.9.4",
"version": "0.9.5",
"homepage": "http://kendo-labs.github.com/knockout-kendo/",
"author": "Ryan Niemeyer",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/knockout-kendo-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ ko.kendo.BindingFactory = function() {
ko.utils.domNodeDisposal.addDisposeCallback(element, function() {
if (widget.element) {
if (typeof kendo.destroy === "function") {
kendo.destroy(widget);
kendo.destroy(widget.element);
} else {
widget.destroy();
}
Expand Down

0 comments on commit 40b5e9e

Please sign in to comment.