Aleksander Machniak
2014-02-03 10abf2bc2d08526ad69c6e8691b0a3384603fcc1
program/js/common.js
@@ -65,6 +65,7 @@
    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) {
@@ -285,7 +286,6 @@
 *
 * @param {String}   Event name
 * @param {Function} Handler function
 * @return Listener ID (used to remove this handler later on)
 */
addEventListener: function(evt, func, obj)
{
@@ -295,6 +295,8 @@
    this._events[evt] = [];
  this._events[evt].push({func:func, obj:obj ? obj : window});
  return this; // chainable
},
/**