dylanebert commited on
Commit
66ed511
·
1 Parent(s): 2301979

filter warning

Browse files
src/lib/services/console-sync.ts CHANGED
@@ -29,7 +29,8 @@ export class ConsoleSyncService {
29
  firstArg.includes("[vite]") ||
30
  firstArg.includes("[VibeGame] Console forwarding") ||
31
  firstArg.includes("[DEBUG]") ||
32
- firstArg.includes("hot updated:")
 
33
  ) {
34
  return;
35
  }
 
29
  firstArg.includes("[vite]") ||
30
  firstArg.includes("[VibeGame] Console forwarding") ||
31
  firstArg.includes("[DEBUG]") ||
32
+ firstArg.includes("hot updated:") ||
33
+ firstArg.includes("using deprecated parameters for the initialization function")
34
  ) {
35
  return;
36
  }
src/lib/stores/editor.ts CHANGED
@@ -6,9 +6,7 @@ export interface EditorState {
6
  theme: string;
7
  }
8
 
9
- const DEFAULT_CONTENT = `<canvas id="game-canvas"></canvas>
10
-
11
- <world canvas="#game-canvas" sky="#87ceeb">
12
  <!-- Ground -->
13
  <static-part pos="0 -0.5 0" shape="box" size="20 1 20" color="#90ee90"></static-part>
14
 
 
6
  theme: string;
7
  }
8
 
9
+ const DEFAULT_CONTENT = `<world canvas="#game-canvas" sky="#87ceeb">
 
 
10
  <!-- Ground -->
11
  <static-part pos="0 -0.5 0" shape="box" size="20 1 20" color="#90ee90"></static-part>
12