File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 6161 "webpack-log" : " ^3.0.1"
6262 },
6363 "dependencies" : {
64+ "@cocreate/action" : " ^1.3.13" ,
6465 "@cocreate/docs" : " ^1.2.50" ,
6566 "@cocreate/observer" : " ^1.3.42" ,
6667 "@cocreate/utils" : " ^1.3.7"
Original file line number Diff line number Diff line change 55 * https://github.com/CoCreate-app/CoCreate-conditional-logic/blob/master/LICENSE
66 */
77/*globals CustomEvent, CoCreate*/
8- import observer from '@cocreate/observer'
8+ import observer from '@cocreate/observer' ;
9+ import action from '@cocreate/action' ;
910
1011function init ( ) {
1112 let elements = document . querySelectorAll ( `[show],[hide]` ) ;
@@ -123,7 +124,7 @@ observer.init({
123124 }
124125} ) ;
125126
126- CoCreate . action . init ( {
127+ action . init ( {
127128 action : "showHide" ,
128129 endEvent : "showHide" ,
129130 callback : ( btn , data ) => {
You can’t perform that action at this time.
0 commit comments