Skip to content
Browse files

#110

  • Loading branch information...
1 parent 8507d7f commit 21c072e135662e346efa11eb4b2a72c0220aee2d Kevin Malakoff committed Mar 6, 2014
Showing with 6 additions and 3 deletions.
  1. +3 −0 RELEASE_NOTES.md
  2. +3 −3 src/core/core.coffee
View
3 RELEASE_NOTES.md
@@ -1,5 +1,8 @@
Please refer to the following release notes when upgrading your version of Knockback.js.
+## 0.18.5
+* Use peek during release: https://github.com/kmalakoff/knockback/pull/110
+
## 0.18.4
* fixed failed npm publish
View
6 src/core/core.coffee
@@ -1,5 +1,5 @@
###
- knockback-core.js 0.18.4
+ knockback-core.js 0.18.5
(c) 2011-2013 Kevin Malakoff.
Knockback.js is freely distributable under the MIT license.
See the following for full license details:
@@ -47,7 +47,7 @@
class kb
# Knockback library semantic version
- @VERSION: '0.18.4'
+ @VERSION: '0.18.5'
####################################
# OBSERVABLE STORAGE TYPES
@@ -114,7 +114,7 @@ class kb
obj.__kb_released = true # mark as released
# observable or lifecycle managed
- if ko.isObservable(obj) and _.isArray(array = obj())
+ if ko.isObservable(obj) and _.isArray(array = _peekObservable(obj))
if obj.__kb_is_co or (obj.__kb_is_o and (obj.valueType() is KB_TYPE_COLLECTION))
if obj.destroy
obj.destroy()

0 comments on commit 21c072e

Please sign in to comment.
Something went wrong with that request. Please try again.