Skip to content

Commit

Permalink
remove messages in the console
Browse files Browse the repository at this point in the history
  • Loading branch information
dealfonso committed Apr 24, 2024
1 parent b0e47d4 commit 7dfd6b1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions js/simplelottieplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,6 @@ class MemLottiePlayer extends SimpleLottiePlayer {

// Get the value and convert the type, if needed
let value = element.getAttribute(camelToSnakeCase(attributeName));
console.log(attributeName);
if (value != null) {
let type = "string"
if (parts.length > 1) {
Expand All @@ -527,7 +526,6 @@ class MemLottiePlayer extends SimpleLottiePlayer {
try { value = parseFloat(value); } catch (_) { }; break;
case "bool":
value = [ "", "true", "1", attributeName ].indexOf(value.toLowerCase()) >= 0;
console.log(attributeName, value);
break;
}
result[attributeName] = value;
Expand Down
2 changes: 0 additions & 2 deletions simplelottieplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,6 @@ class MemLottiePlayer extends SimpleLottiePlayer {
let parts = attributeName.split(":");
attributeName = parts[0];
let value = element.getAttribute(camelToSnakeCase(attributeName));
console.log(attributeName);
if (value != null) {
let type = "string";
if (parts.length > 1) {
Expand All @@ -578,7 +577,6 @@ class MemLottiePlayer extends SimpleLottiePlayer {

case "bool":
value = [ "", "true", "1", attributeName ].indexOf(value.toLowerCase()) >= 0;
console.log(attributeName, value);
break;
}
result[attributeName] = value;
Expand Down
Loading

0 comments on commit 7dfd6b1

Please sign in to comment.