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

super() not calling parent's constructor on <= IE10 (T6879) #3916

Closed
babel-bot opened this issue Dec 23, 2015 · 1 comment
Closed

super() not calling parent's constructor on <= IE10 (T6879) #3916

babel-bot opened this issue Dec 23, 2015 · 1 comment
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue

Comments

@babel-bot
Copy link
Collaborator

Issue originally made by @miloszsobczak

Bug information

  • Babel version: 6.3.26
  • Node version: 4.0.0
  • npm version: 2.14.2

Options

                entries: 'filename',
                insertGlobals: true,
                detectGlobal: false,
                fullPaths: false
            })
            .require('jquery')
            .transform(babelify.configure({
                presets: ['es2015'],
                plugins: ['babel-plugin-transform-es2015-object-super'],
                compact: false,
                comments: false,
                ast: false
            }))

Description

In few words:

Calling parent constructor by super() in extended class doesn't work in IE10 and less.
Additionally if I add babel-plugin-transform-es2015-object-super, still doesn't work.

Actually it's related to this issue on github:
babel/babelify#133

@babel-bot
Copy link
Collaborator Author

Comment originally made by @hzoo

Looks like zertosh posted a solution so closing for now. babel/babelify#133 (comment) - his suggestion is for loose mode (which yes we need to document more babel/website#532

@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label May 8, 2018
@lock lock bot locked as resolved and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue
Projects
None yet
Development

No branches or pull requests

1 participant