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

paper-ckeckbox and other elements 3.0.0-pre.3 error #187

Open
3 tasks done
margotpuyjalon opened this issue Jan 15, 2018 · 0 comments
Open
3 tasks done

paper-ckeckbox and other elements 3.0.0-pre.3 error #187

margotpuyjalon opened this issue Jan 15, 2018 · 0 comments

Comments

@margotpuyjalon
Copy link

margotpuyjalon commented Jan 15, 2018

paper-checkbox-test-directory.zip

Description

When I try to use paper-checkbox element v.3.0.0-pre.3 in my app, the console log "Uncaught ReferenceError: Polymer is not defined at paper-ripple.js:289".

Tested directly as web component in html page and embeded in another custom Polymer element.

Expected outcome

I expected that a paper-checkbox element displays on the screen.

Actual outcome

The console log an error : "Uncaught ReferenceError: Polymer is not defined
at paper-ripple.js:289"

Steps to reproduce

  1. create a polymer app with "yarn init" and add "flat: true" to package.json
  2. add the polymer-cli "yarn add --dev polymer-cli"
  3. "yarn add --dev polymer/polymer@next"
  4. "yarn add --dev webcomponents/webcomponentsjs"
  5. "yarn add polymer/paper-checkbox@next"
  6. import paper-checkbox element in my index HTML
  7. insert paper-checkbox tag in my body tag
  8. "polymer serve --npm --open"

Browsers Affected

  • Chrome Beta with error : Polymer is not defined
  • Chrome with error : TypeError: Cannot read property 'html' of undefined at paper-ripple.js:257
  • Firefox with error : TypeError: Polymer is undefined

Didn't test on Safari, Edge or IE.

Operating System

CentOS Linux release 7.3.1611 (Core)
Linux xxxxxx 3.10.0-514.el7.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux

Thanks for your attention.

Regards.

Margot PUYJALON.

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

1 participant