Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private properties and function without prefix '_' #53

Closed
JosefJezek opened this issue Sep 10, 2016 · 1 comment
Closed

Private properties and function without prefix '_' #53

JosefJezek opened this issue Sep 10, 2016 · 1 comment

Comments

@JosefJezek
Copy link
Contributor

JosefJezek commented Sep 10, 2016

Why this behavior using private properties and loadResources function without prefix _?

I include this behavior to every page element.
https://github.com/StartPolymer/progressive-web-app-template/blob/master/src/app-pages/app-page-404/app-page-404.html

@JosefJezek JosefJezek changed the title Private function without prefix '_' Private properties and function without prefix '_' Sep 10, 2016
@notwaldorf
Copy link
Contributor

If it doesn't have a _, then loadResources is a public function -- if you look at the examples, it's needed so that you can load the json translations as you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants