Created
July 15, 2014 20:54
-
-
Save kof/d09ef3222934bf93c333 to your computer and use it in GitHub Desktop.
Fixes issue with FastClick
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(function(require, exports, module) { | |
var Surface = require('famous/core/Surface') | |
// https://github.com/Famous/core/issues/37 | |
Surface.prototype.emit = function(type, event) { | |
if (event && !event.origin) event.origin = this; | |
return this.eventHandler.emit(type, event); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment