Skip to content

Commit 39019ae

Browse files
committed
fix: update socket to socket-lient and crud to crud client"
1 parent 9fdaf97 commit 39019ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import CoCreateObserver from '@cocreate/observer'
2-
import ccutils from '@cocreate/utils';
32
import crdt from '@cocreate/crdt'
3+
import crud from '@cocreate/crud-client'
44
import CoCreateInput from '@cocreate/input'
55
import floatingLabel from '@cocreate/floating-label'
66
import htmltags from '@cocreate/htmltags'
@@ -132,7 +132,7 @@ var CoCreateCalculation = {
132132
if (ele.tagName == 'INPUT' || ele.tagName == 'TEXTAREA' || ele.tagName == 'SELECT') {
133133
ele.value = result
134134

135-
if (ccutils.isUsageY(ele)) {
135+
if (crud.isCRDT(ele)) {
136136
ele.value = "";
137137
crdt.replaceText({
138138
collection: ele.getAttribute('data-collection'),

0 commit comments

Comments
 (0)