Merge branch 'master' into top-secret

# Conflicts:
#	packages/babylon/src/options.js
#	src/acorn/plugins/flow.js
#	src/acorn/src/util.js
This commit is contained in:
Sebastian McKenzie
2015-07-11 21:04:33 +01:00
34 changed files with 294 additions and 90 deletions

View File

@@ -0,0 +1,11 @@
class Foo {}
class Bar extends Foo {
methodA(){}
constructor(){
super();
}
methodB(){}
}

View File

@@ -0,0 +1,21 @@
"use strict";
var Foo = function Foo() {
babelHelpers.classCallCheck(this, Foo);
};
var Bar = (function (_Foo) {
babelHelpers.inherits(Bar, _Foo);
Bar.prototype.methodA = function methodA() {};
function Bar() {
babelHelpers.classCallCheck(this, Bar);
_Foo.call(this);
}
Bar.prototype.methodB = function methodB() {};
return Bar;
})(Foo);