euzuro
|
076632122b
|
update triggerEvent() so that it doesnt bomb if user tries to trigger a non-enabled event. Added thorough testing.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@875 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-04 13:54:04 +00:00 |
|
euzuro
|
91f17f20ff
|
added some more just-in-case tests to test the unregister() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@874 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-04 13:27:51 +00:00 |
|
euzuro
|
56472f15a0
|
protect unregister() from someone trying to unregister an un-enabled event. total extreme case, but whatever. added test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@873 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-04 13:23:11 +00:00 |
|
euzuro
|
83eb0e1b34
|
do not let users register on an event that has not been specifically enabled at initialize. add test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@872 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-04 13:18:16 +00:00 |
|
euzuro
|
585ec9e192
|
fix remove() function and add test
git-svn-id: http://svn.openlayers.org/trunk/openlayers@871 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-04 13:13:41 +00:00 |
|
euzuro
|
abac8a5d44
|
fixed functionality of unregister() function, added ability to pass null value for obj. Added tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@870 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-04 12:57:34 +00:00 |
|
euzuro
|
7d6f4dea78
|
changing functionality of Events.register(). Now if a null callback is passed in, no action is taken. If a null *obj* is passed in, however, the obj used is this.object (the Events Object's related object). Added tests to make sure this works.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@869 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-04 12:44:29 +00:00 |
|
euzuro
|
7671f43bb1
|
updating tests for Events.js
git-svn-id: http://svn.openlayers.org/trunk/openlayers@868 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-04 12:37:02 +00:00 |
|
euzuro
|
10cbef9274
|
since we can technically register events for any domelement, there is no reason this variable should be named 'div'. Change it to 'element' and update its use everywhere.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@866 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-04 11:57:18 +00:00 |
|
Schuyler Erle
|
0e6b61c352
|
All tests now pass in IE.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@315 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-24 05:46:54 +00:00 |
|
crschmidt
|
7c564bf17c
|
update tests for newly added events.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@265 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-22 16:20:24 +00:00 |
|
crschmidt
|
6ab326f67d
|
Changing all tabs to spaces, per CodingStandards.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@139 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-18 12:42:38 +00:00 |
|
crschmidt
|
147a45feff
|
Test for r137, event constructor with null EventTypes.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@138 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-18 12:33:41 +00:00 |
|
Schuyler Erle
|
ce6c4acd63
|
Made Events class more generic; the Events constructor now takes a list of supported application event types. Added tests for the Events class.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@61 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-16 21:48:56 +00:00 |
|