{"action":"opened","issue":{"url":"https://api.github.com/repos/the-grid/alan-view/issues/3","labels_url":"https://api.github.com/repos/the-grid/alan-view/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/the-grid/alan-view/issues/3/comments","events_url":"https://api.github.com/repos/the-grid/alan-view/issues/3/events","html_url":"https://github.com/the-grid/alan-view/issues/3","id":93526272,"number":3,"title":"how to use?","user":{"login":"Sebush","id":4061520,"avatar_url":"https://avatars.githubusercontent.com/u/4061520?v=3","gravatar_id":"","url":"https://api.github.com/users/Sebush","html_url":"https://github.com/Sebush","followers_url":"https://api.github.com/users/Sebush/followers","following_url":"https://api.github.com/users/Sebush/following{/other_user}","gists_url":"https://api.github.com/users/Sebush/gists{/gist_id}","starred_url":"https://api.github.com/users/Sebush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sebush/subscriptions","organizations_url":"https://api.github.com/users/Sebush/orgs","repos_url":"https://api.github.com/users/Sebush/repos","events_url":"https://api.github.com/users/Sebush/events{/privacy}","received_events_url":"https://api.github.com/users/Sebush/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-07T13:03:43Z","updated_at":"2015-07-07T13:03:43Z","closed_at":null,"body":"what are the requirements?\r\ni need require.js?\r\n```html\r\n<html>\r\n<head>\r\n    <title></title>\r\n    <script src=\"http://requirejs.org/docs/release/2.1.18/minified/require.js\"></script>\r\n    <script src=\"alan-view.js\" type=\"text/javascript\"></script>\r\n    <script type=\"text/javascript\">\r\n        var props = {\r\n            src: 'http://www.billiger.com/img/header/default/billiger_plus_logo.png',\r\n            cover: {\r\n                // colors: ...\r\n                // saliency: ...\r\n                // histogram: ...\r\n            }\r\n        };\r\n        var view = new AlanView({\r\n            canvas: document.getElementById('myCanvas'),\r\n            maxWidth: 500,\r\n            maxHeight: 300\r\n        });\r\n        view.draw(props);\r\n    </script>\r\n</head>\r\n<body>\r\n    <canvas id=\"myCanvas\" width=\"122\" height=\"48\"></canvas>\r\n</body>\r\n</html>\r\n```\r\nresults in js-error:\r\nUncaught Error: Mismatched anonymous define() module: function (){var define,module,exports...\r\n\r\ncan u please add a working demo?\r\n\r\ngreeting sebush"}}