OK I have solved this. although it is only a patch.
it doesn’t have any thing to do with the repeater. it happens in any custom field. It appears that Shopify/Wordpress is only looking for the main content() to add the javascript include file. I simply hard coded:
<script id=”ShopifyEmbedScript” src=”https://widgets.shopifyapps.com/assets/widgets/embed/client.js” type=”text/javascript”></script>
into the page.
it works fine, but if you have a button in content AND a button in a custom field, you will have included the javascript twice.
hopefully an official patch is coming.