Quantcast
Channel: FeedBunch:3aafbbc21f8300f3fb5abc04fe0b53b1bcd725bd commits
Viewing all articles
Browse latest Browse all 40

Explicitly return service object from userDataSvc.

$
0
0
After the addition of the web worker code, I'm not sure if the worker variable is visible from outside the service when using the implicit service return. It's better to encapsulate the service functions in an object and explicitly return it, so that the worker variable is private to the service.

Viewing all articles
Browse latest Browse all 40

Trending Articles