mirror of https://github.com/lukechilds/rollup.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
406 B
29 lines
406 B
10 years ago
|
'use strict';
|
||
|
|
||
|
var external = require('external');
|
||
|
|
||
|
class Foo extends external.Component {
|
||
|
constructor () {
|
||
|
super();
|
||
|
this.isFoo = true;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class Bar extends external.Component {
|
||
|
constructor () {
|
||
|
super();
|
||
|
this.isBar = true;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class Baz extends external.Component {
|
||
|
constructor () {
|
||
|
super();
|
||
|
this.isBaz = true;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
const foo = new Foo();
|
||
|
const bar = new Bar();
|
||
|
const baz = new Baz();
|