From 04a0e9db7c1ff52f159209bfba348b1e1b15ddb0 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Mon, 12 Dec 2016 17:30:08 -0800 Subject: [PATCH] fix: correct field name --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5296548..08cda30 100644 --- a/index.js +++ b/index.js @@ -306,7 +306,7 @@ Kareem.prototype.clone = function() { n._pres[key] = this._pres[key].slice(); } for (var key in this._posts) { - if (!this._pres.hasOwnProperty(key)) { + if (!this._posts.hasOwnProperty(key)) { continue; } n._posts[key] = this._posts[key].slice();