File tree 4 files changed +9
-3227
lines changed
4 files changed +9
-3227
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,9 @@ <h3 value="{{render2.collection}}"></h3>
29
29
< h3 value ="{{render2.data.personal_info.email}} "> </ h3 >
30
30
< div > *******************************************</ div >
31
31
</ div >
32
- < div class ="template card "
33
- data-render_array ="render2.data.string_array " data-render_key ="string_ ">
32
+ < div class ="template card " data-render_array ="render2.data.string_array " data-render_key ="string ">
34
33
35
- < h3 name ="test "
36
- data-attribute ="{{string_.--}} "
37
- class ="{{string_.--}} "
38
- value ="{{string_.--}} "> </ h3 >
34
+ < h3 name ="test " data-attribute ="{{string[]}} " class ="{{string[]}} " value ="{{string[]}} "> </ h3 >
39
35
40
36
</ div >
41
37
Original file line number Diff line number Diff line change 20
20
" html5-framework" ,
21
21
" javascript-framework"
22
22
],
23
- "publishConfig" : {
24
- "access" : " public"
25
- },
23
+ "publishConfig" : { "access" : " public" },
26
24
"scripts" : {
27
25
"start" : " npx webpack --config webpack.config.js" ,
28
26
"build" : " NODE_ENV=production npx webpack --config webpack.config.js" ,
36
34
},
37
35
"author" : " CoCreate LLC" ,
38
36
"license" : " MIT" ,
39
- "bugs" : {
40
- "url" : " https://github.com/CoCreate-app/CoCreate-render/issues"
41
- },
37
+ "bugs" : { "url" : " https://github.com/CoCreate-app/CoCreate-render/issues" },
42
38
"homepage" : " https://cocreate.app/docs/render" ,
43
39
"funding" : {
44
40
"type" : " GitHub Sponsors ❤" ,
60
56
"webpack-log" : " ^3.0.1"
61
57
},
62
58
"dependencies" : {
63
- "@cocreate/docs" : " ^1.0.3 " ,
59
+ "@cocreate/docs" : " latest " ,
64
60
"mini-css-extract-plugin" : " ^1.5.0"
65
61
}
66
62
}
Original file line number Diff line number Diff line change @@ -145,11 +145,11 @@ const CoCreateRender = {
145
145
146
146
if ( e . children . length > 0 ) {
147
147
that . setValue ( e . children , data )
148
-
149
- if ( e . classList . contains ( 'template' ) ) {
150
- that . setArray ( e , data ) ;
151
- }
152
148
}
149
+ if ( e . classList . contains ( 'template' ) ) {
150
+ that . setArray ( e , data ) ;
151
+ }
152
+
153
153
} ) ;
154
154
} ,
155
155
You can’t perform that action at this time.
0 commit comments