published
updated
source uri
author
contributor
Handler
acre handler
plural name
  • Scripts

summary

var util = acre.require("freebase:/user/dfhuynh/hotshot/worker"); util.doIfThereIsId(function(id) {...

content

var util = acre.require("freebase:/user/dfhuynh/hotshot/worker"); util.doIfThereIsId(function(id) { var settings = {}; util.getThumbnailSettings(settings); var o = util.getHotshot(id, settings); acre.start_response(200, { 'content-type': 'text/plain; charset="UTF-8"' }); var callback = util.getCallback(); if (callback != null) { acre.write(callback + "("); } acre.write(JSON.stringify(o)); if (callback != null) { acre.write(")"); } });
Created by dfhuynh Jun 27, 2008
Last edited by dfhuynh Oct 5, 2008
View topic history »

Comments

There is no discussion about this document.

Start the Discussion »