From 939ac1b13ae8aca706152b0389b1ec0068c9a502 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 8 Jun 2020 20:18:35 +0300 Subject: [PATCH] docs and notes... Signed-off-by: Alex A. Naanou --- README.md | 3 +++ test.js | 2 ++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index f59191b..efb0cbc 100755 --- a/README.md +++ b/README.md @@ -732,6 +732,9 @@ mixinFlat(, , ..) This is like `Object.assign(..)` but copies property descriptors rather than property values. +Also like `Object.assign(..)` this _will_ overwrite attribute values in +``. + ### `RawInstance(..)` diff --git a/test.js b/test.js index 11fce24..a685745 100755 --- a/test.js +++ b/test.js @@ -633,6 +633,8 @@ module.modifiers = { return res }, // mixins... + // NOTE: running this in flat mode will have side-effects -- overwriting + // existing attributes and methods... // XXX might be a good idea to get the method name from the context... how? mixin_instance: function(assert, setup, flat, filter, get){ filter = filter || instances