[sword-svn] r3832 - trunk/bindings/cordova/cordova-plugin-crosswire-sword
scribe at crosswire.org
scribe at crosswire.org
Mon Dec 7 19:52:59 EST 2020
Author: scribe
Date: 2020-12-07 19:52:59 -0500 (Mon, 07 Dec 2020)
New Revision: 3832
Modified:
trunk/bindings/cordova/cordova-plugin-crosswire-sword/README.md
trunk/bindings/cordova/cordova-plugin-crosswire-sword/RELEASENOTES.md
trunk/bindings/cordova/cordova-plugin-crosswire-sword/package.json
trunk/bindings/cordova/cordova-plugin-crosswire-sword/plugin.xml
Log:
more updated to cordova plugin documentation
Modified: trunk/bindings/cordova/cordova-plugin-crosswire-sword/README.md
===================================================================
--- trunk/bindings/cordova/cordova-plugin-crosswire-sword/README.md 2020-12-08 00:26:23 UTC (rev 3831)
+++ trunk/bindings/cordova/cordova-plugin-crosswire-sword/README.md 2020-12-08 00:52:59 UTC (rev 3832)
@@ -26,26 +26,22 @@
- Android
- iOS
-- others should work from source, but binaries are only included for these
+- other platforms should work from source, but binaries are only included for those listed above
### Quick Example
- document.addEventListener("deviceready", onDeviceReady, false);
+ var moduleName = 'KJV';
+ var verse = 'Jn.3.16';
- function onDeviceReady() {
-
- var moduleName = 'KJV';
- var verse = 'Jn.3.16';
-
- SWORD.mgr.getModuleByName(moduleName, module) {
- module.setKeyText(verse, function() {
- module.renderText(function(entryText) {
- console.log(verse + ': ' + entryText + '(' + moduleName + ')');
- });
+ SWORD.mgr.getModuleByName(moduleName, function (module) {
+ module.setKeyText(verse, function() {
+ module.getRenderText(function(entryText) {
+ console.log(verse + ': ' + entryText + '(' + moduleName + ')');
});
});
- }
+ });
+
## Installation
cordova plugin add cordova-plugin-crosswire-sword
Modified: trunk/bindings/cordova/cordova-plugin-crosswire-sword/RELEASENOTES.md
===================================================================
--- trunk/bindings/cordova/cordova-plugin-crosswire-sword/RELEASENOTES.md 2020-12-08 00:26:23 UTC (rev 3831)
+++ trunk/bindings/cordova/cordova-plugin-crosswire-sword/RELEASENOTES.md 2020-12-08 00:52:59 UTC (rev 3832)
@@ -20,7 +20,7 @@
-->
# Release Notes
-### 0.2.2 (Dec 7, 2020)
+### 0.2.4 (Dec 7, 2020)
* Updated documentation
### 0.2.1 (Nov 24, 2020)
Modified: trunk/bindings/cordova/cordova-plugin-crosswire-sword/package.json
===================================================================
--- trunk/bindings/cordova/cordova-plugin-crosswire-sword/package.json 2020-12-08 00:26:23 UTC (rev 3831)
+++ trunk/bindings/cordova/cordova-plugin-crosswire-sword/package.json 2020-12-08 00:52:59 UTC (rev 3832)
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-crosswire-sword",
- "version": "0.2.3",
+ "version": "0.2.4",
"description": "The SWORD Project Plugin",
"cordova": {
"id": "cordova-plugin-crosswire-sword",
Modified: trunk/bindings/cordova/cordova-plugin-crosswire-sword/plugin.xml
===================================================================
--- trunk/bindings/cordova/cordova-plugin-crosswire-sword/plugin.xml 2020-12-08 00:26:23 UTC (rev 3831)
+++ trunk/bindings/cordova/cordova-plugin-crosswire-sword/plugin.xml 2020-12-08 00:52:59 UTC (rev 3832)
@@ -4,7 +4,7 @@
xmlns:rim="http://www.blackberry.com/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-crosswire-sword"
- version="0.2.3">
+ version="0.2.4">
<name>cordova-plugin-crosswire-sword</name>
<description>The SWORD Project Plugin</description>
<license>GNU 2.0</license>
More information about the sword-cvs
mailing list