// Compiled by ClojureScript 0.0-2138
goog.provide('lt.util.events');
goog.require('cljs.core');
lt.util.events.capture = (function() {
var capture = null;
var capture__2 = (function (ev,handler){return capture.call(null,document,ev,handler);
});
var capture__3 = (function (elem,ev,handler){return elem.addEventListener(cljs.core.name.call(null,ev),handler,true);
});
capture = function(elem,ev,handler){
switch(arguments.length){
case 2:
return capture__2.call(this,elem,ev);
case 3:
return capture__3.call(this,elem,ev,handler);
}
throw(new Error('Invalid arity: ' + arguments.length));
};
capture.cljs$core$IFn$_invoke$arity$2 = capture__2;
capture.cljs$core$IFn$_invoke$arity$3 = capture__3;
return capture;
})()
;
