@gem-sdk/core 1.35.2 → 1.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -234,7 +234,6 @@ const appendAnimation = (props, liquid)=>{
|
|
|
234
234
|
transform: 'unset'
|
|
235
235
|
};
|
|
236
236
|
return render.template`
|
|
237
|
-
${render.RenderIf(convert.isLocalEnv, `<script src="{{ 'gp-animation.js' | asset_url }}" defer="defer"></script>`, `<script src="${convert.baseAssetURL}/assets-v2/gp-animation.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
|
238
237
|
<gp-animation
|
|
239
238
|
gp-data='${JSON.stringify({
|
|
240
239
|
config: animation,
|
|
@@ -248,6 +247,7 @@ const appendAnimation = (props, liquid)=>{
|
|
|
248
247
|
...makeStyle.makeStyleResponsive('op', opacityObject)
|
|
249
248
|
}}">${liquid}</div>
|
|
250
249
|
</gp-animation>
|
|
250
|
+
${render.RenderIf(convert.isLocalEnv, `<script src="{{ 'gp-animation.js' | asset_url }}" defer="defer"></script>`, `<script src="${convert.baseAssetURL}/assets-v2/gp-animation.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
|
251
251
|
`;
|
|
252
252
|
};
|
|
253
253
|
const RenderChildren = (props)=>{
|
|
@@ -230,7 +230,6 @@ const appendAnimation = (props, liquid)=>{
|
|
|
230
230
|
transform: 'unset'
|
|
231
231
|
};
|
|
232
232
|
return template`
|
|
233
|
-
${RenderIf(isLocalEnv, `<script src="{{ 'gp-animation.js' | asset_url }}" defer="defer"></script>`, `<script src="${baseAssetURL}/assets-v2/gp-animation.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
|
234
233
|
<gp-animation
|
|
235
234
|
gp-data='${JSON.stringify({
|
|
236
235
|
config: animation,
|
|
@@ -244,6 +243,7 @@ const appendAnimation = (props, liquid)=>{
|
|
|
244
243
|
...makeStyleResponsive('op', opacityObject)
|
|
245
244
|
}}">${liquid}</div>
|
|
246
245
|
</gp-animation>
|
|
246
|
+
${RenderIf(isLocalEnv, `<script src="{{ 'gp-animation.js' | asset_url }}" defer="defer"></script>`, `<script src="${baseAssetURL}/assets-v2/gp-animation.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
|
247
247
|
`;
|
|
248
248
|
};
|
|
249
249
|
const RenderChildren = (props)=>{
|