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" ;
2
2
3
3
// Store a reference to the original getAttribute function
4
4
const originalGetAttribute = Element . prototype . getAttribute ;
@@ -22,5 +22,5 @@ function updateAttributes(e) {
22
22
// Override the getAttribute function
23
23
Element . prototype . getAttribute = function ( name ) {
24
24
let value = originalGetAttribute . call ( this , name ) ;
25
- return utility . processOperators ( this , value ) ;
25
+ return processOperators ( this , value ) ;
26
26
} ;
Original file line number Diff line number Diff line change 1
- import utility from "./utility" ;
1
+ import { processOperators } from "./utility" ;
2
2
3
3
const storage = new Map ( ) ;
4
4
@@ -185,7 +185,7 @@ const getValue = (element) => {
185
185
else return true ;
186
186
}
187
187
188
- value = utility . processOperators ( element , value , [ "$value" ] ) ;
188
+ value = processOperators ( element , value , [ "$value" ] ) ;
189
189
190
190
try {
191
191
const attributes = element . attributes ; // Get all attributes of the element
You can’t perform that action at this time.
0 commit comments