Cleanup a bit.
This commit is contained in:
+1
-12
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
const platformNames = {
|
||||
[System.PLATFORM_LINUX]: 'Linux',
|
||||
[System.PLATFORM_KNULLI]: 'Knulli',
|
||||
@@ -8,13 +6,4 @@ const platformNames = {
|
||||
[System.PLATFORM_WII]: 'Wii',
|
||||
};
|
||||
|
||||
Console.print('Platform: ' + (platformNames[System.platform] || 'Unknown'));
|
||||
|
||||
async function testRequireAsync() {
|
||||
Console.print('Loading testscene.js...');
|
||||
const scene = await requireAsync('testscene.js');
|
||||
Console.print('Loaded!');
|
||||
Console.print(scene.test());
|
||||
}
|
||||
|
||||
testRequireAsync();
|
||||
Console.print('Platform: ' + (platformNames[System.platform] || 'Unknown'));
|
||||
Reference in New Issue
Block a user