{"action":"created","issue":{"url":"https://api.github.com/repos/julmot/mark.js/issues/310","repository_url":"https://api.github.com/repos/julmot/mark.js","labels_url":"https://api.github.com/repos/julmot/mark.js/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/julmot/mark.js/issues/310/comments","events_url":"https://api.github.com/repos/julmot/mark.js/issues/310/events","html_url":"https://github.com/julmot/mark.js/issues/310","id":367318789,"node_id":"MDU6SXNzdWUzNjczMTg3ODk=","number":310,"title":"'Mark' is not defined","user":{"login":"jeanmarc3","id":20602640,"node_id":"MDQ6VXNlcjIwNjAyNjQw","avatar_url":"https://avatars1.githubusercontent.com/u/20602640?v=4","gravatar_id":"","url":"https://api.github.com/users/jeanmarc3","html_url":"https://github.com/jeanmarc3","followers_url":"https://api.github.com/users/jeanmarc3/followers","following_url":"https://api.github.com/users/jeanmarc3/following{/other_user}","gists_url":"https://api.github.com/users/jeanmarc3/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanmarc3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanmarc3/subscriptions","organizations_url":"https://api.github.com/users/jeanmarc3/orgs","repos_url":"https://api.github.com/users/jeanmarc3/repos","events_url":"https://api.github.com/users/jeanmarc3/events{/privacy}","received_events_url":"https://api.github.com/users/jeanmarc3/received_events","type":"User","site_admin":false},"labels":[{"id":169557516,"node_id":"MDU6TGFiZWwxNjk1NTc1MTY=","url":"https://api.github.com/repos/julmot/mark.js/labels/type:%20support","name":"type: support","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":{"login":"julmot","id":8310677,"node_id":"MDQ6VXNlcjgzMTA2Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/8310677?v=4","gravatar_id":"","url":"https://api.github.com/users/julmot","html_url":"https://github.com/julmot","followers_url":"https://api.github.com/users/julmot/followers","following_url":"https://api.github.com/users/julmot/following{/other_user}","gists_url":"https://api.github.com/users/julmot/gists{/gist_id}","starred_url":"https://api.github.com/users/julmot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julmot/subscriptions","organizations_url":"https://api.github.com/users/julmot/orgs","repos_url":"https://api.github.com/users/julmot/repos","events_url":"https://api.github.com/users/julmot/events{/privacy}","received_events_url":"https://api.github.com/users/julmot/received_events","type":"User","site_admin":false},"assignees":[{"login":"julmot","id":8310677,"node_id":"MDQ6VXNlcjgzMTA2Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/8310677?v=4","gravatar_id":"","url":"https://api.github.com/users/julmot","html_url":"https://github.com/julmot","followers_url":"https://api.github.com/users/julmot/followers","following_url":"https://api.github.com/users/julmot/following{/other_user}","gists_url":"https://api.github.com/users/julmot/gists{/gist_id}","starred_url":"https://api.github.com/users/julmot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julmot/subscriptions","organizations_url":"https://api.github.com/users/julmot/orgs","repos_url":"https://api.github.com/users/julmot/repos","events_url":"https://api.github.com/users/julmot/events{/privacy}","received_events_url":"https://api.github.com/users/julmot/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-10-05T18:23:18Z","updated_at":"2018-10-08T05:55:41Z","closed_at":"2018-10-08T05:55:41Z","author_association":"NONE","body":"Here is an issue I am facing... using the plain javascript mark.js...\r\nThis sometimes throws an \"'Mark' is not defined\" error:\r\n`var instance = new Mark(document.body);`\r\n\r\nI say 'sometimes' because I am injecting the mark.js script into a webview control inside a UWP app.\r\nThe webview control is a web browser, and so I am using the mark.js script to perform page searches.  I do not control what page is showing.  I must mention that the page search **does** work most of the time, but not on every web page.  It fails for instance when I am injecting the script in [https://wallethub.com/edu/most-fun-cities-in-the-us/23455/](url)\r\n\r\nNot being a javascript expert, I am hoping someone might know what I'm talking about..."},"comment":{"url":"https://api.github.com/repos/julmot/mark.js/issues/comments/427727957","html_url":"https://github.com/julmot/mark.js/issues/310#issuecomment-427727957","issue_url":"https://api.github.com/repos/julmot/mark.js/issues/310","id":427727957,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzcyNzk1Nw==","user":{"login":"julmot","id":8310677,"node_id":"MDQ6VXNlcjgzMTA2Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/8310677?v=4","gravatar_id":"","url":"https://api.github.com/users/julmot","html_url":"https://github.com/julmot","followers_url":"https://api.github.com/users/julmot/followers","following_url":"https://api.github.com/users/julmot/following{/other_user}","gists_url":"https://api.github.com/users/julmot/gists{/gist_id}","starred_url":"https://api.github.com/users/julmot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julmot/subscriptions","organizations_url":"https://api.github.com/users/julmot/orgs","repos_url":"https://api.github.com/users/julmot/repos","events_url":"https://api.github.com/users/julmot/events{/privacy}","received_events_url":"https://api.github.com/users/julmot/received_events","type":"User","site_admin":false},"created_at":"2018-10-08T05:55:41Z","updated_at":"2018-10-08T05:55:41Z","author_association":"OWNER","body":"Closing due to inactivity."}}
{"actor":{"display_login":"julmot"}}