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