Skip to content

Commit

Permalink
v0.2.5; fixes #16
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxArt2501 committed Oct 15, 2015
1 parent 394be31 commit 5f2909a
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 14 deletions.
7 changes: 3 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "object.observe",
"version": "0.2.4",
"version": "0.2.5",
"homepage": "https://github.com/MaxArt2501/object-observe",
"authors": [
"Massimo Artizzu <maxart.x@gmail.com>"
Expand All @@ -20,8 +20,7 @@
"**/.*",
"node_modules",
"bower_components",
"test",
"tests",
"util"
"benchmark",
"test"
]
}
6 changes: 3 additions & 3 deletions dist/object-observe-lite.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,12 @@ Object.observe || (function(O, A, root, _undefined) {
* @param {String[]} [acceptList]
*/
doObserve = function(object, handler, acceptList) {

var data = observed.get(object);

if (data)
if (data) {
performPropertyChecks(data, object);
setHandler(object, data, handler, acceptList);
else {
} else {
data = createObjectData(object);
setHandler(object, data, handler, acceptList);

Expand Down
2 changes: 1 addition & 1 deletion dist/object-observe-lite.min.js

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

Loading

0 comments on commit 5f2909a

Please sign in to comment.