Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef Gabrielsson committed Jul 9, 2024
1 parent cf77534 commit 25a7ca3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion nightly/front.js
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ var app = {
objElement2 = element2 === '#' ? options && options.srcElement : dom.get(element2),
attribute1Type = attribute1 ? attribute1 : app.element.get(objElement1, false, true),
attribute2Type = attribute2 ? attribute2 : app.element.get(objElement2, false, true),
value = objElement2 && attribute2 ? app.element.get(objElement2, attribute2) : (objElement2 ? app.element.get(objElement2) : value === '' ? app.element.get(objElement1,) : value)
value = objElement2 && attribute2 ? app.element.get(objElement2, attribute2) : (objElement2 ? app.element.get(objElement2) : value === '' ? app.element.get(objElement1, attribute1) : value)

// Return the parsed object
parsedCall = {
Expand Down
10 changes: 1 addition & 9 deletions nightly/modules/math.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,7 @@ app.module.math = {
var target = element.exec,
value = target.value,
element = target.element,
subElement = target.subElement,
attribute = target.attribute

if (element && !subElement) {
console.warn('only element')
value = app.element.get(element, attribute)
attr = attribute
}
attr = target.hasAttribute ? target.attribute : ''
} else {
value = app.element.get(element)
}
Expand Down Expand Up @@ -50,7 +43,6 @@ app.module.math = {
console.error(error)
}

console.warn(element.id, value, attr)
app.element.set(element, value, attr)
}
}

0 comments on commit 25a7ca3

Please sign in to comment.