- /* NEW PLUGIN API
- *
- * NOTE: Since we don't have a plugin class, we are extending all jQuery
- * plugins...
- */
-
- /*!
- * \brief Associates a query handler to the current plugin
- * \param uuid (string) query uuid
- * \param handler (function) handler callback
- */
- $.fn.set_query_handler = function(uuid, handler)
- {
- this.on(manifold.get_query_channel(uuid), handler);
- }
-
- $.fn.set_record_handler = function(uuid, handler)
- {
- this.on(manifold.get_record_channel(uuid), handler);
- }
-