| | |
| | | this.iphone = this.safari && (this.agent_lc.indexOf('iphone') > 0 || this.agent_lc.indexOf('ipod') > 0); |
| | | this.ipad = this.safari && this.agent_lc.indexOf('ipad') > 0; |
| | | this.opera = window.opera ? true : false; |
| | | this.webkit = this.safari || this.chrome; |
| | | } |
| | | |
| | | if (!this.vendver) { |
| | |
| | | * |
| | | * @param {String} Event name |
| | | * @param {Function} Handler function |
| | | * @return Listener ID (used to remove this handler later on) |
| | | */ |
| | | addEventListener: function(evt, func, obj) |
| | | { |
| | |
| | | this._events[evt] = []; |
| | | |
| | | this._events[evt].push({func:func, obj:obj ? obj : window}); |
| | | |
| | | return this; // chainable |
| | | }, |
| | | |
| | | /** |