remove obsolete ifdef comments

This commit is contained in:
Bruno Windels 2020-04-20 21:31:27 +02:00
parent 0f29fdb24e
commit c379caf4c0
8 changed files with 1 additions and 18 deletions

View file

@ -36,7 +36,7 @@ export class EventEmitter {
onLastSubscriptionRemoved(name) {}
}
//#ifdef TESTS
export function tests() {
return {
test_on_off(assert) {
@ -72,4 +72,3 @@ export function tests() {
}
};
}
//#endif

View file

@ -1,5 +1 @@
//#ifdef PLATFORM_GNOME
//##export {default} from "./ui/gnome/GnomePlatform.js";
//#else
export {WebPlatform as Platform} from "./ui/web/WebPlatform.js";
//#endif

View file

@ -49,7 +49,6 @@ export class EventKey {
}
}
//#ifdef TESTS
export function xtests() {
const fragmentIdComparer = {compare: (a, b) => a - b};
@ -156,4 +155,3 @@ export function xtests() {
}
};
}
//#endif

View file

@ -180,7 +180,6 @@ export class FragmentIdComparer {
}
}
//#ifdef TESTS
export function tests() {
return {
test_1_island_3_fragments(assert) {
@ -297,4 +296,3 @@ export function tests() {
}
}
}
//#endif

View file

@ -178,7 +178,6 @@ export class GapWriter {
}
}
//#ifdef TESTS
//import MemoryStorage from "../storage/memory/MemoryStorage.js";
export function xtests() {
@ -277,4 +276,3 @@ export function xtests() {
},
}
}
//#endif

View file

@ -134,7 +134,6 @@ export class SyncWriter {
}
}
//#ifdef TESTS
//import MemoryStorage from "../storage/memory/MemoryStorage.js";
export function xtests() {
@ -233,4 +232,3 @@ export function xtests() {
},
}
}
//#endif

View file

@ -113,7 +113,6 @@ export class SortedMapList extends BaseObservableList {
}
}
//#ifdef TESTS
import {ObservableMap} from "../map/ObservableMap.js";
export function tests() {
@ -250,4 +249,3 @@ export function tests() {
},
}
}
//#endif

View file

@ -56,7 +56,6 @@ export class ObservableMap extends BaseObservableMap {
}
}
//#ifdef TESTS
export function tests() {
return {
test_initial_values(assert) {
@ -152,4 +151,3 @@ export function tests() {
},
}
}
//#endif