Simplified ISequence API; add object property also for browser events.

This commit is contained in:
ahocevar
2012-06-22 17:12:05 +02:00
parent 22f569750f
commit d9537b558a
4 changed files with 25 additions and 55 deletions

View File

@@ -71,6 +71,7 @@ describe("ol.event.Events", function() {
events.triggerEvent("bar", evt);
expect(log[0].scope).toBe(scope);
expect(log[0].evt).toBe(evt);
expect(log[0].evt.object).toBe("foo");
});
it("respects event priority", function() {