|
11f18e36
|
2019-07-13T15:06:09
|
|
Download page: Improved performance for Chromium-based browsers (#1907)
This significantly reduces the time it takes to highlight the code of Prism on the download page in Chromium-based browsers.
It does this by creating a new DOM node and highlighting the code in this detached node which seemingly helps Chromium to optimize its layout recalculations.
|
|
a16d4a25
|
2019-06-30T03:59:48
|
|
Examples improvements (#1919)
This PR makes some improvements to the examples website:
1. `fileExists` will now also check local files, so that newly added examples can be viewed.
(Requires localhost)
1. `update` now uses `Prism.highlightAllUnder` instead of the self-constructed copy of it.
1. Some formatting.
|
|
77c57446
|
2019-03-24T18:42:51
|
|
Fixed download page (#1811)
This makes the download page work on Edge again.
|
|
11d0f75e
|
2019-03-14T13:17:45
|
|
Applied Array.isArray (#1804)
This replaces all occurrences of `Prism.util.type(variable) {!==, ===} 'Array'` with an equivalent `Array.isArray` expression.
|
|
439ea1ee
|
2019-03-11T00:32:45
|
|
Added scripts directory (#1781)
This adds a new `scripts` directory for all scripts used exclusively by the prismjs.com website.
|