{"action":"created","issue":{"url":"https://api.github.com/repos/zozoh/walnut/issues/36","labels_url":"https://api.github.com/repos/zozoh/walnut/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/zozoh/walnut/issues/36/comments","events_url":"https://api.github.com/repos/zozoh/walnut/issues/36/events","html_url":"https://github.com/zozoh/walnut/issues/36","id":96951529,"number":36,"title":"zui 部分，觉得发命令应该通过 UI 而不是 Mod","user":{"login":"zozoh","id":174909,"avatar_url":"https://avatars.githubusercontent.com/u/174909?v=3","gravatar_id":"","url":"https://api.github.com/users/zozoh","html_url":"https://github.com/zozoh","followers_url":"https://api.github.com/users/zozoh/followers","following_url":"https://api.github.com/users/zozoh/following{/other_user}","gists_url":"https://api.github.com/users/zozoh/gists{/gist_id}","starred_url":"https://api.github.com/users/zozoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zozoh/subscriptions","organizations_url":"https://api.github.com/users/zozoh/orgs","repos_url":"https://api.github.com/users/zozoh/repos","events_url":"https://api.github.com/users/zozoh/events{/privacy}","received_events_url":"https://api.github.com/users/zozoh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-24T03:12:30Z","updated_at":"2015-07-24T03:39:23Z","closed_at":null,"body":"1. 原来的想法是， zui 能独立于 walnut，所以把 exec 等放到 mod 里了\r\n2. 不过现在看起来， zui 不能独立于 walnut，或者说，独立了木啥意义\r\n3. 某些界面，如果想独立，还是抽象出一个 jquery 插件来的爽快\r\n4. 因此 exec 应该由 zui 提供比较好, 或者起码是一个帮助函数，不能是 Backbone.Model\r\n\r\n@pangwu86  你怎么看？"},"comment":{"url":"https://api.github.com/repos/zozoh/walnut/issues/comments/124311193","html_url":"https://github.com/zozoh/walnut/issues/36#issuecomment-124311193","issue_url":"https://api.github.com/repos/zozoh/walnut/issues/36","id":124311193,"user":{"login":"pangwu86","id":326471,"avatar_url":"https://avatars.githubusercontent.com/u/326471?v=3","gravatar_id":"","url":"https://api.github.com/users/pangwu86","html_url":"https://github.com/pangwu86","followers_url":"https://api.github.com/users/pangwu86/followers","following_url":"https://api.github.com/users/pangwu86/following{/other_user}","gists_url":"https://api.github.com/users/pangwu86/gists{/gist_id}","starred_url":"https://api.github.com/users/pangwu86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pangwu86/subscriptions","organizations_url":"https://api.github.com/users/pangwu86/orgs","repos_url":"https://api.github.com/users/pangwu86/repos","events_url":"https://api.github.com/users/pangwu86/events{/privacy}","received_events_url":"https://api.github.com/users/pangwu86/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T03:39:23Z","updated_at":"2015-07-24T03:39:23Z","body":"现在walnut的三个js的主要功能\r\n```\r\nwalnut.js            命令执行与返回, 是与cmd相关的\r\nwalnut.obj.js      保存对象, 跟写入对象,  其实是跟obj相关的\r\nwalnut.client.js   记录执行命令的历史, 无后台交互, 仅仅是前端记录\r\n```"}}