{"action":"opened","issue":{"url":"https://api.github.com/repos/seajs/seajs/issues/1613","labels_url":"https://api.github.com/repos/seajs/seajs/issues/1613/labels{/name}","comments_url":"https://api.github.com/repos/seajs/seajs/issues/1613/comments","events_url":"https://api.github.com/repos/seajs/seajs/issues/1613/events","html_url":"https://github.com/seajs/seajs/issues/1613","id":113995078,"number":1613,"title":"node.js 使用ejs.js做模板引擎时，前端html 页面内<%=%>变量，如何在 seajs模块内引用。","user":{"login":"mrlong","id":225022,"avatar_url":"https://avatars.githubusercontent.com/u/225022?v=3","gravatar_id":"","url":"https://api.github.com/users/mrlong","html_url":"https://github.com/mrlong","followers_url":"https://api.github.com/users/mrlong/followers","following_url":"https://api.github.com/users/mrlong/following{/other_user}","gists_url":"https://api.github.com/users/mrlong/gists{/gist_id}","starred_url":"https://api.github.com/users/mrlong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrlong/subscriptions","organizations_url":"https://api.github.com/users/mrlong/orgs","repos_url":"https://api.github.com/users/mrlong/repos","events_url":"https://api.github.com/users/mrlong/events{/privacy}","received_events_url":"https://api.github.com/users/mrlong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-29T07:25:15Z","updated_at":"2015-10-29T07:25:15Z","closed_at":null,"body":"define(function(require, exports, module){\r\n    $(document).ready(function(){\r\n      var curregion = $(\"#regionpanel .ui-panel-inner a[name='<%=region%>']\");\r\n      $(\"#nemuregion\").html(curregion.text());\r\n      curregion.addClass(\"ui-btn-active\");\r\n    })\r\n});\r\n\r\n其中： <%=region%> 无法转换。有什么好的解决方案。还是将这代码移到html 之内吗？\r\n"}}