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

Object assign is undefined #16

Closed
darshan-raj opened this issue Mar 21, 2015 · 1 comment · Fixed by #25
Closed

Object assign is undefined #16

darshan-raj opened this issue Mar 21, 2015 · 1 comment · Fixed by #25

Comments

@darshan-raj
Copy link

I am getting an error Object.assign is undefined from BemMixin.js. I am using it in my code by doing an npm install and then bundling it using webpack. Am I missing something here? My chrome version is Version 41.0.2272.89 (64-bit)

screen shot 2015-03-21 at 7 40 59 pm

@jkimbo
Copy link
Contributor

jkimbo commented Mar 23, 2015

Object.assign is a new es6 feature (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) and so you need a polyfill to use it in current browsers. We currently use https://cdn.polyfill.io/v1/docs/

I'm going to leave this ticket open to track adding this to the requirements in the readme.

@jkimbo jkimbo mentioned this issue May 1, 2015
@jkimbo jkimbo closed this as completed in #25 May 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants