Skip to content

Instantly share code, notes, and snippets.

@rwaldron
Created June 7, 2010 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rwaldron/429072 to your computer and use it in GitHub Desktop.
Save rwaldron/429072 to your computer and use it in GitHub Desktop.
importScripts('jquery.hive.pollen.js');
$(function (data) {
// message received from rendering process
$.ajax.get({
url: 'proxy.php',
data: $.param(data),
dataType: 'json',
success: function(jsonObj) {
$.each(jsonObj.results, function (i, result) {
// send each result alone
$.send(result);
});
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment