Skip to content

Instantly share code, notes, and snippets.

View markware's full-sized avatar
👽
Working from outer space

Markware markware

👽
Working from outer space
View GitHub Profile
@markware
markware / gesture.js
Created June 4, 2016 17:57 — forked from eguneys/gesture.js
A Gesture Manager for Phaser.
'use strict';
define(['phaser'], function(Phaser) {
function Gesture(game) {
this.game = game;
this.swipeDispatched = false;
this.holdDispatched = false;
this.isTouching = false;
function disable_pingback( $methods ) {
unset( $methods['pingback.ping'] );
return $methods;
}
add_filter( 'xmlrpc_methods', 'disable_pingback' );