mozilla/kuma — pull request #704 by lmorchard (2012-11-14 19:58:09+00:00)
Title: Expose current revision ID to kumascript for versioning URLs

Quick tweak which exposes the document's current revision ID as `env.revision_id` to templates.

This should help with live samples, because we can add `?revision=<%=env.revision_id%>` to the iframe src URL and ensure it gets reloaded fresh when the page is edited - which doesn't happen all the time right now.