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

Tags: oligoform/mark.js

Tags

8.8.3

Toggle 8.8.3's commit message
Ignore special characters in accuracy complementary

If special characters follow a word, then they will no longer be included in the highlight. For example with a sentence "(lorem)" and accuracy complementary, the entire sentence including parenthesis was highlighted. Now only "lorem".

8.8.2

Toggle 8.8.2's commit message
Prevent adding empty synonyms

Previously it was possible to specify a synonym with an empty string, which caused a browser freeze.

8.8.1

Toggle 8.8.1's commit message
Fix case insensitive diacritics mapping

There was a bug in the mapping of upper case characters and diacritics. For example a character "L" in the keyword didn't match "Ł" nor "ł". Only the lower case "l" matched them. This is now fixed.

8.8.0

Toggle 8.8.0's commit message
Implemented iframesTimeout option

In case the load event of an iframe isn't called – e.g. if there's no network connection or the user browses inside the "offline mode" and an iframe has an online "src" – mark.js wasn't able to complete the process for the rest of the site. The now implemented option `iframesTimeout` specifies the maximum ms to wait for a load event. If it's not fired in this time, the iframe will be silently skipped.

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

0