Loading template/app/view/cls/Header.js +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ Ext.define('Docs.view.cls.Header', { '<span>xtype: {[values.xtypes.join(", ")]}</span>', '</tpl>', '</h1>', '<a class="print" href="?_escaped_fragment_=/api/{name}" target="_blank">Print</a>', '<a class="print" href="?print=/api/{name}" target="_blank">Print</a>', { getClass: function(cls) { if (cls.component) { Loading template/index.php +2 −2 Original line number Diff line number Diff line Loading @@ -90,8 +90,8 @@ function decode_file($filename) { } } if (isset($_GET["_escaped_fragment_"])) { $fragment = $_GET["_escaped_fragment_"]; if (isset($_GET["_escaped_fragment_"]) || isset($_GET["print"])) { $fragment = $_GET["_escaped_fragment_"] ? $_GET["_escaped_fragment_"] : $_GET["print"]; try { if (preg_match('/^\/api\/([^-]+)/', $fragment, $m)) { $json = decode_file("output/".$m[1].".js"); Loading Loading
template/app/view/cls/Header.js +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ Ext.define('Docs.view.cls.Header', { '<span>xtype: {[values.xtypes.join(", ")]}</span>', '</tpl>', '</h1>', '<a class="print" href="?_escaped_fragment_=/api/{name}" target="_blank">Print</a>', '<a class="print" href="?print=/api/{name}" target="_blank">Print</a>', { getClass: function(cls) { if (cls.component) { Loading
template/index.php +2 −2 Original line number Diff line number Diff line Loading @@ -90,8 +90,8 @@ function decode_file($filename) { } } if (isset($_GET["_escaped_fragment_"])) { $fragment = $_GET["_escaped_fragment_"]; if (isset($_GET["_escaped_fragment_"]) || isset($_GET["print"])) { $fragment = $_GET["_escaped_fragment_"] ? $_GET["_escaped_fragment_"] : $_GET["print"]; try { if (preg_match('/^\/api\/([^-]+)/', $fragment, $m)) { $json = decode_file("output/".$m[1].".js"); Loading