cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Use of GitHub Repository code

Max_R
5-Regular Member

Use of GitHub Repository code

I have found the following: https://github.com/johannesegger/VuforiaStudioExtensions

While I have a very, very basic understanding of JS code, I believe this will help my company with their development since most of the coding portion is done. My question is, how are the relationships/bindings established with the various functions with this code? Does Vuforia have these $scope already built in? As mentioned before, my level of coding is very basic. Any assistance understanding how this will work would be greatly appreciated.

1 REPLY 1
Roccobarocco
13-Aquamarine
(To:Max_R)

Hi @Max_R , those functions have been built in Studio and grouped in external .js file to be imported and used in every project you want, I've tried them myself, thery're quite useful and a great inspiration also (if like me you're not so skilled in javascript and angular).
Make sure to import external js at the very beginnig of your experience so when you'll use some external function it's been properly initialized.

Doesn't know what do you mean by "$scope already built in", $scope is defined in Vuforia Studio as your controller and the external file doesn't change anything about it, the only thing I've noticed is that, if you want to add/modify content in the external file, you have to avoid "$" symbol before it (for what I understand is gonna be added in the import/external-call process) 

Announcements

Top Tags