Incopatibility with IE11


#1

Rhodecode 4.13.2 is incompatible with Internet Explorer 11.
Debug-Console states:

SCRIPT1003: ":" expected
rhodecode-components.js (396,23)

rhodecode-components.js at this position:

const StyleGather = {

    /**
     * Returns a list of <style> elements in a space-separated list of `dom-module`s.
     *
     * @memberof Polymer.StyleGather
     * @param {string} moduleIds List of dom-module id's within which to
     * search for css.
     * @return {!Array<!HTMLStyleElement>} Array of contained <style> elements
     * @this {StyleGather}
     */
     stylesFromModules(moduleIds) {  // This is line 396
      const modules = moduleIds.trim().split(/\s+/);
      const styles = [];
      for (let i=0; i < modules.length; i++) {
        styles.push(...this.stylesFromModule(modules[i]));
      }
      return styles;
    },

Seems to be, that (untranspiled?) ES2015-Code is used here, which is not compatible mit IE11.
Works in Edge, Chrome and FF btw.

Regards,
Kyrodan


#2

@marcin: is this a known issue?


#3

Yes, but we’re unable to solve this until a big package rebuild unfortunately.


#4

Ok, thanks. I’ll keep an eye on changelog.


#5

We deployed new code onto our development server at https://code.rhodecode.com which now should support IE browsers.

Best,


#6

Great, works as expected with Rhodecode 4.14.0.