{"action":"created","issue":{"url":"https://api.github.com/repos/okfn/elasticsearch.js/issues/14","repository_url":"https://api.github.com/repos/okfn/elasticsearch.js","labels_url":"https://api.github.com/repos/okfn/elasticsearch.js/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/okfn/elasticsearch.js/issues/14/comments","events_url":"https://api.github.com/repos/okfn/elasticsearch.js/issues/14/events","html_url":"https://github.com/okfn/elasticsearch.js/issues/14","id":52441627,"number":14,"title":"Undefined value returning var table = ES.Table(endpoint);","user":{"login":"KrishnaPG","id":4610831,"avatar_url":"https://avatars.githubusercontent.com/u/4610831?v=3","gravatar_id":"","url":"https://api.github.com/users/KrishnaPG","html_url":"https://github.com/KrishnaPG","followers_url":"https://api.github.com/users/KrishnaPG/followers","following_url":"https://api.github.com/users/KrishnaPG/following{/other_user}","gists_url":"https://api.github.com/users/KrishnaPG/gists{/gist_id}","starred_url":"https://api.github.com/users/KrishnaPG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrishnaPG/subscriptions","organizations_url":"https://api.github.com/users/KrishnaPG/orgs","repos_url":"https://api.github.com/users/KrishnaPG/repos","events_url":"https://api.github.com/users/KrishnaPG/events{/privacy}","received_events_url":"https://api.github.com/users/KrishnaPG/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2014-12-19T02:31:27Z","updated_at":"2016-10-20T12:56:19Z","closed_at":null,"body":"Hello,\r\n\r\nTrying to follow your example, but getting 'undefined value' error from `ES.Table()` function. You can try the below sample code and put a break point nere the 'problem here' statement and verify the problem.\r\n````\r\n<!DOCTYPE html>\r\n\r\n<html lang=\"en\">\r\n    <head>\r\n        <meta charset=\"utf-8\" />\r\n        <title></title>\r\n        <!-- Bootstrap  CSS -->\r\n        <link rel=\"stylesheet\" href=\"http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css\">\r\n        <link rel=\"stylesheet\" href=\"http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css\">\r\n        <link rel=\"stylesheet\" href=\"http://cdn.datatables.net/1.10.4/css/jquery.dataTables.min.css\">\r\n\r\n    </head>\r\n    <body>\r\n        <h1>Hello World !!</h1>\r\n        <div class=\"col-md-12\">\r\n            <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" class=\"display\" id=\"mygrid\"></table>\r\n        </div>\r\n\r\n        <script type=\"text/javascript\" src=\"http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js\"></script> \r\n        <script type=\"text/javascript\" src=\"http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.7.0/underscore-min.js\"></script>\r\n        <script type=\"text/javascript\" src=\"http://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.1.2/backbone-min.js\"></script>\r\n        <script type=\"text/javascript\" src=\"http://cdnjs.cloudflare.com/ajax/libs/mustache.js/0.8.1/mustache.min.js\"></script>   \r\n        <script type=\"text/javascript\" src=\"http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js\"></script>\r\n        <script type=\"text/javascript\" src=\"http://cdn.datatables.net/1.10.4/js/jquery.dataTables.js\"></script> <!--jquery.dataTables.min.js-->\r\n        <script type=\"text/javascript\" src=\"http://okfnlabs.org/elasticsearch.js/elasticsearch.js\"></script>\r\n\r\n        <script type=\"text/javascript\">     \r\n    var endpoint = 'http://192.168.56.106:9200/tweets/tweet';\r\n\r\n    var table = ES.Table(endpoint); // <-- PROBLEM HERE\r\n        </script>\r\n    </body>\r\n</html>\r\n````"},"comment":{"url":"https://api.github.com/repos/okfn/elasticsearch.js/issues/comments/255097846","html_url":"https://github.com/okfn/elasticsearch.js/issues/14#issuecomment-255097846","issue_url":"https://api.github.com/repos/okfn/elasticsearch.js/issues/14","id":255097846,"user":{"login":"rgrp","id":180658,"avatar_url":"https://avatars.githubusercontent.com/u/180658?v=3","gravatar_id":"","url":"https://api.github.com/users/rgrp","html_url":"https://github.com/rgrp","followers_url":"https://api.github.com/users/rgrp/followers","following_url":"https://api.github.com/users/rgrp/following{/other_user}","gists_url":"https://api.github.com/users/rgrp/gists{/gist_id}","starred_url":"https://api.github.com/users/rgrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgrp/subscriptions","organizations_url":"https://api.github.com/users/rgrp/orgs","repos_url":"https://api.github.com/users/rgrp/repos","events_url":"https://api.github.com/users/rgrp/events{/privacy}","received_events_url":"https://api.github.com/users/rgrp/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T12:56:19Z","updated_at":"2016-10-20T12:56:19Z","body":"@ram-bcll-tech got you. The thing is without some error output it is tough to debug. Do you see any error messages in the console?"}}
{"actor":{"display_login":"rgrp"}}