Closed jtaby closed 12 years ago
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
I am closing it, because I don't currently plan to implement this feature.
I have been doing some similar on tap/click behavior like the code shown below:
Yn.Btap = Ember.Mixin.create({
canBoth: false,
init: function() {
this._super();
var canBoth = 'ontouchstart' in window && 'onclick' in window;
this.set('canBoth', canBoth);
},
bTap: function() {
},
tapEnd: function(recognizer) {
this.bTap();
},
click: function(){
if ( !this.get('canBoth') ) {
// We are testing this feature, because where are handling touch
// events based on ember-touch which includes a gestureDelegate
// feature which controls event recognition
var touchEvent;
touchEvent = new jQuery.Event('touchstart');
touchEvent['originalEvent'] = {
targetTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
touchEvent = new jQuery.Event('touchend');
touchEvent['originalEvent'] = {
changedTouches: [{
pageX: 0,
pageY: 10
}]
};
this.$().trigger(touchEvent);
//this.bTap();
}
}
});
1-finger gestures that map to the mouse should work out-of-the-box.