@woosh/meep-engine 2.46.23 → 2.46.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/meep.cjs CHANGED
@@ -125836,9 +125836,11 @@ class SelectorBehavior extends CompositeBehavior {
125836
125836
  * @returns {SelectorBehavior}
125837
125837
  */
125838
125838
  static from(children) {
125839
+ assert.isArray(children, 'children');
125840
+
125839
125841
  const r = new SelectorBehavior();
125840
125842
 
125841
- children.forEach(this.addChild, this);
125843
+ children.forEach(r.addChild, r);
125842
125844
 
125843
125845
  return r;
125844
125846
  }