Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

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

@margotpuyjalon

Description

@margotpuyjalon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions