8000 Tags · sadikr/mark.js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: sadikr/mark.js

Tags

8.7.0

Toggle 8.7.0's commit message
Allow marks in already marked elements

Due to a behavior described in #95 it wasn't possible to allow marks inside already marked matches. But since v8.0.0 implemented the "acrossElements" option it's now possible to safely wrap matches even in already wrapped matches.
You only need to use the "acrossElements" option if you want to mark a match where an already marked keyword is included in the search term, for example if you mark "test" and later "lorem test". Otherwise it won't be found.

8.6.1

Toggle 8.6.1's commit message
Fixed "filter" callback error

An IndexSizeError occured when "acrossElements" was true and the "filter" callback didn't return true all the time.

8.6.0

Toggle 8.6.0's commit message
Implemented possibility to use a string selector as context

It's now possible to use e.g. `new Mark("div.context")` too.

8.5.0

Toggle 8.5.0's commit message
Improved .unmark() performance

By changing the internal handling of callbacks and by only using the custom DOM normalize method in IE browsers. This method – introduced in v8.4.1 – was necessary to workaround a IE bug (see #88), but caused slowness in all browsers.

8.4.3

Toggle 8.4.3's commit message
Fixed merging of whitespace

Previously if you searched for "x y" also "xy" was found. Only "x y" will be found now.

Behavior was introduced in v6.3.0.

8.4.2

Toggle 8.4.2's commit message
Fixed ignoreJoiners bug with special characters in keyword

8.4.1

Toggle 8.4.1's commit message
Implemented workaround for IE11 DOM normalize() bug

Workaround for an ignored IE11 bug:
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8727426/

Read more in #88 and #64

8.4.0

Toggle 8.4.0's commit message
Implemented ignoreGroups option

Can be used in the .markRegExp() method to e.g. ignore non-capturing lookbehind groups

8.3.0

Toggle 8.3.0's commit message
Prevent browser lock up

On regular expressions with infinite matches

8.2.0

Toggle 8.2.0's commit message
Implemented ignoreJoiners option

Also added Romanian diacritics into the diacritics option
0