Skip to content

Commit

Permalink
fix: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Oct 29, 2021
1 parent 85b50c7 commit 6dd96e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,11 @@
"webpack-log": "^3.0.1"
},
"dependencies": {
"@cocreate/crud-client": "^1.4.15",
"@cocreate/docs": "^1.2.42",
"@cocreate/floating-label": "^1.2.8",
"@cocreate/crud-client": "^1.4.16",
"@cocreate/docs": "^1.2.43",
"@cocreate/elements": "^1.0.1",
"@cocreate/floating-label": "^1.2.9",
"@cocreate/hosting": "^1.2.37",
"@cocreate/htmltags": "^1.5.9",
"@cocreate/input": "^1.2.41",
"@cocreate/observer": "^1.3.33"
"@cocreate/observer": "^1.3.34"
}
}
12 changes: 3 additions & 9 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import CoCreateObserver from '@cocreate/observer';
import crud from '@cocreate/crud-client';
import CoCreateInput from '@cocreate/input';
import floatingLabel from '@cocreate/floating-label';
import htmltags from '@cocreate/htmltags';
import elements from '@cocreate/elements';

var CoCreateCalculation = {

Expand Down Expand Up @@ -123,20 +121,16 @@ var CoCreateCalculation = {
ele.value = result
// ToDo: if isCrud
if (isRealtime != "false") {
CoCreateInput.save(ele);
elements.save(ele);
}
else {
ele.value = result;
}

if(floatingLabel) {
floatingLabel.update(ele, ele.value);
}
}
else {
// ToDo: if isCrud
if (isRealtime != "false") {
htmltags.save(ele);
elements.save(ele);
}
else {
ele.innerHTML = result;
Expand Down

0 comments on commit 6dd96e8

Please sign in to comment.