Filter out insert property in Item#set()

This commit is contained in:
Jürg Lehni 2013-12-16 22:03:33 +01:00
parent f7a1af4fda
commit e2b06b8e54

View file

@ -279,7 +279,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{
*/ */
set: function(props) { set: function(props) {
if (props) if (props)
this._set(props); this._set(props, { insert: true });
return this; return this;
}, },