{"action":"created","issue":{"url":"https://api.github.com/repos/zhangxinxu/mobilebone/issues/121","labels_url":"https://api.github.com/repos/zhangxinxu/mobilebone/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/zhangxinxu/mobilebone/issues/121/comments","events_url":"https://api.github.com/repos/zhangxinxu/mobilebone/issues/121/events","html_url":"https://github.com/zhangxinxu/mobilebone/issues/121","id":70062606,"number":121,"title":"页面切换后Javascritp不能执行！","user":{"login":"yuefengkai","id":2100585,"avatar_url":"https://avatars.githubusercontent.com/u/2100585?v=3","gravatar_id":"","url":"https://api.github.com/users/yuefengkai","html_url":"https://github.com/yuefengkai","followers_url":"https://api.github.com/users/yuefengkai/followers","following_url":"https://api.github.com/users/yuefengkai/following{/other_user}","gists_url":"https://api.github.com/users/yuefengkai/gists{/gist_id}","starred_url":"https://api.github.com/users/yuefengkai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuefengkai/subscriptions","organizations_url":"https://api.github.com/users/yuefengkai/orgs","repos_url":"https://api.github.com/users/yuefengkai/repos","events_url":"https://api.github.com/users/yuefengkai/events{/privacy}","received_events_url":"https://api.github.com/users/yuefengkai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-22T08:48:36Z","updated_at":"2015-04-25T16:08:13Z","closed_at":null,"body":"Main页面\r\nA页面\r\n\r\n 从Main页面点击链接到A后 A页面的Javascript不能执行  A的Js在Main里也有"},"comment":{"url":"https://api.github.com/repos/zhangxinxu/mobilebone/issues/comments/96232680","html_url":"https://github.com/zhangxinxu/mobilebone/issues/121#issuecomment-96232680","issue_url":"https://api.github.com/repos/zhangxinxu/mobilebone/issues/121","id":96232680,"user":{"login":"zhangxinxu","id":496048,"avatar_url":"https://avatars.githubusercontent.com/u/496048?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangxinxu","html_url":"https://github.com/zhangxinxu","followers_url":"https://api.github.com/users/zhangxinxu/followers","following_url":"https://api.github.com/users/zhangxinxu/following{/other_user}","gists_url":"https://api.github.com/users/zhangxinxu/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangxinxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangxinxu/subscriptions","organizations_url":"https://api.github.com/users/zhangxinxu/orgs","repos_url":"https://api.github.com/users/zhangxinxu/repos","events_url":"https://api.github.com/users/zhangxinxu/events{/privacy}","received_events_url":"https://api.github.com/users/zhangxinxu/received_events","type":"User","site_admin":false},"created_at":"2015-04-25T16:08:13Z","updated_at":"2015-04-25T16:08:13Z","body":"你好，新增的Mobilebone.evalScript可以执行加载的HTML内容中的JS内容，默认是false不执行。以url地址形式连接的script文件是不会执行的。\r\n原因在于：\r\nMobilebone设计的初衷是这样的：Main页面就是我们平常的main页面，就算没有Mobilebone也可以正常访问，A页面单独访问也是一个正常的页面。加上了Mobilebone，就变成滑来滑去效果。因此，几乎跟传统开发无异。显然，Main页面和A页面会有一些同样的JS文件，例如jQuery或common.js之类。显然，在Mobilebone看来头部或尾部的JS文件是万万不能重复执行的。"}}