Sha256: a01e8371596231bd81f6d40713925693b62c6fe3a530ae9d7e2c1be1aa0fb6a5
Contents?: true
Size: 493 Bytes
Versions: 3
Compression:
Stored size: 493 Bytes
Contents
"use strict"; (function () { _.extend(scrivito, { path_for_id: function path_for_id(id) { return "/__scrivito/" + id; }, id_from_path: function id_from_path(url) { // -- PATCH BEGINS HERE -- var match = /__scrivito\/([a-z0-9]{4,})/.exec(url); // -- PATHC ENDS HERE -- if (match) { return match[1]; } }, detailsPathForId: function detailsPathForId(objId) { return "/__scrivito/page_details/" + objId; } }); })();
Version data entries
3 entries across 3 versions & 1 rubygems