Commits

Sean Wilkinson committed af3c809

Fixed `key` property non-uniqueness issue

  • Participants
  • Parent commits 84b9d97

Comments (0)

Files changed (1)

      // onto `f` and `x` via the "copy constructor" idiom. Note that special
      // properties defined for `f` will be overwritten ...
         f = avar(obj.x);
+        f.key = (obj.f.hasOwnProperty('key')) ? obj.f.key : uuid();
         f.val = obj.f;
         first = true;
         x = avar(obj.x);