|
Is it possible to dynamically change the size of a canvas in javascript instead of specifying like below?code:
|
# ¿ Apr 2, 2009 00:32 |
|
|
# ¿ May 9, 2024 02:37 |
|
I got it working but not to my liking, I realized that the canvas is a bitmap so resizing makes it look like rear end.
Sylink fucked around with this message at 03:22 on Apr 2, 2009 |
# ¿ Apr 2, 2009 02:06 |
|
Is there an easy way to find the index of an object in an array of objects in JS? I am trying to avoid an extra library to add in but if I have to I will (looking at underscore). For example code:
IndexOf does not work for this correctly it would seem.
|
# ¿ Sep 25, 2013 21:23 |
|
Yah I had to do a loop, would prefer a pre-made function, but I guess I will roll my own out of this, still easier than the standard functions.code:
|
# ¿ Sep 25, 2013 22:29 |