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 <[email protected]> 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) => {
