PolymerElements / app-localize-behavior

Polymer behaviour to help internationalize your application
48 stars 54 forks source link

Private properties and function without prefix '_' #53

Closed JosefJezek closed 8 years ago

JosefJezek commented 8 years ago

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

notwaldorf commented 8 years ago

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.