ponkotsu-md-editor 0.2.20 → 0.2.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/markdown_editor.js +2 -2
- data/lib/ponkotsu/md/editor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7aa56320e6fd84594858fd5472595f9c5084d808a53bcf77e1a3653d4c4fb780
|
|
4
|
+
data.tar.gz: f89f5e9b93bb22b278b3e9f2aa33ce8fae9d171162ca99e3c2c4a41769800222
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd5da7dc37050f394c5a8f6bed08fcc959ef430c100cf7533a297e3179f0a0aa930ce56d58426a78eb3e42f9a4329799a9a48b4786ed6904056a48746934a0c7
|
|
7
|
+
data.tar.gz: f977aa5d83ee4f310a746c73a2f27ee8aa78304cec65811245c8f3f7124a9faca42222951abb38c29a85518328e0c220c536d688a7756beb46b9599fcc554efd
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
// _scanOffsetCacheをローカル変数として閉じる
|
|
5
5
|
let _scanOffsetCache = new Map();
|
|
6
6
|
|
|
7
|
+
const analyzeHtmlCache = new Map();
|
|
8
|
+
|
|
7
9
|
// Debounce function for delayed execution
|
|
8
10
|
function debounce(func, wait) {
|
|
9
11
|
let timeout;
|
|
@@ -735,8 +737,6 @@
|
|
|
735
737
|
}
|
|
736
738
|
}
|
|
737
739
|
|
|
738
|
-
const analyzeHtmlCache = new Map();
|
|
739
|
-
|
|
740
740
|
function analyzeHtml(target, isCountEmptyDiv = false) {
|
|
741
741
|
|
|
742
742
|
const cacheKey = `${target}_${isCountEmptyDiv}`;
|