mirror of
https://github.com/wassname/phaser.git
synced 2026-09-12 12:40:47 +08:00
Removed the self-executing functions
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
(function () {
|
||||
|
||||
|
||||
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update,render : render });
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
game.context.fillText('Current style: ' + style, 60, 250);
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user