Skip to content
This repository

Document conflicts between Array and Elements methods #2117

barryvan opened this Issue November 02, 2011 · 1 comment

2 participants

Barry van Oudtshoorn Olmo Maldonado
Barry van Oudtshoorn

At present, the Elements documentation states that all Element methods are available on the Elements collection. However, there are some methods implemented on Array which take precedence over methods with the same name on Element. As far as I can tell, these are:

  • erase
  • clone
  • contains
  • getLast
  • empty
  • filter (note that for "filter", Elements.filter takes precedence over Array.filter)
Barry van Oudtshoorn

There's also the potential for confusion between Elements.from and Array.from.

Olmo Maldonado ibolmo referenced this issue from a commit in ibolmo/mootools-core December 03, 2011
Olmo Maldonado Fixes #2117 and added missing deprecations.
Added docs for:


Deprecation docs warnings for:

 Element.inject(Before, After, Bottom, Top, Inside)
 Element.grab(Before, After, Bottom, Top, Inside)

Improved docs for:

Olmo Maldonado ibolmo closed this in e365bcc December 03, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.