Greater spec compliance for class properties (#4544)

* Desugar class properties to Object.defineProperty per spec
* Define uninitialized static class properties with value=undefined
* Make class-properties increased spec compliance opt-in (spec: true)
This commit is contained in:
Moti Zilberman
2016-11-15 23:35:51 +02:00
committed by Henry Zhu
parent cf3a38fb40
commit f8ddd80f96
39 changed files with 466 additions and 11 deletions

View File

@@ -11,7 +11,8 @@
"dependencies": {
"babel-helper-function-name": "^6.18.0",
"babel-plugin-syntax-class-properties": "^6.8.0",
"babel-runtime": "^6.9.1"
"babel-runtime": "^6.9.1",
"babel-template": "^6.15.0"
},
"devDependencies": {
"babel-helper-plugin-test-runner": "^6.18.0"