(function(){  
xtag.customEvents.press = {
    attach: [
      "touchend",
        "mouseup"
    ],
    condition: function (event) {
      if (event.target.xtag.customevent.press.data.activated) return false;
      setTimeout(function () {
       this.activated=false;
        }.bind(event.target.xtag.customevents.press.data), 100);
      return true;
    }
}
})();

(function(){  
xtag.customEvents.press = {
    attach: [
      "touchend",
        "mouseup"
    ],
    condition: function (event) {
      if (!event.target.xtag) event.target.xtag = {};
      if (!event.target.xtag.customevent) event.target.xtag.customevent = {};
      if (!event.target.xtag.customevent.press) event.target.xtag.customevent.press = {data: {activated: false}};
      if (event.target.xtag.customevent.press.data.activated) return false;
      setTimeout(function () {
       this.activated=false;
        }.bind(event.target.xtag.customevents.press.data), 100);
      return true;
    }
}
})();

Define customevent object in element
Define customevent object in element
