omni360 / dat-gui

Automatically exported from code.google.com/p/dat-gui
0 stars 0 forks source link

Extending Array prototype is not supported #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Extend the Array.prototype with a new function
2. Use any dat-gui functionality

What is the expected output? What do you see instead?

Expected: nothing different

See : Boom! ( an enumeration over an array is not expecting the new function 
added to the prototype )

What version of the product are you using? On what operating system?
Version: No idea, got it from threejs ( hint, you should put a version above 
the copyright info )

Please provide any additional information below.

If you are on masterbranch, I'll give you a beer ;)

Original issue reported on code.google.com by konijn on 1 Feb 2012 at 3:45

GoogleCodeExporter commented 9 years ago
Like your code, dat-gui also uses arrays. So if you change the way arrays work, 
there's a good chance dat-gui will break. What exactly are you doing to the 
array class?

Original comment by georgebr...@google.com on 27 Feb 2012 at 3:52