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 61
61
"webpack-log" : " ^3.0.1"
62
62
},
63
63
"dependencies" : {
64
+ "@cocreate/action" : " ^1.3.13" ,
64
65
"@cocreate/docs" : " ^1.2.50" ,
65
66
"@cocreate/observer" : " ^1.3.42" ,
66
67
"@cocreate/utils" : " ^1.3.7"
Original file line number Diff line number Diff line change 5
5
* https://github.com/CoCreate-app/CoCreate-conditional-logic/blob/master/LICENSE
6
6
*/
7
7
/*globals CustomEvent, CoCreate*/
8
- import observer from '@cocreate/observer'
8
+ import observer from '@cocreate/observer' ;
9
+ import action from '@cocreate/action' ;
9
10
10
11
function init ( ) {
11
12
let elements = document . querySelectorAll ( `[show],[hide]` ) ;
@@ -123,7 +124,7 @@ observer.init({
123
124
}
124
125
} ) ;
125
126
126
- CoCreate . action . init ( {
127
+ action . init ( {
127
128
action : "showHide" ,
128
129
endEvent : "showHide" ,
129
130
callback : ( btn , data ) => {
You can’t perform that action at this time.
0 commit comments