curl http://balanced-hangman.herokuapp.com
Hopefully you'll see something like
{
"index": "/",
"me": "/me",
function wp_api_encode_acf($data,$post,$context){ | |
$data['meta'] = array_merge($data['meta'],get_fields($post['ID'])); | |
return $data; | |
} | |
if( function_exists('get_fields') ){ | |
add_filter('json_prepare_post', 'wp_api_encode_acf', 10, 3); | |
} |
/*global define: false, window: false */ | |
define(['jquery'], function ($) { | |
'use strict'; | |
return function () { | |
/* Begin monkey-patch Tap event support into $ */ | |
var x = 0, | |
y = 0, | |
threshold = 40, | |
// Sometimes there is lag between the last update and touchend. |