<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 09/17/2015 10:49 PM, Christian
Oyarzun wrote:<br>
</div>
<blockquote
cite="mid:CAMEMbDoXbUKgDnc971dO3Abq8SCQsBzJ61tVYJki_bfa9BTACg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div># HG changeset patch</div>
<div># User Christian Oyarzun <<a moz-do-not-send="true"
href="mailto:oyarzun@gmail.com">oyarzun@gmail.com</a>></div>
<div># Date 1442522796 14400</div>
<div># Thu Sep 17 16:46:36 2015 -0400</div>
<div># Node ID b10f6c0a01fce20452947caf45d661a4ed101ce5</div>
<div># Parent 889ff0f436c8b57f5962e204e699cbabc6d33aac</div>
<div>codemirror: fix model when using proxy prefix issue #160</div>
</div>
</blockquote>
<br>
We have other places in base.js where we use pyroutes.url to create
URLs to "controllers" defined in root.html . I think we should do
the same for this purpose.<br>
<br>
Instead of overloading 'home', I think we should add a
'static_files' routing and make it something like<br>
<br>
CodeMirror.modeURL = pyroutes.url('static_files'') +
"/codemirror/mode/%N/%N.js";<br>
<br>
Would that work?<br>
<br>
/Mads<br>
<br>
</body>
</html>