visuddhinanda@gmail.com 4 лет назад
Родитель
Сommit
4e5ad4e805
1 измененных файлов с 12 добавлено и 0 удалено
  1. 12 0
      public/app/term/term.js

+ 12 - 0
public/app/term/term.js

@@ -716,6 +716,18 @@ function term_get_dict() {
 	);
 }
 
+function term_get_used(){
+    let output = [];
+    $("term").each(function () {
+        output.push({
+            pali:$(this).attr("pali"),
+            meaning:$(this).attr("mean")
+        });
+    });
+    return {
+        glossary:output
+    }
+}
 /*
 function term_popup_init() {
   $(".term_link").each(function () {