{"action":"opened","issue":{"url":"https://api.github.com/repos/jejacks0n/mercury/issues/479","labels_url":"https://api.github.com/repos/jejacks0n/mercury/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/jejacks0n/mercury/issues/479/comments","events_url":"https://api.github.com/repos/jejacks0n/mercury/issues/479/events","html_url":"https://github.com/jejacks0n/mercury/issues/479","id":67100656,"number":479,"title":"How to prevent loading  mercury.js on all pages?","user":{"login":"wingleungchoi","id":10362801,"avatar_url":"https://avatars.githubusercontent.com/u/10362801?v=3","gravatar_id":"","url":"https://api.github.com/users/wingleungchoi","html_url":"https://github.com/wingleungchoi","followers_url":"https://api.github.com/users/wingleungchoi/followers","following_url":"https://api.github.com/users/wingleungchoi/following{/other_user}","gists_url":"https://api.github.com/users/wingleungchoi/gists{/gist_id}","starred_url":"https://api.github.com/users/wingleungchoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wingleungchoi/subscriptions","organizations_url":"https://api.github.com/users/wingleungchoi/orgs","repos_url":"https://api.github.com/users/wingleungchoi/repos","events_url":"https://api.github.com/users/wingleungchoi/events{/privacy}","received_events_url":"https://api.github.com/users/wingleungchoi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-08T10:37:22Z","updated_at":"2015-04-08T10:37:22Z","closed_at":null,"body":"Hi, i followed the http://railscasts.com/episodes/296-mercury-editor?view=comments&_=1428483497495.\r\nI know to use \"saveUrl\" rather than \"saveURL\", turn off turbolink and data-mercury=\"full\". It works.\r\n\r\nHowever, i am thinking how to prevent loading  mercury.js on all pages.\r\nDo mercury.js have to be in app/assets/javascripts?\r\nI tried to store it another path and use javscript_include_tag to require it on particular page. It seems it doesn't change the saveUrl and redirect window.location.\r\nRemove //= require_tree . in application.js is the only way to prevent load it on all pages?"}}