Skip to content

Commit 04dd70c

Browse files
committed
added @cocreate/utils for testing
1 parent 1163cef commit 04dd70c

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

demo/iframe.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
<body>
1919

20-
<h1 id="new">canvas;#new</h1>
21-
<h1 >canvas;</h1>
20+
<h1 class="rrr" id="new">canvas;#new</h1>
21+
<h1 class="rrr">canvas;</h1>
2222

2323
<!--<script src="https://cdn.cocreate.app/attributes/latest/CoCreate-attributes.min.js"></script>-->
2424
<script src="../../../CoCreateJS/dist/CoCreate.js"></script>

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h1 id="new" class="background:green">testing</h1>
2121
<div class="padding:5px height:100vh overflow:auto">
2222
<form class="width:250px">
2323

24-
<input attribute="myAttribute" type="text" class="floating-label attr" placeholder="Draggable" attribute-target="iframe; #new">
24+
<input attribute="myAttribute" type="text" class="floating-label attr" placeholder="Draggable" attribute-target="iframe; .rrr">
2525
<input attribute="myAttribute" type="text" class="floating-label attr" placeholder="Draggable" attribute-target="iframe;">
2626
<input id="margin-left" class="floating-label z-index:0 text_color" placeholder="margin-left" attribute="classstyle" attribute-property="margin-left" attribute-target="iframe;" active>
2727

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"@cocreate/actions": "^1.4.3",
6262
"@cocreate/crdt": "^1.11.1",
6363
"@cocreate/message-client": "^1.1.71",
64-
"@cocreate/observer": "^1.5.3"
64+
"@cocreate/observer": "^1.5.3",
65+
"@cocreate/utils": "^1.7.6"
6566
}
6667
}

0 commit comments

Comments
 (0)