Skip to content

Commit

Permalink
Update step1-content sample code block to match the step1-code code b…
Browse files Browse the repository at this point in the history
…lock, resolving #63 (#132)
  • Loading branch information
momer authored Nov 25, 2024
1 parent 7ccab5f commit 01a20f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/tutorials/v7.0.0/gettingStarted/step1-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ Please go through the tutorial steps at your own pace and challenge yourself usi

```javascript
// Create a PixiJS application of type canvas with specify background color and make it resize to the iframe window
const app = new PIXI.Application() < HTMLCanvasElement > { background: '#1099bb', resizeTo: window };
const app = new PIXI.Application({
background: '#1099bb',
resizeTo: window,
});

// Adding the application's view to the DOM
document.body.appendChild(app.view);
Expand Down

0 comments on commit 01a20f0

Please sign in to comment.