slidev-theme-gtlabo 2.1.2 → 2.1.3

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.
@@ -130,7 +130,14 @@ const formatCitation = (data) => {
130
130
  // 現在のページに引用を登録(slide-bottom.vue用)
131
131
  const registerCitation = () => {
132
132
  const page = $page
133
- if (!page) return
133
+ console.log('=== Citation registerCitation ===')
134
+ console.log('$page:', page)
135
+ console.log('props.id:', props.id)
136
+
137
+ if (!page) {
138
+ console.log('→ page が null')
139
+ return
140
+ }
134
141
 
135
142
  if (!window.pageCitations.data.has(page)) {
136
143
  window.pageCitations.data.set(page, new Set())
@@ -141,6 +148,8 @@ const registerCitation = () => {
141
148
  pageSet.add(props.id)
142
149
  notifyListeners()
143
150
  }
151
+ console.log('→ 登録完了')
152
+ console.log('window.pageCitations.data:', [...window.pageCitations.data.entries()])
144
153
  }
145
154
 
146
155
  // 現在のページから引用を解除
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slidev-theme-gtlabo",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "A Slidev theme for laboratory presentations with customizable components",
5
5
  "author": "mksmkss",
6
6
  "license": "MIT",