Closed yuri-karadzhov closed 11 years ago
Now it's broken. There is some problem in client script. App.room.canvas is undefined
The files in room directory should be concatenated in the specific order: history canvas item other Should I hardcode concatenation order or it is better to rename this files like 00_history 01_canvas 02_item and so on
I think it's better to hard code the order. I will fix the scripts later so they won't be order-dependent.
There are lots of files, so I think it's better to rename 3 files temporary rather then hardcode all 20. When you fix the problem with order you are welcome to rename them.
So I rename only 3 files 00_history 01_canvas 02_item it is enough to fix the problem.
Actually the order is wrong. I fixed it. Anyway there is no good way to fix this problem from the javascript and I don't want to write additional code to make things work from client side. The more reliable and traditional way would be either to create a file that will describe the order or to perserve order inside uglifying cycle.
Done for js. Should compress css too.
We should uglify our js to avoid problems with preply monkeys.