fix: es6 style of Array inheritance to fix transpiler error (#5977)

* fix: es6 style of Array inheritance to fix transpiler error

* fix: rebuild of promise-es6 petstore samples with fixed mustache
style: added space between classname and bracket

* style: rebuild javascript-all to reflect style changes in mustache
This commit is contained in:
Jan
2017-07-04 19:04:07 +02:00
committed by wing328
parent f756bd7a72
commit 2774d47a2b
13 changed files with 53 additions and 70 deletions

View File

@@ -24,7 +24,7 @@ import Animal from './Animal';
* @module model/AnimalFarm
* @version 1.0.0
*/
export default class AnimalFarm {
export default class AnimalFarm extends Array {
/**
* Constructs a new <code>AnimalFarm</code>.
* @alias module:model/AnimalFarm
@@ -34,8 +34,8 @@ export default class AnimalFarm {
constructor() {
this = new Array();
Object.setPrototypeOf(this, AnimalFarm);
super();