2017-05-04 19:12:49 +02:00
|
|
|
// @Filename: weird.js
|
|
|
|
// @allowJs: true
|
2017-05-08 20:03:41 +02:00
|
|
|
// @checkJs: true
|
|
|
|
// @strict: true
|
|
|
|
// @noEmit: true
|
2017-05-04 19:12:49 +02:00
|
|
|
// @out: foo.js
|
|
|
|
someFunction(function(BaseClass) {
|
2017-05-08 20:36:30 +02:00
|
|
|
'use strict';
|
|
|
|
const DEFAULT_MESSAGE = "nop!";
|
|
|
|
class Hello extends BaseClass {
|
|
|
|
constructor() {
|
|
|
|
super();
|
|
|
|
this.foo = "bar";
|
|
|
|
}
|
|
|
|
_render(error) {
|
|
|
|
const message = error.message || DEFAULT_MESSAGE;
|
|
|
|
}
|
|
|
|
}
|
2017-05-04 19:12:49 +02:00
|
|
|
});
|