Skip to content

Conversation

lumburr
Copy link
Contributor

@lumburr lumburr commented Apr 25, 2022

What: get correct this

Why:
this === undefined

args = order.map(function (a) { return a.toCSS(this.context); }).join(this.context.compress ? ',' : ', ');

image

How:

Checklist:

  • Documentation N/A
  • Added/updated unit tests N/A
  • Code complete

@iChenLei
Copy link
Member

Can you add special unit tests for this PR ? Thanks

@lumburr
Copy link
Contributor Author

lumburr commented Apr 26, 2022

@iChenLei I've added some special test cases.:sweat_smile:

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 this pull request may close these issues.

3 participants