File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- import utility from "./utility" ;
1+ import { processOperators } from "./utility" ;
22
33// Store a reference to the original getAttribute function
44const originalGetAttribute = Element . prototype . getAttribute ;
@@ -22,5 +22,5 @@ function updateAttributes(e) {
2222// Override the getAttribute function
2323Element . prototype . getAttribute = function ( name ) {
2424 let value = originalGetAttribute . call ( this , name ) ;
25- return utility . processOperators ( this , value ) ;
25+ return processOperators ( this , value ) ;
2626} ;
Original file line number Diff line number Diff line change 1- import utility from "./utility" ;
1+ import { processOperators } from "./utility" ;
22
33const storage = new Map ( ) ;
44
@@ -185,7 +185,7 @@ const getValue = (element) => {
185185 else return true ;
186186 }
187187
188- value = utility . processOperators ( element , value , [ "$value" ] ) ;
188+ value = processOperators ( element , value , [ "$value" ] ) ;
189189
190190 try {
191191 const attributes = element . attributes ; // Get all attributes of the element
You can’t perform that action at this time.
0 commit comments