Skip to content

Instantly share code, notes, and snippets.

View tijptjik's full-sized avatar

Mart van de Ven tijptjik

View GitHub Profile
@tijptjik
tijptjik / jquery.ba-tinypubsub.js
Created March 4, 2012 15:03 — forked from cowboy/HEY-YOU.md
jQuery Tiny Pub/Sub: A really, really, REALLY tiny pub/sub implementation for jQuery.
/* jQuery Tiny Pub/Sub - v0.7 - 10/27/2011
* http://benalman.com/
* Copyright (c) 2011 "Cowboy" Ben Alman; Licensed MIT, GPL */
(function($) {
var o = $({});
$.subscribe = function() {
o.on.apply(o, arguments);
{
"metadata": {
"name": "",
"signature": "sha256:5ad7f762e65176fc4319940032d1c0eb966cfa2b28c2b8cd558ad72236fbcdd8"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
<html><head><title>Enter Play</title></head>
<body>
<form action='http://www.boardgamegeek.com/geekplay.php' method='GET'>
<input type='hidden' name='action' value='save'>
<input type='hidden' name='version' id='quickplay_version' value='2'>
<input type='hidden' name='objecttype' id='quickplay_objecttype' value='thing'>
<input type='hidden' name='playid' id='quickplay_playid' value=''>