Fixed documentation

This commit is contained in:
Jeremiah Billmann
2013-08-02 23:46:34 -04:00
parent 3b66c2e960
commit 515ef42ebb
+2 -2
View File
@@ -70,8 +70,8 @@ GarageServerIO.initializeGarageServer('http://insertmygameurlhere.com', {
return { x: (previousState.x + amount * (targetState.x - previousState.x)) };
},
onWorldState: function (state) {
document.getElementById('gameCanvas').style.width = state.width;
document.getElementById('gameCanvas').style.height = state.height;
document.getElementById('gameCanvas').width = state.width;
document.getElementById('gameCanvas').height = state.height;
}
};
```