Since the changes made have been pushed to the cloud, this component can now be cloned into any other Iguana. Exit the Translator by clicking the X in the top right Note: To try out this step you need to have a different Iguana instance ready with Bitbucket access configured. See: Setting up Bitbucket Access Open the component that was created. From the component card, copy the Connected To field In a different Iguana instance, from the dashboard click + From Url. Give the component a name, and paste in the url from before Image Removedthen click Add Image AddedOnce the component is created, click Edit Script to go to Translator See that the code changes made in the previous step have been brought across Change to the code to the following, then commit and push the change. Code Block |
---|
function main()
component.setBorder{color="green"}
end
main() |
Back on your other Iguana instance, update the component to run from this new commit. It can take a minute or two for the new commits to show up. Now run the component and verify that the border turns green Image AddedClick on Edit Script to go to the Translator. To see the code changes, we have to pull in the changes from the remote repository. Do this by clicking on the Pull Changes button which looks like a cloud with an arrow pointing away from it. Notice that it has a blue dot, indicating that there are changes available to be pulled in. Click it and see that the code updates. Image Added
|