[Prototype-core] JavaScript unit test

2008-04-15 Thread kalle
Hey guys, i am just getting started with unit testing in javascript, and i not sure how to test the mouse events of my class. Here is an excample of what i trie do accomplishe: the class: var Finder = Class.create({ initialize: function(rowElements) { this.rowElements = $$(rowElement

[Prototype-core] Re: JavaScript unit test

2008-04-15 Thread kalle
writing helps thinking.. ;) test should look like this: testMouseEvents: function() { with(this) { // mouse over var currentElement = $$('.user').first().down('td') Event.simulateMouse(currentElement, 'mouseover'); assertIdentical( currentElement.up('tr').getStyle('ba

[Prototype-core] Timeline for supporting native array methods?

2008-04-15 Thread Jeff Watkins
Is there any timeline for when Prototype will cease replacing the native implementations of map, filter, etc? I had thought this change was part of 1.6, but unless I'm misreading the source, 1.6.0.2 still overwrites the native implementations. Additionally, has anyone looked at why prototype

[Prototype-core] Ненашел всех однокласнико в?

2008-04-15 Thread ShopBody.ru
Ненашел всех однокласников? Поищи их тут http://www.odnoklassniki.km.ru/?inviteid=2965932 регистрируйся и получай баллы которые сможешь обменять на призы --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype: Core