Skip to content

Commit e3c1749

Browse files
ppwang-sameta-codesync[bot]
authored andcommitted
Update example script source to use npm package URL
Summary: Update the clientParamBuilder bundle reference in the example index.html from a temporary S3 bucket URL to the official npm package URL via unpkg (meta-capi-param-builder-clientjs). Also removes the stale TODO comment since the package has been published to npm. Reviewed By: wwh-ysn, jyou23github Differential Revision: D98147310 fbshipit-source-id: c7ab6e841781515efcf92a38c7042292f8df1e28
1 parent 3b0fcce commit e3c1749

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

client_js/example/public/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
</head>
1515

1616
<body>
17-
<!-- TODO: Update the reference of clientParamBuilder bundle from npm location after codes are uploaded to npm -->
18-
<script src="https://capi-automation.s3.us-east-2.amazonaws.com/public/client_js/capiParamBuilder/clientParamBuilder.bundle.js"></script>
17+
<script src="https://unpkg.com/meta-capi-param-builder-clientjs/dist/clientParamBuilder.bundle.js"></script>
1918
<script>
2019
console.log(
2120
'You need to get user cookie consent first, below processAndCollectAllParams will set cookies.'

0 commit comments

Comments
 (0)