You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flagon.apache.org by po...@apache.org on 2023/01/29 19:46:26 UTC

[incubator-flagon-useralejs] branch UMD-ARLIS-attribute_example created (now 9020c6c)

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

poorejc pushed a change to branch UMD-ARLIS-attribute_example
in repository https://gitbox.apache.org/repos/asf/incubator-flagon-useralejs.git


      at 9020c6c  minor modifications to text, and sp fixes

This branch includes the following new commits:

     new 8336f4e  Merge branch 'attribute_example' of https://github.com/UMD-ARLIS/incubator-flagon-useralejs into UMD-ARLIS-attribute_example
     new 9020c6c  minor modifications to text, and sp fixes

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-flagon-useralejs] 01/02: Merge branch 'attribute_example' of https://github.com/UMD-ARLIS/incubator-flagon-useralejs into UMD-ARLIS-attribute_example

Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 8336f4e4491afeddd9f27f56b0acefa503e3f6e0
Merge: 1adb17c 195fc94
Author: poorejc <po...@apache.org>
AuthorDate: Sun Jan 29 14:38:39 2023 -0500

    Merge branch 'attribute_example' of https://github.com/UMD-ARLIS/incubator-flagon-useralejs into UMD-ARLIS-attribute_example

 example/log-attribute-example/README.md  | 75 ++++++++++++++++++++++++++++++
 example/log-attribute-example/index.html | 80 ++++++++++++++++++++++++++++++++
 2 files changed, 155 insertions(+)


[incubator-flagon-useralejs] 02/02: minor modifications to text, and sp fixes

Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 9020c6c1bc16fb0e64bc50f0fc8f394c71fdb555
Author: poorejc <po...@apache.org>
AuthorDate: Sun Jan 29 14:46:07 2023 -0500

    minor modifications to text, and sp fixes
---
 example/log-attribute-example/README.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/example/log-attribute-example/README.md b/example/log-attribute-example/README.md
index e55ff70..a204052 100644
--- a/example/log-attribute-example/README.md
+++ b/example/log-attribute-example/README.md
@@ -1,6 +1,6 @@
 # HTML attribute logging
 
-The following is an example outlining how to log HTML attributes, and parse some common syntaxes found in attributes.
+The following is an example outlining how to log HTML attributes with UserALE.js, and parse some common syntaxs found in attributes.
 
 ## Common syntaxes
 
@@ -14,7 +14,7 @@ Consider the following HTML canvas element. This element has a attribute, `data-
 
 ## Extracting and parsing attributes
 
-The following function shows how to extract attrbutes and parse JSON attribute values. The `style` attribute is excluded because it is handled as a special case in the next code block.
+The following function shows how to extract attributes and parse JSON attribute values. The `style` attribute is excluded because it is handled as a special case in the next code block.
 
 ```js
 
@@ -61,7 +61,7 @@ export function buildCSS(e) {
     return properties;
 }
 ```
-The above functions can be used in the below snippet to add the results to each log message.
+The above functions can be used in the below snippet to add the results to each log message. In turn, this snippet can be added to a custom.js script to modify core UserALE.js behavior. See the 'index.js' example in this dir. 
 
 ```js
 window.userale.map((log, e) => {