Added hostname: '*' to the grunt-connect in Gruntfile.js (fixes #426)

This commit is contained in:
photonstorm
2014-02-15 19:03:43 +00:00
parent 85eaaef688
commit 3a59c13a71
3 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -193,7 +193,8 @@ module.exports = function (grunt) {
connect: {
root: {
options: {
keepalive: true
keepalive: true,
hostname: '*'
}
}
}
+1
View File
@@ -128,6 +128,7 @@ Updates:
* Game.add.bitmapData now has the addToCache parameter. If set the texture will be stored in Game.Cache and can be retrieved with Cache.getBitmapData(key).
* The InputManager now sets the canvas style cursor to 'inherit' instead of 'default'.
* World.reset now calls Camera.reset which sends the camera back to 0,0 and un-follows any object it may have been tracking.
* Added hostname: '*' to the grunt-connect in Gruntfile.js (fixes #426)
Bug Fixes:
+4 -1
View File
@@ -16,6 +16,8 @@ var filter;
function create() {
game.world.setBounds(0, 0, 2000, 600);
background = game.add.sprite(0, 0);
background.width = 800;
background.height = 600;
@@ -35,12 +37,13 @@ function create() {
function update() {
// game.camera.view.x++;
filter.update();
// Uncomment for coolness :)
// filter.blueShift -= 0.001;
// font.text = "phaser x: " + game.input.x + " y: " + game.input.y;
}