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

static get config() is not called any more #4353

Closed
2 of 6 tasks
tirithen opened this issue Mar 1, 2017 · 1 comment
Closed
2 of 6 tasks

static get config() is not called any more #4353

tirithen opened this issue Mar 1, 2017 · 1 comment

Comments

@tirithen
Copy link

tirithen commented Mar 1, 2017

Description

When I removed and refetched my bower dependencies for #2.0-preview I noticed that the static config method is not called any more which makes it impossible to define properties. Maybe something was added recently that broke this part. There is a live demo below, when I run locally with updated dependencies the property that I declared and assigned is undefined. Yesterday everything was working fine. The JSBin I provide does not run, but that seem more because of the service than the code I put in there.

Live Demo

https://jsbin.com/fuwuliveho/edit?html,console,output

It won't run the script, but there is at least the code

Steps to Reproduce

  1. Copy code from JSBin
  2. Save to file locally
  3. Fix the two dependencies
  4. Load the page in a browser with the console open

Expected Results

The property a-value/aValue should have the value "hello world".

Actual Results

The property a-value/aValue is undefined and the static get config method does not seem to be called any more.

Browsers Affected

  • Chrome
  • Firefox
  • Edge
  • Safari 9
  • Safari 8
  • IE 11

Versions

  • Polymer: 2.0-preview
  • webcomponents: v1
@tony19
Copy link

tony19 commented Mar 1, 2017

See #4332. The config getter was split out into individual getters for properties and observers.

@tirithen tirithen closed this as completed Mar 1, 2017
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