guardian / scribe

DEPRECATED: A rich text editor framework for the web platform
http://guardian.github.io/scribe/
Apache License 2.0
3.51k stars 245 forks source link

Replaced Array.map+slice+reduce+filter with Array.some #403

Closed regiskuckaertz closed 9 years ago

regiskuckaertz commented 9 years ago

A small change which could potentially yield great results (think cut-and-paste large documents). In includeRealMutations, we just want to return as soon as a matching node is found, hence Array.some.

rrees commented 9 years ago

:+1: