Skip to content

Closure Compiler (polymer_version=2, compilation_level: 'ADVANCED') fails #297

@nimendra

Description

@nimendra

Description

The iron-ajax element causes it's host element to throw a Uncaught TypeError: Cannot read property 'ub' of undefined when compiled with closure advanced mode.

Expected outcome

Element transpiles and generates minified JS without renaming public attributes

Actual outcome

Possibly required public property renamed and no longer accessible

Live Demo

Steps to reproduce

  1. Put a iron-ajax element inside a custom polymer element (or a page).

  2. Closure-compile
    compilation_level: 'ADVANCED', polymer_version: 2,

  3. Load the page

Browsers Affected

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions