Changeset 3040906
- Timestamp:
- 02/25/2024 09:16:58 PM (2 years ago)
- Location:
- bibleget-io
- Files:
-
- 2 added
- 8 edited
- 1 copied
-
tags/8.2 (copied) (copied from bibleget-io/trunk)
-
tags/8.2/bibleget-io.php (modified) (2 diffs)
-
tags/8.2/js/googlefonts-fallback.json (added)
-
tags/8.2/js/gutenberg.js (modified) (65 diffs)
-
tags/8.2/js/jquery.fontselect.js (modified) (2 diffs)
-
tags/8.2/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/bibleget-io.php (modified) (2 diffs)
-
trunk/js/googlefonts-fallback.json (added)
-
trunk/js/gutenberg.js (modified) (65 diffs)
-
trunk/js/jquery.fontselect.js (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bibleget-io/tags/8.2/bibleget-io.php
r3040715 r3040906 4 4 * Plugin URI: https://www.bibleget.io/ 5 5 * Description: Easily insert Bible quotes from a choice of Bible versions into your articles or pages with the "Bible quote" block or with the shortcode [bibleget]. 6 * Version: 8. 16 * Version: 8.2 7 7 * Requires at least: 5.6 8 8 * Requires PHP: 7.4 … … 31 31 32 32 33 define("BIBLEGETPLUGINVERSION", "v8_ 1");33 define("BIBLEGETPLUGINVERSION", "v8_2"); 34 34 35 35 if (!defined('ABSPATH')) { -
bibleget-io/tags/8.2/js/gutenberg.js
r3040715 r3040906 7 7 const BGET = BibleGetGlobal.BGETConstants; 8 8 //console.log(BibleGetGlobal); 9 class Incrementer {10 static i = 0;11 static incr = () => ++this.i;12 }13 const { incr } = Incrementer;14 9 15 10 const getKeyByValue = (object, value) => Object.keys(object).find((key) => object[key] === value); 16 11 17 ( (blocks, element, i18n, editor, components, ServerSideRender, $) => {12 (async (blocks, element, i18n, editor, components, ServerSideRender, $) => { 18 13 //define the same attributes as the shortcode, but now in JSON format 19 14 const { registerBlockType } = blocks; //Blocks API … … 67 62 "optgroup", 68 63 { label: label }, 69 options.map( function (item, index){64 options.map((item) => { 70 65 return createElement( 71 66 Option, 72 Object.assign( 73 {}, 74 { key: `${item.label.replace(/\s/g, "")}-${index}` }, 75 item 76 ) 67 item 77 68 ); 78 69 }) … … 102 93 value: value, 103 94 }, 104 options.map( function (item, index){95 options.map((item) => { 105 96 if ("options" in item) { 106 97 return createElement( 107 98 OptionGroup, 108 Object.assign( 109 {}, 110 { key: `${item.label.replace(/\s/g, "")}-${index}` }, 111 item 112 ) 99 item 113 100 ); 114 101 } 115 102 return createElement( 116 103 Option, 117 Object.assign( 118 {}, 119 { key: `${item.label.replace(/\s/g, "")}-${index}` }, 120 item 121 ) 104 item 122 105 ); 123 106 }) … … 126 109 127 110 const websafe_fonts = [ 128 { fontFamily: "Arial", fallback: "Helvetica", genericFamily: "sans-serif" }, 111 { 112 fontFamily: "Arial", 113 fallback: "Helvetica", 114 genericFamily: "sans-serif" }, 129 115 { 130 116 fontFamily: "Arial Black", … … 142 128 genericFamily: "monospace", 143 129 }, 144 { fontFamily: "Georgia", genericFamily: "serif" }, 145 { fontFamily: "Impact", fallback: "Charcoal", genericFamily: "sans-serif" }, 130 { 131 fontFamily: "Georgia", 132 genericFamily: "serif" 133 }, 134 { 135 fontFamily:"Impact", 136 fallback: "Charcoal", 137 genericFamily: "sans-serif" 138 }, 146 139 { 147 140 fontFamily: "Lucida Console", … … 159 152 genericFamily: "serif", 160 153 }, 161 { fontFamily: "Tahoma", fallback: "Geneva", genericFamily: "sans-serif" }, 154 { 155 fontFamily: "Tahoma", 156 fallback: "Geneva", 157 genericFamily: "sans-serif" 158 }, 162 159 { 163 160 fontFamily: "Times New Roman", … … 170 167 genericFamily: "sans-serif", 171 168 }, 172 { fontFamily: "Verdana", fallback: "Geneva", genericFamily: "sans-serif" }, 169 { 170 fontFamily: "Verdana", 171 fallback: "Geneva", 172 genericFamily: "sans-serif" 173 } 173 174 ]; 174 175 175 176 const fontOptions = []; 176 websafe_fonts.forEach((fontObj , idx) =>177 websafe_fonts.forEach((fontObj) => 177 178 fontOptions.push({ 178 179 label: fontObj.fontFamily + " [websafe]", … … 189 190 ) { 190 191 BibleGetGlobal.GFonts.items.forEach(value => fontOptions.push({ label: value.family, value: value.family.replace(/ /g,"+") }) ); 192 } else { 193 const googlefonts_fallback = await fetch('../wp-content/plugins/bibleget-io/js/googlefonts-fallback.json').then(result => result.json()); 194 googlefonts_fallback.forEach(value => fontOptions.push({ label: value.replace(/\+/g," "), value: value })); 191 195 } 192 196 … … 267 271 const changeQuery = (QUERY) => { 268 272 //BibleGetGlobal.BGETProperties['QUERY'].default = QUERY; 269 setAttributes({ QUERY });273 return setAttributes({ QUERY }); 270 274 } 271 275 … … 282 286 } 283 287 //BibleGetGlobal.BGETProperties['VERSION'].default = VERSION; 284 setAttributes({ VERSION });288 return setAttributes({ VERSION }); 285 289 } 286 290 … … 291 295 ? BGET.PREFERORIGIN.HEBREW 292 296 : BGET.PREFERORIGIN.GREEK; 293 setAttributes({ PREFERORIGIN });297 return setAttributes({ PREFERORIGIN }); 294 298 } 295 299 … … 297 301 const changePopup = (POPUP) => { 298 302 //BibleGetGlobal.BGETProperties['POPUP'].default = POPUP; 299 setAttributes({ POPUP });303 return setAttributes({ POPUP }); 300 304 } 301 305 … … 304 308 "LAYOUTPREFS_SHOWBIBLEVERSION" 305 309 ].default = LAYOUTPREFS_SHOWBIBLEVERSION; 306 setAttributes({ LAYOUTPREFS_SHOWBIBLEVERSION });310 return setAttributes({ LAYOUTPREFS_SHOWBIBLEVERSION }); 307 311 } 308 312 … … 324 328 "LAYOUTPREFS_BIBLEVERSIONALIGNMENT" 325 329 ].default = LAYOUTPREFS_BIBLEVERSIONALIGNMENT; 326 setAttributes({ LAYOUTPREFS_BIBLEVERSIONALIGNMENT });330 return setAttributes({ LAYOUTPREFS_BIBLEVERSIONALIGNMENT }); 327 331 } 328 332 … … 332 336 "LAYOUTPREFS_BIBLEVERSIONPOSITION" 333 337 ].default = LAYOUTPREFS_BIBLEVERSIONPOSITION; 334 setAttributes({ LAYOUTPREFS_BIBLEVERSIONPOSITION });338 return setAttributes({ LAYOUTPREFS_BIBLEVERSIONPOSITION }); 335 339 } 336 340 … … 340 344 "LAYOUTPREFS_BIBLEVERSIONWRAP" 341 345 ].default = LAYOUTPREFS_BIBLEVERSIONWRAP; 342 setAttributes({ LAYOUTPREFS_BIBLEVERSIONWRAP });346 return setAttributes({ LAYOUTPREFS_BIBLEVERSIONWRAP }); 343 347 } 344 348 … … 358 362 "LAYOUTPREFS_BOOKCHAPTERALIGNMENT" 359 363 ].default = LAYOUTPREFS_BOOKCHAPTERALIGNMENT; 360 setAttributes({ LAYOUTPREFS_BOOKCHAPTERALIGNMENT });364 return setAttributes({ LAYOUTPREFS_BOOKCHAPTERALIGNMENT }); 361 365 } 362 366 … … 366 370 "LAYOUTPREFS_BOOKCHAPTERPOSITION" 367 371 ].default = LAYOUTPREFS_BOOKCHAPTERPOSITION; 368 setAttributes({ LAYOUTPREFS_BOOKCHAPTERPOSITION });372 return setAttributes({ LAYOUTPREFS_BOOKCHAPTERPOSITION }); 369 373 } 370 374 … … 374 378 "LAYOUTPREFS_BOOKCHAPTERWRAP" 375 379 ].default = LAYOUTPREFS_BOOKCHAPTERWRAP; 376 setAttributes({ LAYOUTPREFS_BOOKCHAPTERWRAP });380 return setAttributes({ LAYOUTPREFS_BOOKCHAPTERWRAP }); 377 381 } 378 382 … … 381 385 "LAYOUTPREFS_BOOKCHAPTERFULLQUERY" 382 386 ].default = LAYOUTPREFS_BOOKCHAPTERFULLQUERY; 383 setAttributes({ LAYOUTPREFS_BOOKCHAPTERFULLQUERY });387 return setAttributes({ LAYOUTPREFS_BOOKCHAPTERFULLQUERY }); 384 388 } 385 389 … … 406 410 "LAYOUTPREFS_BOOKCHAPTERFORMAT" 407 411 ].default = LAYOUTPREFS_BOOKCHAPTERFORMAT; 408 setAttributes({ LAYOUTPREFS_BOOKCHAPTERFORMAT });412 return setAttributes({ LAYOUTPREFS_BOOKCHAPTERFORMAT }); 409 413 } 410 414 … … 431 435 "LAYOUTPREFS_BOOKCHAPTERFORMAT" 432 436 ].default = LAYOUTPREFS_BOOKCHAPTERFORMAT; 433 setAttributes({ LAYOUTPREFS_BOOKCHAPTERFORMAT });437 return setAttributes({ LAYOUTPREFS_BOOKCHAPTERFORMAT }); 434 438 } 435 439 … … 438 442 "LAYOUTPREFS_SHOWVERSENUMBERS" 439 443 ].default = LAYOUTPREFS_SHOWVERSENUMBERS; 440 setAttributes({ LAYOUTPREFS_SHOWVERSENUMBERS });444 return setAttributes({ LAYOUTPREFS_SHOWVERSENUMBERS }); 441 445 } 442 446 … … 454 458 "PARAGRAPHSTYLES_BORDERWIDTH" 455 459 ].default = PARAGRAPHSTYLES_BORDERWIDTH; 456 setAttributes({ PARAGRAPHSTYLES_BORDERWIDTH });460 return setAttributes({ PARAGRAPHSTYLES_BORDERWIDTH }); 457 461 } 458 462 … … 470 474 "PARAGRAPHSTYLES_BORDERRADIUS" 471 475 ].default = PARAGRAPHSTYLES_BORDERRADIUS; 472 setAttributes({ PARAGRAPHSTYLES_BORDERRADIUS });476 return setAttributes({ PARAGRAPHSTYLES_BORDERRADIUS }); 473 477 } 474 478 … … 487 491 "PARAGRAPHSTYLES_BORDERSTYLE" 488 492 ].default = PARAGRAPHSTYLES_BORDERSTYLE; 489 setAttributes({ PARAGRAPHSTYLES_BORDERSTYLE });493 return setAttributes({ PARAGRAPHSTYLES_BORDERSTYLE }); 490 494 } 491 495 … … 504 508 "PARAGRAPHSTYLES_BORDERCOLOR" 505 509 ].default = PARAGRAPHSTYLES_BORDERCOLOR; 506 setAttributes({ PARAGRAPHSTYLES_BORDERCOLOR });510 return setAttributes({ PARAGRAPHSTYLES_BORDERCOLOR }); 507 511 } 508 512 … … 521 525 "PARAGRAPHSTYLES_BACKGROUNDCOLOR" 522 526 ].default = PARAGRAPHSTYLES_BACKGROUNDCOLOR; 523 setAttributes({ PARAGRAPHSTYLES_BACKGROUNDCOLOR });527 return setAttributes({ PARAGRAPHSTYLES_BACKGROUNDCOLOR }); 524 528 } 525 529 … … 554 558 "PARAGRAPHSTYLES_MARGINTOPBOTTOM" 555 559 ].default = PARAGRAPHSTYLES_MARGINTOPBOTTOM; 556 setAttributes({ PARAGRAPHSTYLES_MARGINTOPBOTTOM });560 return setAttributes({ PARAGRAPHSTYLES_MARGINTOPBOTTOM }); 557 561 } 558 562 … … 587 591 "PARAGRAPHSTYLES_MARGINLEFTRIGHT" 588 592 ].default = PARAGRAPHSTYLES_MARGINLEFTRIGHT; 589 setAttributes({ PARAGRAPHSTYLES_MARGINLEFTRIGHT });593 return setAttributes({ PARAGRAPHSTYLES_MARGINLEFTRIGHT }); 590 594 } 591 595 … … 617 621 "PARAGRAPHSTYLES_MARGINLEFTRIGHTUNIT" 618 622 ].default = PARAGRAPHSTYLES_MARGINLEFTRIGHTUNIT; 619 setAttributes({ PARAGRAPHSTYLES_MARGINLEFTRIGHTUNIT });623 return setAttributes({ PARAGRAPHSTYLES_MARGINLEFTRIGHTUNIT }); 620 624 } 621 625 … … 636 640 "PARAGRAPHSTYLES_PADDINGTOPBOTTOM" 637 641 ].default = PARAGRAPHSTYLES_PADDINGTOPBOTTOM; 638 setAttributes({ PARAGRAPHSTYLES_PADDINGTOPBOTTOM });642 return setAttributes({ PARAGRAPHSTYLES_PADDINGTOPBOTTOM }); 639 643 } 640 644 … … 655 659 "PARAGRAPHSTYLES_PADDINGLEFTRIGHT" 656 660 ].default = PARAGRAPHSTYLES_PADDINGLEFTRIGHT; 657 setAttributes({ PARAGRAPHSTYLES_PADDINGLEFTRIGHT });661 return setAttributes({ PARAGRAPHSTYLES_PADDINGLEFTRIGHT }); 658 662 } 659 663 … … 673 677 "PARAGRAPHSTYLES_LINEHEIGHT" 674 678 ].default = PARAGRAPHSTYLES_LINEHEIGHT; 675 setAttributes({ PARAGRAPHSTYLES_LINEHEIGHT });679 return setAttributes({ PARAGRAPHSTYLES_LINEHEIGHT }); 676 680 } 677 681 … … 687 691 "PARAGRAPHSTYLES_WIDTH" 688 692 ].default = PARAGRAPHSTYLES_WIDTH; 689 setAttributes({ PARAGRAPHSTYLES_WIDTH });693 return setAttributes({ PARAGRAPHSTYLES_WIDTH }); 690 694 } 691 695 … … 747 751 "VERSIONSTYLES_BOLD" 748 752 ].default = VERSIONSTYLES_BOLD; 749 setAttributes({ VERSIONSTYLES_BOLD }); 750 break; 753 return setAttributes({ VERSIONSTYLES_BOLD }); 751 754 case BGET.TEXTSTYLE.ITALIC: 752 755 BibleGetGlobal.BGETProperties[ 753 756 "VERSIONSTYLES_ITALIC" 754 757 ].default = VERSIONSTYLES_ITALIC; 755 setAttributes({ VERSIONSTYLES_ITALIC }); 756 break; 758 return setAttributes({ VERSIONSTYLES_ITALIC }); 757 759 case BGET.TEXTSTYLE.UNDERLINE: 758 760 BibleGetGlobal.BGETProperties[ 759 761 "VERSIONSTYLES_UNDERLINE" 760 762 ].default = VERSIONSTYLES_UNDERLINE; 761 setAttributes({ VERSIONSTYLES_UNDERLINE }); 762 break; 763 return setAttributes({ VERSIONSTYLES_UNDERLINE }); 763 764 case BGET.TEXTSTYLE.STRIKETHROUGH: 764 765 BibleGetGlobal.BGETProperties[ 765 766 "VERSIONSTYLES_STRIKETHROUGH" 766 767 ].default = VERSIONSTYLES_STRIKETHROUGH; 767 setAttributes({ VERSIONSTYLES_STRIKETHROUGH }); 768 break; 768 return setAttributes({ VERSIONSTYLES_STRIKETHROUGH }); 769 769 } 770 770 } … … 788 788 "VERSIONSTYLES_FONTSIZE" 789 789 ].default = VERSIONSTYLES_FONTSIZE; 790 setAttributes({ VERSIONSTYLES_FONTSIZE });790 return setAttributes({ VERSIONSTYLES_FONTSIZE }); 791 791 } 792 792 … … 809 809 "VERSIONSTYLES_FONTSIZEUNIT" 810 810 ].default = VERSIONSTYLES_FONTSIZEUNIT; 811 setAttributes({ VERSIONSTYLES_FONTSIZEUNIT });811 return setAttributes({ VERSIONSTYLES_FONTSIZEUNIT }); 812 812 } 813 813 … … 826 826 "VERSIONSTYLES_TEXTCOLOR" 827 827 ].default = VERSIONSTYLES_TEXTCOLOR; 828 setAttributes({ VERSIONSTYLES_TEXTCOLOR });828 return setAttributes({ VERSIONSTYLES_TEXTCOLOR }); 829 829 } 830 830 … … 886 886 "BOOKCHAPTERSTYLES_BOLD" 887 887 ].default = BOOKCHAPTERSTYLES_BOLD; 888 setAttributes({ BOOKCHAPTERSTYLES_BOLD }); 889 break; 888 return setAttributes({ BOOKCHAPTERSTYLES_BOLD }); 890 889 case BGET.TEXTSTYLE.ITALIC: 891 890 BibleGetGlobal.BGETProperties[ 892 891 "BOOKCHAPTERSTYLES_ITALIC" 893 892 ].default = BOOKCHAPTERSTYLES_ITALIC; 894 setAttributes({ BOOKCHAPTERSTYLES_ITALIC }); 895 break; 893 return setAttributes({ BOOKCHAPTERSTYLES_ITALIC }); 896 894 case BGET.TEXTSTYLE.UNDERLINE: 897 895 BibleGetGlobal.BGETProperties[ 898 896 "BOOKCHAPTERSTYLES_UNDERLINE" 899 897 ].default = BOOKCHAPTERSTYLES_UNDERLINE; 900 setAttributes({ BOOKCHAPTERSTYLES_UNDERLINE }); 901 break; 898 return setAttributes({ BOOKCHAPTERSTYLES_UNDERLINE }); 902 899 case BGET.TEXTSTYLE.STRIKETHROUGH: 903 900 BibleGetGlobal.BGETProperties[ 904 901 "BOOKCHAPTERSTYLES_STRIKETHROUGH" 905 902 ].default = BOOKCHAPTERSTYLES_STRIKETHROUGH; 906 setAttributes({ BOOKCHAPTERSTYLES_STRIKETHROUGH }); 907 break; 903 return setAttributes({ BOOKCHAPTERSTYLES_STRIKETHROUGH }); 908 904 } 909 905 } … … 927 923 "BOOKCHAPTERSTYLES_FONTSIZE" 928 924 ].default = BOOKCHAPTERSTYLES_FONTSIZE; 929 setAttributes({ BOOKCHAPTERSTYLES_FONTSIZE });925 return setAttributes({ BOOKCHAPTERSTYLES_FONTSIZE }); 930 926 } 931 927 … … 948 944 "BOOKCHAPTERSTYLES_FONTSIZEUNIT" 949 945 ].default = BOOKCHAPTERSTYLES_FONTSIZEUNIT; 950 setAttributes({ BOOKCHAPTERSTYLES_FONTSIZEUNIT });946 return setAttributes({ BOOKCHAPTERSTYLES_FONTSIZEUNIT }); 951 947 } 952 948 … … 965 961 "BOOKCHAPTERSTYLES_TEXTCOLOR" 966 962 ].default = BOOKCHAPTERSTYLES_TEXTCOLOR; 967 setAttributes({ BOOKCHAPTERSTYLES_TEXTCOLOR });963 return setAttributes({ BOOKCHAPTERSTYLES_TEXTCOLOR }); 968 964 } 969 965 … … 1025 1021 "VERSENUMBERSTYLES_BOLD" 1026 1022 ].default = VERSENUMBERSTYLES_BOLD; 1027 setAttributes({ VERSENUMBERSTYLES_BOLD }); 1028 break; 1023 return setAttributes({ VERSENUMBERSTYLES_BOLD }); 1029 1024 case BGET.TEXTSTYLE.ITALIC: 1030 1025 BibleGetGlobal.BGETProperties[ 1031 1026 "VERSENUMBERSTYLES_ITALIC" 1032 1027 ].default = VERSENUMBERSTYLES_ITALIC; 1033 setAttributes({ VERSENUMBERSTYLES_ITALIC }); 1034 break; 1028 return setAttributes({ VERSENUMBERSTYLES_ITALIC }); 1035 1029 case BGET.TEXTSTYLE.UNDERLINE: 1036 1030 BibleGetGlobal.BGETProperties[ 1037 1031 "VERSENUMBERSTYLES_UNDERLINE" 1038 1032 ].default = VERSENUMBERSTYLES_UNDERLINE; 1039 setAttributes({ VERSENUMBERSTYLES_UNDERLINE }); 1040 break; 1033 return setAttributes({ VERSENUMBERSTYLES_UNDERLINE }); 1041 1034 case BGET.TEXTSTYLE.STRIKETHROUGH: 1042 1035 BibleGetGlobal.BGETProperties[ 1043 1036 "VERSENUMBERSTYLES_STRIKETHROUGH" 1044 1037 ].default = VERSENUMBERSTYLES_STRIKETHROUGH; 1045 setAttributes({ VERSENUMBERSTYLES_STRIKETHROUGH }); 1046 break; 1038 return setAttributes({ VERSENUMBERSTYLES_STRIKETHROUGH }); 1047 1039 } 1048 1040 } … … 1066 1058 "VERSENUMBERSTYLES_FONTSIZE" 1067 1059 ].default = VERSENUMBERSTYLES_FONTSIZE; 1068 setAttributes({ VERSENUMBERSTYLES_FONTSIZE });1060 return setAttributes({ VERSENUMBERSTYLES_FONTSIZE }); 1069 1061 } 1070 1062 … … 1087 1079 "VERSENUMBERSTYLES_FONTSIZEUNIT" 1088 1080 ].default = VERSENUMBERSTYLES_FONTSIZEUNIT; 1089 setAttributes({ VERSENUMBERSTYLES_FONTSIZEUNIT });1081 return setAttributes({ VERSENUMBERSTYLES_FONTSIZEUNIT }); 1090 1082 } 1091 1083 … … 1104 1096 "VERSENUMBERSTYLES_TEXTCOLOR" 1105 1097 ].default = VERSENUMBERSTYLES_TEXTCOLOR; 1106 setAttributes({ VERSENUMBERSTYLES_TEXTCOLOR });1098 return setAttributes({ VERSENUMBERSTYLES_TEXTCOLOR }); 1107 1099 } 1108 1100 … … 1240 1232 "VERSENUMBERSTYLES_VALIGN" 1241 1233 ].default = VERSENUMBERSTYLES_VALIGN; 1242 setAttributes({ VERSENUMBERSTYLES_VALIGN });1234 return setAttributes({ VERSENUMBERSTYLES_VALIGN }); 1243 1235 } 1244 1236 … … 1366 1358 "VERSETEXTSTYLES_BOLD" 1367 1359 ].default = VERSETEXTSTYLES_BOLD; 1368 setAttributes({ VERSETEXTSTYLES_BOLD }); 1369 break; 1360 return setAttributes({ VERSETEXTSTYLES_BOLD }); 1370 1361 case BGET.TEXTSTYLE.ITALIC: 1371 1362 BibleGetGlobal.BGETProperties[ 1372 1363 "VERSETEXTSTYLES_ITALIC" 1373 1364 ].default = VERSETEXTSTYLES_ITALIC; 1374 setAttributes({ VERSETEXTSTYLES_ITALIC }); 1375 break; 1365 return setAttributes({ VERSETEXTSTYLES_ITALIC }); 1376 1366 case BGET.TEXTSTYLE.UNDERLINE: 1377 1367 BibleGetGlobal.BGETProperties[ 1378 1368 "VERSETEXTSTYLES_UNDERLINE" 1379 1369 ].default = VERSETEXTSTYLES_UNDERLINE; 1380 setAttributes({ VERSETEXTSTYLES_UNDERLINE }); 1381 break; 1370 return setAttributes({ VERSETEXTSTYLES_UNDERLINE }); 1382 1371 case BGET.TEXTSTYLE.STRIKETHROUGH: 1383 1372 BibleGetGlobal.BGETProperties[ 1384 1373 "VERSETEXTSTYLES_STRIKETHROUGH" 1385 1374 ].default = VERSETEXTSTYLES_STRIKETHROUGH; 1386 setAttributes({ VERSETEXTSTYLES_STRIKETHROUGH }); 1387 break; 1375 return setAttributes({ VERSETEXTSTYLES_STRIKETHROUGH }); 1388 1376 } 1389 1377 } … … 1407 1395 "VERSETEXTSTYLES_FONTSIZE" 1408 1396 ].default = VERSETEXTSTYLES_FONTSIZE; 1409 setAttributes({ VERSETEXTSTYLES_FONTSIZE });1397 return setAttributes({ VERSETEXTSTYLES_FONTSIZE }); 1410 1398 } 1411 1399 … … 1428 1416 "VERSETEXTSTYLES_FONTSIZEUNIT" 1429 1417 ].default = VERSETEXTSTYLES_FONTSIZEUNIT; 1430 setAttributes({ VERSETEXTSTYLES_FONTSIZEUNIT });1418 return setAttributes({ VERSETEXTSTYLES_FONTSIZEUNIT }); 1431 1419 } 1432 1420 … … 1443 1431 ); 1444 1432 BibleGetGlobal.BGETProperties["VERSETEXTSTYLES_TEXTCOLOR"].default = VERSETEXTSTYLES_TEXTCOLOR; 1445 setAttributes({ VERSETEXTSTYLES_TEXTCOLOR });1433 return setAttributes({ VERSETEXTSTYLES_TEXTCOLOR }); 1446 1434 } 1447 1435 … … 1474 1462 ); 1475 1463 BibleGetGlobal.BGETProperties["PARAGRAPHSTYLES_FONTFAMILY"].default = PARAGRAPHSTYLES_FONTFAMILY; 1476 setAttributes({ PARAGRAPHSTYLES_FONTFAMILY });1464 return setAttributes({ PARAGRAPHSTYLES_FONTFAMILY }); 1477 1465 } 1478 1466 … … 1506 1494 .appendTo("body") 1507 1495 .dialog({ 1508 close: function (){1509 $(this).dialog("destroy").remove();1496 close: () => { 1497 dlg.dialog("destroy").remove(); 1510 1498 }, 1511 1499 dialogClass: "bibleGetSearchDlg", … … 1529 1517 .appendTo("body") 1530 1518 .dialog({ 1531 close: function (){1532 $(this).dialog("destroy").remove();1519 close: () => { 1520 dlg.dialog("destroy").remove(); 1533 1521 }, 1534 1522 dialogClass: "bibleGetSearchDlg", … … 1577 1565 .appendTo("body") 1578 1566 .dialog({ 1579 close: function (){1580 $(this).dialog("destroy").remove();1567 close: () => { 1568 dlgNoResults.dialog("destroy").remove(); 1581 1569 }, 1582 1570 dialogClass: "bibleGetSearchDlg", … … 1704 1692 "click", 1705 1693 "button", 1706 function () { 1694 (ev) => { 1695 const tgt = ev.currentTarget; 1707 1696 //First check the context of the button that was clicked: control panel or searchResultsContents 1708 1697 let $filterLabel, … … 1712 1701 REFRESH = false; 1713 1702 switch ( 1714 $(t his)1703 $(tgt) 1715 1704 .parents(".searchResultsFlexChild") 1716 1705 .attr("id") … … 1747 1736 : ""; 1748 1737 1749 switch ($(t his).attr("id")) {1738 switch ($(tgt).attr("id")) { 1750 1739 case "ORDER_RESULTS_BY": 1751 1740 REFRESH = true; … … 1831 1820 case "searchResultsContents": 1832 1821 //alert('button was clicked! it is in the context of the searchResultsContents'); 1833 //alert($(t his).next().prop('tagName') );1822 //alert($(tgt).next().prop('tagName') ); 1834 1823 if ( 1835 $(this).next("input[type=hidden]").length != 1836 0 1824 $(tgt).next("input[type=hidden]").length != 0 1837 1825 ) { 1838 1826 //showSpinner(); 1839 let currentRef = $(t his)1827 let currentRef = $(tgt) 1840 1828 .parent("td") 1841 1829 .next("td") 1842 1830 .text(); 1843 1831 if ( 1844 $quotesArr.includes(bookChapterVerse) === 1845 false 1832 $quotesArr.includes(bookChapterVerse) === false 1846 1833 ) { 1847 $(t his)1834 $(tgt) 1848 1835 .addClass("disabled") 1849 1836 .prop("disabled", true); 1850 let $inputval = $(t his)1837 let $inputval = $(tgt) 1851 1838 .next("input[type=hidden]") 1852 1839 .val(); … … 1877 1864 ); 1878 1865 }, 1879 close: function (){1866 close: () => { 1880 1867 $("#searchResultsContainer").off("click"); 1881 $(this).dialog("destroy").remove();1868 dlg.dialog("destroy").remove(); 1882 1869 }, 1883 1870 dialogClass: "bibleGetSearchDlg", … … 2129 2116 return createElement( 2130 2117 "div", 2131 { key: `bibleQuoteWrapperDiv-${incr()}`},2118 {}, 2132 2119 //Preview a block with a PHP render callback 2133 2120 createElement(ServerSideRender, { … … 3326 3313 }); 3327 3314 3328 $(document).on("click", ".bibleget-popup-trigger", function () { 3329 const popup_content = he.decode($(this).attr("data-popupcontent")); 3315 $(document).on("click", ".bibleget-popup-trigger", (ev) => { 3316 const tgt = ev.currentTarget; 3317 const popup_content = he.decode($(tgt).attr("data-popupcontent")); 3330 3318 const dlg = $( 3331 3319 '<div class="bibleget-quote-div bibleget-popup">' + … … 3336 3324 width: $(window).width() * 0.8, 3337 3325 maxHeight: $(window).height() * 0.8, 3338 title: $(t his).text(),3326 title: $(tgt).text(), 3339 3327 create: () => { 3340 3328 // style fix for WordPress admin … … 3345 3333 dlg.dialog("destroy"); 3346 3334 $(".bibleget-quote-div.bibleget-popup").remove(); 3347 } ,3335 } 3348 3336 }); 3349 3337 return false; -
bibleget-io/tags/8.2/js/jquery.fontselect.js
r3040715 r3040906 306 306 (async ($) => { 307 307 308 const google_fonts = [309 "Aclonica",310 "Allan",311 "Annie+Use+Your+Telescope",312 "Anonymous+Pro",313 "Allerta+Stencil",314 "Allerta",315 "Amaranth",316 "Anton",317 "Architects+Daughter",318 "Arimo",319 "Artifika",320 "Arvo",321 "Asset",322 "Astloch",323 "Bangers",324 "Bentham",325 "Bevan",326 "Bigshot+One",327 "Bowlby+One",328 "Bowlby+One+SC",329 "Brawler",330 "Buda",331 "Cabin",332 "Calligraffitti",333 "Candal",334 "Cantarell",335 "Cardo",336 "Carter One",337 "Caudex",338 "Cedarville+Cursive",339 "Cherry+Cream+Soda",340 "Chewy",341 "Coda",342 "Coming+Soon",343 "Copse",344 "Corben",345 "Cousine",346 "Covered+By+Your+Grace",347 "Crafty+Girls",348 "Crimson+Text",349 "Crushed",350 "Cuprum",351 "Damion",352 "Dancing+Script",353 "Dawning+of+a+New+Day",354 "Didact+Gothic",355 "Droid+Sans",356 "Droid+Sans+Mono",357 "Droid+Serif",358 "EB+Garamond",359 "Expletus+Sans",360 "Fontdiner+Swanky",361 "Forum",362 "Francois+One",363 "Geo",364 "Give+You+Glory",365 "Goblin+One",366 "Goudy+Bookletter+1911",367 "Gravitas+One",368 "Gruppo",369 "Hammersmith+One",370 "Holtwood+One+SC",371 "Homemade+Apple",372 "Inconsolata",373 "Indie+Flower",374 "IM+Fell+DW+Pica",375 "IM+Fell+DW+Pica+SC",376 "IM+Fell+Double+Pica",377 "IM+Fell+Double+Pica+SC",378 "IM+Fell+English",379 "IM+Fell+English+SC",380 "IM+Fell+French+Canon",381 "IM+Fell+French+Canon+SC",382 "IM+Fell+Great+Primer",383 "IM+Fell+Great+Primer+SC",384 "Irish+Grover",385 "Irish+Growler",386 "Istok+Web",387 "Josefin+Sans",388 "Josefin+Slab",389 "Judson",390 "Jura",391 "Just+Another+Hand",392 "Just+Me+Again+Down+Here",393 "Kameron",394 "Kenia",395 "Kranky",396 "Kreon",397 "Kristi",398 "La+Belle+Aurore",399 "Lato",400 "League+Script",401 "Lekton",402 "Limelight",403 "Lobster",404 "Lobster Two",405 "Lora",406 "Love+Ya+Like+A+Sister",407 "Loved+by+the+King",408 "Luckiest+Guy",409 "Maiden+Orange",410 "Mako",411 "Maven+Pro",412 "Meddon",413 "MedievalSharp",414 "Megrim",415 "Merriweather",416 "Metrophobic",417 "Michroma",418 "Miltonian Tattoo",419 "Miltonian",420 "Modern Antiqua",421 "Monofett",422 "Molengo",423 "Mountains of Christmas",424 "Muli",425 "Neucha",426 "Neuton",427 "News+Cycle",428 "Nixie+One",429 "Nobile",430 "Nova+Cut",431 "Nova+Flat",432 "Nova+Mono",433 "Nova+Oval",434 "Nova+Round",435 "Nova+Script",436 "Nova+Slim",437 "Nova+Square",438 "Nunito",439 "OFL+Sorts+Mill+Goudy+TT",440 "Old+Standard+TT",441 "Open+Sans",442 "Open+Sans+Condensed",443 "Orbitron",444 "Oswald",445 "Over+the+Rainbow",446 "Reenie+Beanie",447 "Pacifico",448 "Patrick+Hand",449 "Paytone+One",450 "Permanent+Marker",451 "Philosopher",452 "Play",453 "Playfair+Display",454 "Podkova",455 "PT+Sans",456 "PT+Sans+Narrow",457 "PT+Serif",458 "PT+Serif Caption",459 "Puritan",460 "Quattrocento",461 "Quattrocento+Sans",462 "Radley",463 "Raleway",464 "Redressed",465 "Rock+Salt",466 "Rokkitt",467 "Roboto",468 "Ruslan+Display",469 "Schoolbell",470 "Shadows+Into+Light",471 "Shanti",472 "Sigmar+One",473 "Six+Caps",474 "Slackey",475 "Smythe",476 "Sniglet",477 "Special+Elite",478 "Stardos+Stencil",479 "Sue+Ellen+Francisco",480 "Sunshiney",481 "Swanky+and+Moo+Moo",482 "Syncopate",483 "Tangerine",484 "Tenor+Sans",485 "Terminal+Dosis+Light",486 "The+Girl+Next+Door",487 "Tinos",488 "Ubuntu",489 "Ultra",490 "Unkempt",491 "UnifrakturCook",492 "UnifrakturMaguntia",493 "Varela",494 "Varela Round",495 "Vibur",496 "Vollkorn",497 "VT323",498 "Waiting+for+the+Sunrise",499 "Wallpoet",500 "Walter+Turncoat",501 "Wire+One",502 "Yanone+Kaffeesatz",503 "Yeseva+One",504 "Zeyada",505 ];506 507 308 $.fontselect = { 508 309 settings: { … … 518 319 //console.log('Google Font API key not detected, using fallback list...'); 519 320 //console.warn(ex); 520 }) || google_fonts;321 }) || await fetch('../wp-content/plugins/bibleget-io/js/googlefonts-fallback.json').then(result => result.json()); 521 322 //console.log('length of google fonts after api call: ' + $.fontselect.google_fonts.length); 522 323 -
bibleget-io/tags/8.2/vendor/composer/installed.php
r3040715 r3040906 2 2 'root' => array( 3 3 'name' => 'johnrdorazio/bibleget-wordpress', 4 'pretty_version' => '8. 1',5 'version' => '8. 1.0.0',6 'reference' => ' 6321cd234b2d083d3bc1aa4915dfce35fa572cc5',4 'pretty_version' => '8.2', 5 'version' => '8.2.0.0', 6 'reference' => '442a7919a8a39ee149b5136f453972f664554573', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'johnrdorazio/bibleget-wordpress' => array( 14 'pretty_version' => '8. 1',15 'version' => '8. 1.0.0',16 'reference' => ' 6321cd234b2d083d3bc1aa4915dfce35fa572cc5',14 'pretty_version' => '8.2', 15 'version' => '8.2.0.0', 16 'reference' => '442a7919a8a39ee149b5136f453972f664554573', 17 17 'type' => 'wordpress-plugin', 18 18 'install_path' => __DIR__ . '/../../', -
bibleget-io/trunk/bibleget-io.php
r3040715 r3040906 4 4 * Plugin URI: https://www.bibleget.io/ 5 5 * Description: Easily insert Bible quotes from a choice of Bible versions into your articles or pages with the "Bible quote" block or with the shortcode [bibleget]. 6 * Version: 8. 16 * Version: 8.2 7 7 * Requires at least: 5.6 8 8 * Requires PHP: 7.4 … … 31 31 32 32 33 define("BIBLEGETPLUGINVERSION", "v8_ 1");33 define("BIBLEGETPLUGINVERSION", "v8_2"); 34 34 35 35 if (!defined('ABSPATH')) { -
bibleget-io/trunk/js/gutenberg.js
r3040715 r3040906 7 7 const BGET = BibleGetGlobal.BGETConstants; 8 8 //console.log(BibleGetGlobal); 9 class Incrementer {10 static i = 0;11 static incr = () => ++this.i;12 }13 const { incr } = Incrementer;14 9 15 10 const getKeyByValue = (object, value) => Object.keys(object).find((key) => object[key] === value); 16 11 17 ( (blocks, element, i18n, editor, components, ServerSideRender, $) => {12 (async (blocks, element, i18n, editor, components, ServerSideRender, $) => { 18 13 //define the same attributes as the shortcode, but now in JSON format 19 14 const { registerBlockType } = blocks; //Blocks API … … 67 62 "optgroup", 68 63 { label: label }, 69 options.map( function (item, index){64 options.map((item) => { 70 65 return createElement( 71 66 Option, 72 Object.assign( 73 {}, 74 { key: `${item.label.replace(/\s/g, "")}-${index}` }, 75 item 76 ) 67 item 77 68 ); 78 69 }) … … 102 93 value: value, 103 94 }, 104 options.map( function (item, index){95 options.map((item) => { 105 96 if ("options" in item) { 106 97 return createElement( 107 98 OptionGroup, 108 Object.assign( 109 {}, 110 { key: `${item.label.replace(/\s/g, "")}-${index}` }, 111 item 112 ) 99 item 113 100 ); 114 101 } 115 102 return createElement( 116 103 Option, 117 Object.assign( 118 {}, 119 { key: `${item.label.replace(/\s/g, "")}-${index}` }, 120 item 121 ) 104 item 122 105 ); 123 106 }) … … 126 109 127 110 const websafe_fonts = [ 128 { fontFamily: "Arial", fallback: "Helvetica", genericFamily: "sans-serif" }, 111 { 112 fontFamily: "Arial", 113 fallback: "Helvetica", 114 genericFamily: "sans-serif" }, 129 115 { 130 116 fontFamily: "Arial Black", … … 142 128 genericFamily: "monospace", 143 129 }, 144 { fontFamily: "Georgia", genericFamily: "serif" }, 145 { fontFamily: "Impact", fallback: "Charcoal", genericFamily: "sans-serif" }, 130 { 131 fontFamily: "Georgia", 132 genericFamily: "serif" 133 }, 134 { 135 fontFamily:"Impact", 136 fallback: "Charcoal", 137 genericFamily: "sans-serif" 138 }, 146 139 { 147 140 fontFamily: "Lucida Console", … … 159 152 genericFamily: "serif", 160 153 }, 161 { fontFamily: "Tahoma", fallback: "Geneva", genericFamily: "sans-serif" }, 154 { 155 fontFamily: "Tahoma", 156 fallback: "Geneva", 157 genericFamily: "sans-serif" 158 }, 162 159 { 163 160 fontFamily: "Times New Roman", … … 170 167 genericFamily: "sans-serif", 171 168 }, 172 { fontFamily: "Verdana", fallback: "Geneva", genericFamily: "sans-serif" }, 169 { 170 fontFamily: "Verdana", 171 fallback: "Geneva", 172 genericFamily: "sans-serif" 173 } 173 174 ]; 174 175 175 176 const fontOptions = []; 176 websafe_fonts.forEach((fontObj , idx) =>177 websafe_fonts.forEach((fontObj) => 177 178 fontOptions.push({ 178 179 label: fontObj.fontFamily + " [websafe]", … … 189 190 ) { 190 191 BibleGetGlobal.GFonts.items.forEach(value => fontOptions.push({ label: value.family, value: value.family.replace(/ /g,"+") }) ); 192 } else { 193 const googlefonts_fallback = await fetch('../wp-content/plugins/bibleget-io/js/googlefonts-fallback.json').then(result => result.json()); 194 googlefonts_fallback.forEach(value => fontOptions.push({ label: value.replace(/\+/g," "), value: value })); 191 195 } 192 196 … … 267 271 const changeQuery = (QUERY) => { 268 272 //BibleGetGlobal.BGETProperties['QUERY'].default = QUERY; 269 setAttributes({ QUERY });273 return setAttributes({ QUERY }); 270 274 } 271 275 … … 282 286 } 283 287 //BibleGetGlobal.BGETProperties['VERSION'].default = VERSION; 284 setAttributes({ VERSION });288 return setAttributes({ VERSION }); 285 289 } 286 290 … … 291 295 ? BGET.PREFERORIGIN.HEBREW 292 296 : BGET.PREFERORIGIN.GREEK; 293 setAttributes({ PREFERORIGIN });297 return setAttributes({ PREFERORIGIN }); 294 298 } 295 299 … … 297 301 const changePopup = (POPUP) => { 298 302 //BibleGetGlobal.BGETProperties['POPUP'].default = POPUP; 299 setAttributes({ POPUP });303 return setAttributes({ POPUP }); 300 304 } 301 305 … … 304 308 "LAYOUTPREFS_SHOWBIBLEVERSION" 305 309 ].default = LAYOUTPREFS_SHOWBIBLEVERSION; 306 setAttributes({ LAYOUTPREFS_SHOWBIBLEVERSION });310 return setAttributes({ LAYOUTPREFS_SHOWBIBLEVERSION }); 307 311 } 308 312 … … 324 328 "LAYOUTPREFS_BIBLEVERSIONALIGNMENT" 325 329 ].default = LAYOUTPREFS_BIBLEVERSIONALIGNMENT; 326 setAttributes({ LAYOUTPREFS_BIBLEVERSIONALIGNMENT });330 return setAttributes({ LAYOUTPREFS_BIBLEVERSIONALIGNMENT }); 327 331 } 328 332 … … 332 336 "LAYOUTPREFS_BIBLEVERSIONPOSITION" 333 337 ].default = LAYOUTPREFS_BIBLEVERSIONPOSITION; 334 setAttributes({ LAYOUTPREFS_BIBLEVERSIONPOSITION });338 return setAttributes({ LAYOUTPREFS_BIBLEVERSIONPOSITION }); 335 339 } 336 340 … … 340 344 "LAYOUTPREFS_BIBLEVERSIONWRAP" 341 345 ].default = LAYOUTPREFS_BIBLEVERSIONWRAP; 342 setAttributes({ LAYOUTPREFS_BIBLEVERSIONWRAP });346 return setAttributes({ LAYOUTPREFS_BIBLEVERSIONWRAP }); 343 347 } 344 348 … … 358 362 "LAYOUTPREFS_BOOKCHAPTERALIGNMENT" 359 363 ].default = LAYOUTPREFS_BOOKCHAPTERALIGNMENT; 360 setAttributes({ LAYOUTPREFS_BOOKCHAPTERALIGNMENT });364 return setAttributes({ LAYOUTPREFS_BOOKCHAPTERALIGNMENT }); 361 365 } 362 366 … … 366 370 "LAYOUTPREFS_BOOKCHAPTERPOSITION" 367 371 ].default = LAYOUTPREFS_BOOKCHAPTERPOSITION; 368 setAttributes({ LAYOUTPREFS_BOOKCHAPTERPOSITION });372 return setAttributes({ LAYOUTPREFS_BOOKCHAPTERPOSITION }); 369 373 } 370 374 … … 374 378 "LAYOUTPREFS_BOOKCHAPTERWRAP" 375 379 ].default = LAYOUTPREFS_BOOKCHAPTERWRAP; 376 setAttributes({ LAYOUTPREFS_BOOKCHAPTERWRAP });380 return setAttributes({ LAYOUTPREFS_BOOKCHAPTERWRAP }); 377 381 } 378 382 … … 381 385 "LAYOUTPREFS_BOOKCHAPTERFULLQUERY" 382 386 ].default = LAYOUTPREFS_BOOKCHAPTERFULLQUERY; 383 setAttributes({ LAYOUTPREFS_BOOKCHAPTERFULLQUERY });387 return setAttributes({ LAYOUTPREFS_BOOKCHAPTERFULLQUERY }); 384 388 } 385 389 … … 406 410 "LAYOUTPREFS_BOOKCHAPTERFORMAT" 407 411 ].default = LAYOUTPREFS_BOOKCHAPTERFORMAT; 408 setAttributes({ LAYOUTPREFS_BOOKCHAPTERFORMAT });412 return setAttributes({ LAYOUTPREFS_BOOKCHAPTERFORMAT }); 409 413 } 410 414 … … 431 435 "LAYOUTPREFS_BOOKCHAPTERFORMAT" 432 436 ].default = LAYOUTPREFS_BOOKCHAPTERFORMAT; 433 setAttributes({ LAYOUTPREFS_BOOKCHAPTERFORMAT });437 return setAttributes({ LAYOUTPREFS_BOOKCHAPTERFORMAT }); 434 438 } 435 439 … … 438 442 "LAYOUTPREFS_SHOWVERSENUMBERS" 439 443 ].default = LAYOUTPREFS_SHOWVERSENUMBERS; 440 setAttributes({ LAYOUTPREFS_SHOWVERSENUMBERS });444 return setAttributes({ LAYOUTPREFS_SHOWVERSENUMBERS }); 441 445 } 442 446 … … 454 458 "PARAGRAPHSTYLES_BORDERWIDTH" 455 459 ].default = PARAGRAPHSTYLES_BORDERWIDTH; 456 setAttributes({ PARAGRAPHSTYLES_BORDERWIDTH });460 return setAttributes({ PARAGRAPHSTYLES_BORDERWIDTH }); 457 461 } 458 462 … … 470 474 "PARAGRAPHSTYLES_BORDERRADIUS" 471 475 ].default = PARAGRAPHSTYLES_BORDERRADIUS; 472 setAttributes({ PARAGRAPHSTYLES_BORDERRADIUS });476 return setAttributes({ PARAGRAPHSTYLES_BORDERRADIUS }); 473 477 } 474 478 … … 487 491 "PARAGRAPHSTYLES_BORDERSTYLE" 488 492 ].default = PARAGRAPHSTYLES_BORDERSTYLE; 489 setAttributes({ PARAGRAPHSTYLES_BORDERSTYLE });493 return setAttributes({ PARAGRAPHSTYLES_BORDERSTYLE }); 490 494 } 491 495 … … 504 508 "PARAGRAPHSTYLES_BORDERCOLOR" 505 509 ].default = PARAGRAPHSTYLES_BORDERCOLOR; 506 setAttributes({ PARAGRAPHSTYLES_BORDERCOLOR });510 return setAttributes({ PARAGRAPHSTYLES_BORDERCOLOR }); 507 511 } 508 512 … … 521 525 "PARAGRAPHSTYLES_BACKGROUNDCOLOR" 522 526 ].default = PARAGRAPHSTYLES_BACKGROUNDCOLOR; 523 setAttributes({ PARAGRAPHSTYLES_BACKGROUNDCOLOR });527 return setAttributes({ PARAGRAPHSTYLES_BACKGROUNDCOLOR }); 524 528 } 525 529 … … 554 558 "PARAGRAPHSTYLES_MARGINTOPBOTTOM" 555 559 ].default = PARAGRAPHSTYLES_MARGINTOPBOTTOM; 556 setAttributes({ PARAGRAPHSTYLES_MARGINTOPBOTTOM });560 return setAttributes({ PARAGRAPHSTYLES_MARGINTOPBOTTOM }); 557 561 } 558 562 … … 587 591 "PARAGRAPHSTYLES_MARGINLEFTRIGHT" 588 592 ].default = PARAGRAPHSTYLES_MARGINLEFTRIGHT; 589 setAttributes({ PARAGRAPHSTYLES_MARGINLEFTRIGHT });593 return setAttributes({ PARAGRAPHSTYLES_MARGINLEFTRIGHT }); 590 594 } 591 595 … … 617 621 "PARAGRAPHSTYLES_MARGINLEFTRIGHTUNIT" 618 622 ].default = PARAGRAPHSTYLES_MARGINLEFTRIGHTUNIT; 619 setAttributes({ PARAGRAPHSTYLES_MARGINLEFTRIGHTUNIT });623 return setAttributes({ PARAGRAPHSTYLES_MARGINLEFTRIGHTUNIT }); 620 624 } 621 625 … … 636 640 "PARAGRAPHSTYLES_PADDINGTOPBOTTOM" 637 641 ].default = PARAGRAPHSTYLES_PADDINGTOPBOTTOM; 638 setAttributes({ PARAGRAPHSTYLES_PADDINGTOPBOTTOM });642 return setAttributes({ PARAGRAPHSTYLES_PADDINGTOPBOTTOM }); 639 643 } 640 644 … … 655 659 "PARAGRAPHSTYLES_PADDINGLEFTRIGHT" 656 660 ].default = PARAGRAPHSTYLES_PADDINGLEFTRIGHT; 657 setAttributes({ PARAGRAPHSTYLES_PADDINGLEFTRIGHT });661 return setAttributes({ PARAGRAPHSTYLES_PADDINGLEFTRIGHT }); 658 662 } 659 663 … … 673 677 "PARAGRAPHSTYLES_LINEHEIGHT" 674 678 ].default = PARAGRAPHSTYLES_LINEHEIGHT; 675 setAttributes({ PARAGRAPHSTYLES_LINEHEIGHT });679 return setAttributes({ PARAGRAPHSTYLES_LINEHEIGHT }); 676 680 } 677 681 … … 687 691 "PARAGRAPHSTYLES_WIDTH" 688 692 ].default = PARAGRAPHSTYLES_WIDTH; 689 setAttributes({ PARAGRAPHSTYLES_WIDTH });693 return setAttributes({ PARAGRAPHSTYLES_WIDTH }); 690 694 } 691 695 … … 747 751 "VERSIONSTYLES_BOLD" 748 752 ].default = VERSIONSTYLES_BOLD; 749 setAttributes({ VERSIONSTYLES_BOLD }); 750 break; 753 return setAttributes({ VERSIONSTYLES_BOLD }); 751 754 case BGET.TEXTSTYLE.ITALIC: 752 755 BibleGetGlobal.BGETProperties[ 753 756 "VERSIONSTYLES_ITALIC" 754 757 ].default = VERSIONSTYLES_ITALIC; 755 setAttributes({ VERSIONSTYLES_ITALIC }); 756 break; 758 return setAttributes({ VERSIONSTYLES_ITALIC }); 757 759 case BGET.TEXTSTYLE.UNDERLINE: 758 760 BibleGetGlobal.BGETProperties[ 759 761 "VERSIONSTYLES_UNDERLINE" 760 762 ].default = VERSIONSTYLES_UNDERLINE; 761 setAttributes({ VERSIONSTYLES_UNDERLINE }); 762 break; 763 return setAttributes({ VERSIONSTYLES_UNDERLINE }); 763 764 case BGET.TEXTSTYLE.STRIKETHROUGH: 764 765 BibleGetGlobal.BGETProperties[ 765 766 "VERSIONSTYLES_STRIKETHROUGH" 766 767 ].default = VERSIONSTYLES_STRIKETHROUGH; 767 setAttributes({ VERSIONSTYLES_STRIKETHROUGH }); 768 break; 768 return setAttributes({ VERSIONSTYLES_STRIKETHROUGH }); 769 769 } 770 770 } … … 788 788 "VERSIONSTYLES_FONTSIZE" 789 789 ].default = VERSIONSTYLES_FONTSIZE; 790 setAttributes({ VERSIONSTYLES_FONTSIZE });790 return setAttributes({ VERSIONSTYLES_FONTSIZE }); 791 791 } 792 792 … … 809 809 "VERSIONSTYLES_FONTSIZEUNIT" 810 810 ].default = VERSIONSTYLES_FONTSIZEUNIT; 811 setAttributes({ VERSIONSTYLES_FONTSIZEUNIT });811 return setAttributes({ VERSIONSTYLES_FONTSIZEUNIT }); 812 812 } 813 813 … … 826 826 "VERSIONSTYLES_TEXTCOLOR" 827 827 ].default = VERSIONSTYLES_TEXTCOLOR; 828 setAttributes({ VERSIONSTYLES_TEXTCOLOR });828 return setAttributes({ VERSIONSTYLES_TEXTCOLOR }); 829 829 } 830 830 … … 886 886 "BOOKCHAPTERSTYLES_BOLD" 887 887 ].default = BOOKCHAPTERSTYLES_BOLD; 888 setAttributes({ BOOKCHAPTERSTYLES_BOLD }); 889 break; 888 return setAttributes({ BOOKCHAPTERSTYLES_BOLD }); 890 889 case BGET.TEXTSTYLE.ITALIC: 891 890 BibleGetGlobal.BGETProperties[ 892 891 "BOOKCHAPTERSTYLES_ITALIC" 893 892 ].default = BOOKCHAPTERSTYLES_ITALIC; 894 setAttributes({ BOOKCHAPTERSTYLES_ITALIC }); 895 break; 893 return setAttributes({ BOOKCHAPTERSTYLES_ITALIC }); 896 894 case BGET.TEXTSTYLE.UNDERLINE: 897 895 BibleGetGlobal.BGETProperties[ 898 896 "BOOKCHAPTERSTYLES_UNDERLINE" 899 897 ].default = BOOKCHAPTERSTYLES_UNDERLINE; 900 setAttributes({ BOOKCHAPTERSTYLES_UNDERLINE }); 901 break; 898 return setAttributes({ BOOKCHAPTERSTYLES_UNDERLINE }); 902 899 case BGET.TEXTSTYLE.STRIKETHROUGH: 903 900 BibleGetGlobal.BGETProperties[ 904 901 "BOOKCHAPTERSTYLES_STRIKETHROUGH" 905 902 ].default = BOOKCHAPTERSTYLES_STRIKETHROUGH; 906 setAttributes({ BOOKCHAPTERSTYLES_STRIKETHROUGH }); 907 break; 903 return setAttributes({ BOOKCHAPTERSTYLES_STRIKETHROUGH }); 908 904 } 909 905 } … … 927 923 "BOOKCHAPTERSTYLES_FONTSIZE" 928 924 ].default = BOOKCHAPTERSTYLES_FONTSIZE; 929 setAttributes({ BOOKCHAPTERSTYLES_FONTSIZE });925 return setAttributes({ BOOKCHAPTERSTYLES_FONTSIZE }); 930 926 } 931 927 … … 948 944 "BOOKCHAPTERSTYLES_FONTSIZEUNIT" 949 945 ].default = BOOKCHAPTERSTYLES_FONTSIZEUNIT; 950 setAttributes({ BOOKCHAPTERSTYLES_FONTSIZEUNIT });946 return setAttributes({ BOOKCHAPTERSTYLES_FONTSIZEUNIT }); 951 947 } 952 948 … … 965 961 "BOOKCHAPTERSTYLES_TEXTCOLOR" 966 962 ].default = BOOKCHAPTERSTYLES_TEXTCOLOR; 967 setAttributes({ BOOKCHAPTERSTYLES_TEXTCOLOR });963 return setAttributes({ BOOKCHAPTERSTYLES_TEXTCOLOR }); 968 964 } 969 965 … … 1025 1021 "VERSENUMBERSTYLES_BOLD" 1026 1022 ].default = VERSENUMBERSTYLES_BOLD; 1027 setAttributes({ VERSENUMBERSTYLES_BOLD }); 1028 break; 1023 return setAttributes({ VERSENUMBERSTYLES_BOLD }); 1029 1024 case BGET.TEXTSTYLE.ITALIC: 1030 1025 BibleGetGlobal.BGETProperties[ 1031 1026 "VERSENUMBERSTYLES_ITALIC" 1032 1027 ].default = VERSENUMBERSTYLES_ITALIC; 1033 setAttributes({ VERSENUMBERSTYLES_ITALIC }); 1034 break; 1028 return setAttributes({ VERSENUMBERSTYLES_ITALIC }); 1035 1029 case BGET.TEXTSTYLE.UNDERLINE: 1036 1030 BibleGetGlobal.BGETProperties[ 1037 1031 "VERSENUMBERSTYLES_UNDERLINE" 1038 1032 ].default = VERSENUMBERSTYLES_UNDERLINE; 1039 setAttributes({ VERSENUMBERSTYLES_UNDERLINE }); 1040 break; 1033 return setAttributes({ VERSENUMBERSTYLES_UNDERLINE }); 1041 1034 case BGET.TEXTSTYLE.STRIKETHROUGH: 1042 1035 BibleGetGlobal.BGETProperties[ 1043 1036 "VERSENUMBERSTYLES_STRIKETHROUGH" 1044 1037 ].default = VERSENUMBERSTYLES_STRIKETHROUGH; 1045 setAttributes({ VERSENUMBERSTYLES_STRIKETHROUGH }); 1046 break; 1038 return setAttributes({ VERSENUMBERSTYLES_STRIKETHROUGH }); 1047 1039 } 1048 1040 } … … 1066 1058 "VERSENUMBERSTYLES_FONTSIZE" 1067 1059 ].default = VERSENUMBERSTYLES_FONTSIZE; 1068 setAttributes({ VERSENUMBERSTYLES_FONTSIZE });1060 return setAttributes({ VERSENUMBERSTYLES_FONTSIZE }); 1069 1061 } 1070 1062 … … 1087 1079 "VERSENUMBERSTYLES_FONTSIZEUNIT" 1088 1080 ].default = VERSENUMBERSTYLES_FONTSIZEUNIT; 1089 setAttributes({ VERSENUMBERSTYLES_FONTSIZEUNIT });1081 return setAttributes({ VERSENUMBERSTYLES_FONTSIZEUNIT }); 1090 1082 } 1091 1083 … … 1104 1096 "VERSENUMBERSTYLES_TEXTCOLOR" 1105 1097 ].default = VERSENUMBERSTYLES_TEXTCOLOR; 1106 setAttributes({ VERSENUMBERSTYLES_TEXTCOLOR });1098 return setAttributes({ VERSENUMBERSTYLES_TEXTCOLOR }); 1107 1099 } 1108 1100 … … 1240 1232 "VERSENUMBERSTYLES_VALIGN" 1241 1233 ].default = VERSENUMBERSTYLES_VALIGN; 1242 setAttributes({ VERSENUMBERSTYLES_VALIGN });1234 return setAttributes({ VERSENUMBERSTYLES_VALIGN }); 1243 1235 } 1244 1236 … … 1366 1358 "VERSETEXTSTYLES_BOLD" 1367 1359 ].default = VERSETEXTSTYLES_BOLD; 1368 setAttributes({ VERSETEXTSTYLES_BOLD }); 1369 break; 1360 return setAttributes({ VERSETEXTSTYLES_BOLD }); 1370 1361 case BGET.TEXTSTYLE.ITALIC: 1371 1362 BibleGetGlobal.BGETProperties[ 1372 1363 "VERSETEXTSTYLES_ITALIC" 1373 1364 ].default = VERSETEXTSTYLES_ITALIC; 1374 setAttributes({ VERSETEXTSTYLES_ITALIC }); 1375 break; 1365 return setAttributes({ VERSETEXTSTYLES_ITALIC }); 1376 1366 case BGET.TEXTSTYLE.UNDERLINE: 1377 1367 BibleGetGlobal.BGETProperties[ 1378 1368 "VERSETEXTSTYLES_UNDERLINE" 1379 1369 ].default = VERSETEXTSTYLES_UNDERLINE; 1380 setAttributes({ VERSETEXTSTYLES_UNDERLINE }); 1381 break; 1370 return setAttributes({ VERSETEXTSTYLES_UNDERLINE }); 1382 1371 case BGET.TEXTSTYLE.STRIKETHROUGH: 1383 1372 BibleGetGlobal.BGETProperties[ 1384 1373 "VERSETEXTSTYLES_STRIKETHROUGH" 1385 1374 ].default = VERSETEXTSTYLES_STRIKETHROUGH; 1386 setAttributes({ VERSETEXTSTYLES_STRIKETHROUGH }); 1387 break; 1375 return setAttributes({ VERSETEXTSTYLES_STRIKETHROUGH }); 1388 1376 } 1389 1377 } … … 1407 1395 "VERSETEXTSTYLES_FONTSIZE" 1408 1396 ].default = VERSETEXTSTYLES_FONTSIZE; 1409 setAttributes({ VERSETEXTSTYLES_FONTSIZE });1397 return setAttributes({ VERSETEXTSTYLES_FONTSIZE }); 1410 1398 } 1411 1399 … … 1428 1416 "VERSETEXTSTYLES_FONTSIZEUNIT" 1429 1417 ].default = VERSETEXTSTYLES_FONTSIZEUNIT; 1430 setAttributes({ VERSETEXTSTYLES_FONTSIZEUNIT });1418 return setAttributes({ VERSETEXTSTYLES_FONTSIZEUNIT }); 1431 1419 } 1432 1420 … … 1443 1431 ); 1444 1432 BibleGetGlobal.BGETProperties["VERSETEXTSTYLES_TEXTCOLOR"].default = VERSETEXTSTYLES_TEXTCOLOR; 1445 setAttributes({ VERSETEXTSTYLES_TEXTCOLOR });1433 return setAttributes({ VERSETEXTSTYLES_TEXTCOLOR }); 1446 1434 } 1447 1435 … … 1474 1462 ); 1475 1463 BibleGetGlobal.BGETProperties["PARAGRAPHSTYLES_FONTFAMILY"].default = PARAGRAPHSTYLES_FONTFAMILY; 1476 setAttributes({ PARAGRAPHSTYLES_FONTFAMILY });1464 return setAttributes({ PARAGRAPHSTYLES_FONTFAMILY }); 1477 1465 } 1478 1466 … … 1506 1494 .appendTo("body") 1507 1495 .dialog({ 1508 close: function (){1509 $(this).dialog("destroy").remove();1496 close: () => { 1497 dlg.dialog("destroy").remove(); 1510 1498 }, 1511 1499 dialogClass: "bibleGetSearchDlg", … … 1529 1517 .appendTo("body") 1530 1518 .dialog({ 1531 close: function (){1532 $(this).dialog("destroy").remove();1519 close: () => { 1520 dlg.dialog("destroy").remove(); 1533 1521 }, 1534 1522 dialogClass: "bibleGetSearchDlg", … … 1577 1565 .appendTo("body") 1578 1566 .dialog({ 1579 close: function (){1580 $(this).dialog("destroy").remove();1567 close: () => { 1568 dlgNoResults.dialog("destroy").remove(); 1581 1569 }, 1582 1570 dialogClass: "bibleGetSearchDlg", … … 1704 1692 "click", 1705 1693 "button", 1706 function () { 1694 (ev) => { 1695 const tgt = ev.currentTarget; 1707 1696 //First check the context of the button that was clicked: control panel or searchResultsContents 1708 1697 let $filterLabel, … … 1712 1701 REFRESH = false; 1713 1702 switch ( 1714 $(t his)1703 $(tgt) 1715 1704 .parents(".searchResultsFlexChild") 1716 1705 .attr("id") … … 1747 1736 : ""; 1748 1737 1749 switch ($(t his).attr("id")) {1738 switch ($(tgt).attr("id")) { 1750 1739 case "ORDER_RESULTS_BY": 1751 1740 REFRESH = true; … … 1831 1820 case "searchResultsContents": 1832 1821 //alert('button was clicked! it is in the context of the searchResultsContents'); 1833 //alert($(t his).next().prop('tagName') );1822 //alert($(tgt).next().prop('tagName') ); 1834 1823 if ( 1835 $(this).next("input[type=hidden]").length != 1836 0 1824 $(tgt).next("input[type=hidden]").length != 0 1837 1825 ) { 1838 1826 //showSpinner(); 1839 let currentRef = $(t his)1827 let currentRef = $(tgt) 1840 1828 .parent("td") 1841 1829 .next("td") 1842 1830 .text(); 1843 1831 if ( 1844 $quotesArr.includes(bookChapterVerse) === 1845 false 1832 $quotesArr.includes(bookChapterVerse) === false 1846 1833 ) { 1847 $(t his)1834 $(tgt) 1848 1835 .addClass("disabled") 1849 1836 .prop("disabled", true); 1850 let $inputval = $(t his)1837 let $inputval = $(tgt) 1851 1838 .next("input[type=hidden]") 1852 1839 .val(); … … 1877 1864 ); 1878 1865 }, 1879 close: function (){1866 close: () => { 1880 1867 $("#searchResultsContainer").off("click"); 1881 $(this).dialog("destroy").remove();1868 dlg.dialog("destroy").remove(); 1882 1869 }, 1883 1870 dialogClass: "bibleGetSearchDlg", … … 2129 2116 return createElement( 2130 2117 "div", 2131 { key: `bibleQuoteWrapperDiv-${incr()}`},2118 {}, 2132 2119 //Preview a block with a PHP render callback 2133 2120 createElement(ServerSideRender, { … … 3326 3313 }); 3327 3314 3328 $(document).on("click", ".bibleget-popup-trigger", function () { 3329 const popup_content = he.decode($(this).attr("data-popupcontent")); 3315 $(document).on("click", ".bibleget-popup-trigger", (ev) => { 3316 const tgt = ev.currentTarget; 3317 const popup_content = he.decode($(tgt).attr("data-popupcontent")); 3330 3318 const dlg = $( 3331 3319 '<div class="bibleget-quote-div bibleget-popup">' + … … 3336 3324 width: $(window).width() * 0.8, 3337 3325 maxHeight: $(window).height() * 0.8, 3338 title: $(t his).text(),3326 title: $(tgt).text(), 3339 3327 create: () => { 3340 3328 // style fix for WordPress admin … … 3345 3333 dlg.dialog("destroy"); 3346 3334 $(".bibleget-quote-div.bibleget-popup").remove(); 3347 } ,3335 } 3348 3336 }); 3349 3337 return false; -
bibleget-io/trunk/js/jquery.fontselect.js
r3040715 r3040906 306 306 (async ($) => { 307 307 308 const google_fonts = [309 "Aclonica",310 "Allan",311 "Annie+Use+Your+Telescope",312 "Anonymous+Pro",313 "Allerta+Stencil",314 "Allerta",315 "Amaranth",316 "Anton",317 "Architects+Daughter",318 "Arimo",319 "Artifika",320 "Arvo",321 "Asset",322 "Astloch",323 "Bangers",324 "Bentham",325 "Bevan",326 "Bigshot+One",327 "Bowlby+One",328 "Bowlby+One+SC",329 "Brawler",330 "Buda",331 "Cabin",332 "Calligraffitti",333 "Candal",334 "Cantarell",335 "Cardo",336 "Carter One",337 "Caudex",338 "Cedarville+Cursive",339 "Cherry+Cream+Soda",340 "Chewy",341 "Coda",342 "Coming+Soon",343 "Copse",344 "Corben",345 "Cousine",346 "Covered+By+Your+Grace",347 "Crafty+Girls",348 "Crimson+Text",349 "Crushed",350 "Cuprum",351 "Damion",352 "Dancing+Script",353 "Dawning+of+a+New+Day",354 "Didact+Gothic",355 "Droid+Sans",356 "Droid+Sans+Mono",357 "Droid+Serif",358 "EB+Garamond",359 "Expletus+Sans",360 "Fontdiner+Swanky",361 "Forum",362 "Francois+One",363 "Geo",364 "Give+You+Glory",365 "Goblin+One",366 "Goudy+Bookletter+1911",367 "Gravitas+One",368 "Gruppo",369 "Hammersmith+One",370 "Holtwood+One+SC",371 "Homemade+Apple",372 "Inconsolata",373 "Indie+Flower",374 "IM+Fell+DW+Pica",375 "IM+Fell+DW+Pica+SC",376 "IM+Fell+Double+Pica",377 "IM+Fell+Double+Pica+SC",378 "IM+Fell+English",379 "IM+Fell+English+SC",380 "IM+Fell+French+Canon",381 "IM+Fell+French+Canon+SC",382 "IM+Fell+Great+Primer",383 "IM+Fell+Great+Primer+SC",384 "Irish+Grover",385 "Irish+Growler",386 "Istok+Web",387 "Josefin+Sans",388 "Josefin+Slab",389 "Judson",390 "Jura",391 "Just+Another+Hand",392 "Just+Me+Again+Down+Here",393 "Kameron",394 "Kenia",395 "Kranky",396 "Kreon",397 "Kristi",398 "La+Belle+Aurore",399 "Lato",400 "League+Script",401 "Lekton",402 "Limelight",403 "Lobster",404 "Lobster Two",405 "Lora",406 "Love+Ya+Like+A+Sister",407 "Loved+by+the+King",408 "Luckiest+Guy",409 "Maiden+Orange",410 "Mako",411 "Maven+Pro",412 "Meddon",413 "MedievalSharp",414 "Megrim",415 "Merriweather",416 "Metrophobic",417 "Michroma",418 "Miltonian Tattoo",419 "Miltonian",420 "Modern Antiqua",421 "Monofett",422 "Molengo",423 "Mountains of Christmas",424 "Muli",425 "Neucha",426 "Neuton",427 "News+Cycle",428 "Nixie+One",429 "Nobile",430 "Nova+Cut",431 "Nova+Flat",432 "Nova+Mono",433 "Nova+Oval",434 "Nova+Round",435 "Nova+Script",436 "Nova+Slim",437 "Nova+Square",438 "Nunito",439 "OFL+Sorts+Mill+Goudy+TT",440 "Old+Standard+TT",441 "Open+Sans",442 "Open+Sans+Condensed",443 "Orbitron",444 "Oswald",445 "Over+the+Rainbow",446 "Reenie+Beanie",447 "Pacifico",448 "Patrick+Hand",449 "Paytone+One",450 "Permanent+Marker",451 "Philosopher",452 "Play",453 "Playfair+Display",454 "Podkova",455 "PT+Sans",456 "PT+Sans+Narrow",457 "PT+Serif",458 "PT+Serif Caption",459 "Puritan",460 "Quattrocento",461 "Quattrocento+Sans",462 "Radley",463 "Raleway",464 "Redressed",465 "Rock+Salt",466 "Rokkitt",467 "Roboto",468 "Ruslan+Display",469 "Schoolbell",470 "Shadows+Into+Light",471 "Shanti",472 "Sigmar+One",473 "Six+Caps",474 "Slackey",475 "Smythe",476 "Sniglet",477 "Special+Elite",478 "Stardos+Stencil",479 "Sue+Ellen+Francisco",480 "Sunshiney",481 "Swanky+and+Moo+Moo",482 "Syncopate",483 "Tangerine",484 "Tenor+Sans",485 "Terminal+Dosis+Light",486 "The+Girl+Next+Door",487 "Tinos",488 "Ubuntu",489 "Ultra",490 "Unkempt",491 "UnifrakturCook",492 "UnifrakturMaguntia",493 "Varela",494 "Varela Round",495 "Vibur",496 "Vollkorn",497 "VT323",498 "Waiting+for+the+Sunrise",499 "Wallpoet",500 "Walter+Turncoat",501 "Wire+One",502 "Yanone+Kaffeesatz",503 "Yeseva+One",504 "Zeyada",505 ];506 507 308 $.fontselect = { 508 309 settings: { … … 518 319 //console.log('Google Font API key not detected, using fallback list...'); 519 320 //console.warn(ex); 520 }) || google_fonts;321 }) || await fetch('../wp-content/plugins/bibleget-io/js/googlefonts-fallback.json').then(result => result.json()); 521 322 //console.log('length of google fonts after api call: ' + $.fontselect.google_fonts.length); 522 323 -
bibleget-io/trunk/vendor/composer/installed.php
r3040715 r3040906 2 2 'root' => array( 3 3 'name' => 'johnrdorazio/bibleget-wordpress', 4 'pretty_version' => '8. 1',5 'version' => '8. 1.0.0',6 'reference' => ' 6321cd234b2d083d3bc1aa4915dfce35fa572cc5',4 'pretty_version' => '8.2', 5 'version' => '8.2.0.0', 6 'reference' => '442a7919a8a39ee149b5136f453972f664554573', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'johnrdorazio/bibleget-wordpress' => array( 14 'pretty_version' => '8. 1',15 'version' => '8. 1.0.0',16 'reference' => ' 6321cd234b2d083d3bc1aa4915dfce35fa572cc5',14 'pretty_version' => '8.2', 15 'version' => '8.2.0.0', 16 'reference' => '442a7919a8a39ee149b5136f453972f664554573', 17 17 'type' => 'wordpress-plugin', 18 18 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.