Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2054

`dom.js` implementations break when minified

    XMLWordPrintableJSON

Details

    Description

      When either of the `dom.js` implementations is minified via closure compiler, its "inner" classes are renamed and the `convertContent` function breaks for `ElementWrapper` instances. as `constructor?.name` is not "ElementWrapper" anymore.
      If a module's classes should be globally available, they should be exported, otherwise the `instanceof` operator might be a better choice.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            jkemnade Jochen Kemnade
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: