在Chrome中,您可以在线编辑资源,Chrome会生成该资源的修订版。 这里是文档: http : //code.google.com/intl/en-US/chrome/devtools/docs/elements-styles.html#persist
可悲的是,它不在这里工作,我不知道如何启用它。 无法在资源选项卡中展开文件以查看修订。
在MacOS上使用Chrome 15.0.874.121。 我的一位同事尝试了开发者频道,但它仍然没有。 但我在Google开发者日看到了它的演示。
In Chrome, you can edit your resources in line and Chrome will generate revisions of that resource. Here the documentation: http://code.google.com/intl/en-US/chrome/devtools/docs/elements-styles.html#persist
Sadly, it's not working here, and I don't know how to enable it. It is not possible to expand the file in the resource tab to see the revisions.
Using Chrome 15.0.874.121 on MacOS here. A colleague of mine tried the developer channel, but it's still not there. But I saw a demo of it at the Google Developer Day.
最满意答案
这也适用于15.0.874.121 - 只需在“资源”面板中双击CSS或JS文件的文本内容,键入内容并按Cmd + Enter。 您将看到添加的行以绿色背景显示,左侧的编辑资源将变为可扩展。
This works in 15.0.874.121 as well -- just double-click on a text content of a CSS or JS file in the Resources panel, type something and press Cmd+Enter. You will see the lines that you added displayed with a green background, and the edited resource on the left will become expandable.
更多推荐
发布评论