This is an automated email from the ASF dual-hosted git repository.

poorejc pushed a commit to branch FLAGON-469
in repository https://gitbox.apache.org/repos/asf/incubator-flagon-useralejs.git


The following commit(s) were added to refs/heads/FLAGON-469 by this push:
     new e4642dc  [FLAGON-467] minor fixes to examples
e4642dc is described below

commit e4642dc1fb979b2958129bdd16c5c57b184cdba7
Author: poorejc <[email protected]>
AuthorDate: Mon Nov 4 22:16:38 2019 -0500

    [FLAGON-467] minor fixes to examples
---
 example/aleAPI.js  | 10 +++++-----
 example/index.html |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/example/aleAPI.js b/example/aleAPI.js
index 432371d..6172390 100644
--- a/example/aleAPI.js
+++ b/example/aleAPI.js
@@ -59,11 +59,11 @@ document.addEventListener('change', function(e) {
             logType: 'custom',
             userAction: false,
             details: 'disinterested user',
-            userId: window.userale.options.userId,
-            toolVersion: window.userale.options.toolVersion,
-            toolName: window.userale.options.toolName,
-            useraleVersion: window.userale.options.useraleVersion,
-            sessionID: window.userale.options.sessionID,
+            userId: window.userale.options().userId,
+            toolVersion: window.userale.options().version,
+            toolName: window.userale.options().toolName,
+            useraleVersion: window.userale.options().useraleVersion,
+            sessionID: window.userale.options().sessionID,
             customLabel: "no follow up"
         });
     }
diff --git a/example/index.html b/example/index.html
index 46412ac..5ca829a 100644
--- a/example/index.html
+++ b/example/index.html
@@ -18,7 +18,7 @@ limitations under the License.
 
   <!-- Load UserALE.js and set logging parameters-->
   <script
-          
src="file:///.../Apache_Flagon/dev/incubator-flagon-useralejs/build/userale-2.0.2.min.js"
+          
src="file:///...Apache_Flagon/dev/incubator-flagon-useralejs/build/userale-2.0.2.min.js"
           data-url="http://localhost:8000/";
           data-user="example-user"
           data-log-details="true"
@@ -27,7 +27,7 @@ limitations under the License.
   ></script>
   <!-- Load UserALE.js API calls to modify log stream -->
   <script
-          
src="file:///.../Apache_Flagon/dev/incubator-flagon-useralejs/example/aleAPI.js"
+          
src="file:///...Apache_Flagon/dev/incubator-flagon-useralejs/example/aleAPI.js"
   ></script>
 </head>
 <body>

Reply via email to