Andreas Hocevar
e0015b3d4e
Use goog.DEBUG instead of ol.DEBUG for now
2016-08-04 11:29:54 +02:00
Andreas Hocevar
6f5ed17fc5
Remove goog.asserts.*
...
This pull requests replaces type check hint assertions with type casts,
library sanity check assertions with conditional console.assert statements
in debug mode, and runtime sanity checks with assertions that throw an
ol.AssertionError with an error code for lookup outside the library.
2016-08-04 11:29:54 +02:00
Andreas Hocevar
1d20215bfa
Make all typedefs work without provide/require
2016-06-14 15:01:20 +00:00
Peter Robins
2c29512c80
Remove sub-namespaces from all remaining typedefs
2016-06-09 10:01:52 +00:00
Frederic Junod
e289bfbb7d
Use ol.inherits instead of goog.inherits
2016-06-08 08:38:12 +02:00
Andreas Hocevar
b2c6bb11cf
Allow once listeners to dispatch events of same type
2016-05-04 11:55:30 -04:00
Andreas Hocevar
8a279dd94b
Do not reset pendingRemovals if event is dispatched again
2016-03-08 15:54:51 +01:00
Andreas Hocevar
acd76a10b6
Clean up when propagation is stopped
2016-03-08 15:54:17 +01:00
Andreas Hocevar
93f26a90d0
Do not remove listeners while dispatching event
2016-03-08 13:11:22 +01:00
Tim Schaub
09eee46822
Use ol.Disposable instead of goog.Disposable
2016-03-02 15:44:07 -07:00
Marc Jansen
efa82dccf9
Remove use of goog.isString()
2016-02-06 12:56:55 +01:00
Tim Schaub
f3b97d6bef
Use string instead of string|ol.events.EventType
2016-02-03 11:19:38 +01:00
Tim Schaub
c62e76ab67
Remove support for useCapture
2016-02-03 11:19:38 +01:00
Andreas Hocevar
5ba8b13ccf
Add tests and documentation of ol.events.EventTarget
2016-02-03 11:19:38 +01:00
Andreas Hocevar
c51d717657
Refactor event manager to remove memory leaks
2016-02-03 11:19:38 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00