GitHub PullRequestReviewCommentEvent at 2014-06-05 07:14:51
Repository: deliteful
Actor: wkeese
Payload: {"comment":{"url":"https://api.github.com/repos/ibm-js/deliteful/pulls/comments/13426771","id":13426771,"diff_hunk":"@@ -0,0 +1,191 @@\n+<!--<!doctype html>-->\n+<!--<html>-->\n+<!--<head>-->\n+\t<!--<meta name=\"viewport\"-->\n+\t\t  <!--content=\"width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no\"/>-->\n+\t<!--<meta name=\"apple-mobile-web-app-capable\" content=\"yes\"/>-->\n+\t<!--<title>Big spaces HandleBars</title>-->\n+\n+\t<!--[> styles <]-->\n+\t<!--<link rel=\"stylesheet\" type=\"text/css\" href=\"../../Toaster/style.css\" />-->\n+\t<!--<style>-->\n+\t\t<!--body {-->\n+\t\t\t<!--font-family:sans-serif;-->\n+\t\t\t<!--font-size:16px;-->\n+\t\t<!--}-->\n+\t<!--</style>-->\n+\n+\t<!--[> For testing purposes.  Real applications should load the AMD loader directly <]-->\n+\t<!--<script type=\"text/javascript\" src=\"../../../delite/tests/boilerplate.js\"></script>-->\n+\n+\t<!--<script type=\"text/javascript\">-->\n+\t\t<!--var toast, canvas;-->\n+\t\t<!--require([-->\n+\t\t\t\t<!--\"delite/register\",-->\n+\t\t\t\t<!--\"deliteful/ToasterMessage\",-->\n+\t\t\t\t<!--\"deliteful/Toaster\",-->\n+\t\t\t\t<!--\"dpointer/events\",-->\n+\t\t\t\t<!--\"dojo/domReady!\"-->\n+\t\t\t\t<!--], function(register, ToasterMessage, Toaster, pointer){-->\n+\t\t\t\t\t<!--// register.parse()-->\n+\t\t\t\t\t\t<!--toast = new Toaster({id: \"default\"});-->\n+\t\t\t\t\t\t<!--toast.startup();-->\n+\t\t\t\t\t\t<!--toast.placeAt(\"body\");-->\n+\t\t\t\t\t\t<!--toast.show();-->\n+\t\t\t\t<!--});-->\n+\t\t\t<!--</script>-->\n+\t\t\t<!--<style>-->\n+\t\t\t\t<!--#canvas {-->\n+\t\t\t\t\t<!--background:tomato;-->\n+\t\t\t\t\t<!--width:500px; height:500px;-->\n+\t\t\t\t<!--}-->\n+\t\t\t\t<!--#canvas.greenify {-->\n+\t\t\t\t\t<!--background:yellowgreen;-->\n+\t\t\t\t\t<!--width:500px; height:500px;-->\n+\t\t\t\t<!--}-->\n+\t\t\t<!--</style>-->\n+\t<!--[><link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/animatecss/2.1.0/animate.min.css\" /><]-->\n+<!--</head>-->\n+<!--<body id=\"body\" class=\"bootstrap small\" style=\"\">-->\n+\t<!--<button is=\"d-button\" onclick=\"toast.postMessage('Stream refreshed', 'info', 5000)\" >Info</button>-->\n+\t<!--<button is=\"d-button\" onclick=\"toast.postMessage('NOT', 'error', 5000)\" >error</button>-->\n+\t<!--<button is=\"d-button\" onclick=\"toast.focus()\" >Info</button>-->\n+<!--</body>-->\n+<!--</html>-->\n+<!DOCTYPE HTML>\n+<html>\n+<head>\n+<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"/>\n+<meta name=\"viewport\" content=\"width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no\" />\n+<meta name=\"apple-mobile-web-app-capable\" content=\"yes\" />\n+<title>StarRating Tests</title>\n+<link rel=\"stylesheet\" type=\"text/css\" href=\"../../Toaster/style.css\" />\n+\n+\t<script type=\"text/javascript\" src=\"../../../delite/tests/boilerplate.js\"></script>\n+<script language=\"JavaScript\" type=\"text/javascript\">\n+\tvar actionsDuration, actionsTypes;\n+\tvar ready = false; // set to true when the test page is ready\n+\tvar timeoutInterval = 1000;\n+\tvar val = 0;\n+\tvar toast;\n+\trequire([\n+\t\t\"delite/register\",\n+\t\t\"dojo/dom\",\n+\t\t\"deliteful/ToasterMessage\",\n+\t\t\"deliteful/Toaster\",\n+\t\t\"dpointer/events\",\n+\t\t\"dojo/domReady!\"\n+\t], function(register, dom, ToasterMessage, Toaster){\n+\n+\t\tregister.parse();\n+\t\t// Create rating widget programmaticaly\n+\t\ttoast = new Toaster({id: \"default\"});\n+\t\ttoast.startup();","path":"tests/functional/ToasterTests.html","position":83,"original_position":83,"commit_id":"35e01fadc808a7a5d5439b9f08fde469d7f10c02","original_commit_id":"35e01fadc808a7a5d5439b9f08fde469d7f10c02","user":{"login":"wkeese","id":69599,"avatar_url":"https://avatars.githubusercontent.com/u/69599?","gravatar_id":"4145cb9cc056a332f9e8685ae57977e8","url":"https://api.github.com/users/wkeese","html_url":"https://github.com/wkeese","followers_url":"https://api.github.com/users/wkeese/followers","following_url":"https://api.github.com/users/wkeese/following{/other_user}","gists_url":"https://api.github.com/users/wkeese/gists{/gist_id}","starred_url":"https://api.github.com/users/wkeese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkeese/subscriptions","organizations_url":"https://api.github.com/users/wkeese/orgs","repos_url":"https://api.github.com/users/wkeese/repos","events_url":"https://api.github.com/users/wkeese/events{/privacy}","received_events_url":"https://api.github.com/users/wkeese/received_events","type":"User","site_admin":false},"body":"You shouldn't call startup() before the element is added to the DOM.   Also, placeAt() automatically calls startup().","created_at":"2014-06-05T07:14:51Z","updated_at":"2014-06-05T07:14:51Z","html_url":"https://github.com/ibm-js/deliteful/pull/140#discussion_r13426771","pull_request_url":"https://api.github.com/repos/ibm-js/deliteful/pulls/140","_links":{"self":{"href":"https://api.github.com/repos/ibm-js/deliteful/pulls/comments/13426771"},"html":{"href":"https://github.com/ibm-js/deliteful/pull/140#discussion_r13426771"},"pull_request":{"href":"https://api.github.com/repos/ibm-js/deliteful/pulls/140"}}}}