Skip to content

Instantly share code, notes, and snippets.

<script type='text/javascript'>var ojo_status = 'close'; /* [ close, semi-open, open ] */ var ojo_stage = 'agent';/* [ offline, agent ]*/(function(e){var r=document.createElement("script");r.type="text/javascript";r.async=false;r.src="https://ojo-chat.herokuapp.com/static/js/main.fdcf9a26.js";var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(r,i);var l=document.createElement("link");l.type="text/css";l.rel="stylesheet";l.href="https://ojo-chat.herokuapp.com/static/css/main.5dabf406.css";var h=document.getElementsByTagName("head")[0];h.parentNode.insertBefore(l,h)})(window);</script>
@bhanuprasad143
bhanuprasad143 / OJo
Last active December 28, 2017 15:58
<script type='text/javascript'>var ojo_status = 'open'; /* [ close, open ] */ var ojo_stage = 'agent';/* [ offline, agent ]*/(function(e){var r=document.createElement("script");r.type="text/javascript";r.async=false;r.src="http://mayap.org/static/js/main.6baf2ab4.js";var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(r,i);var l=document.createElement("link");l.type="text/css";l.rel="stylesheet";l.href="http://mayap.org/static/css/main.31d0a328.css";var h=document.getElementsByTagName("head")[0];h.parentNode.insertBefore(l,h)})(window);</script>
@bhanuprasad143
bhanuprasad143 / gist:ff4a863f41e12ae3c7b776a62312397b
Created August 9, 2017 03:13
Describe response item activities
{
"item": [
136
],
"product": 46575,
"meta": {
"pk": 9096,
"blocked": 1553312,
"user": 50962,
"unblocked": false,
// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
$(function() {
MIN_ANSWERS = 2
MAX_ANSWERS = 10
MIN_ANSWERS_MSG = "Minimum of two(2) answers required."
MAX_ANSWERS_MSG = "Maximum of ten(10) answers only."
TOP_ANSWER_MSG = "Can't go up answer is on the top list."