[dev] [commits] Horde branch master updated. e72224111a21c01ac1587478f8597e932caf0470
Chuck Hagenbuch
chuck at horde.org
Sun Oct 3 01:16:15 UTC 2010
Quoting Michael M Slusarz <slusarz at horde.org>:
> Quoting Chuck Hagenbuch <chuck at horde.org>:
>
>> Quoting Michael M Slusarz <slusarz at horde.org>:
>>
>>> Quoting Chuck Hagenbuch <chuck at horde.org>:
>>>
>>>> commit 3c2ef042ab5879f74472eda10c12941e8e8035ca
>>>> Author: Chuck Hagenbuch <chuck at horde.org>
>>>> Date: Sat Oct 2 17:05:56 2010 -0400
>>>>
>>>> Add SyntaxHighlighter viewer
>>>>
>>>> framework/Mime_Viewer/lib/Horde/Mime/Viewer/SyntaxHighlighter.php
>>>> | 222 +++++
>>>> 1 files changed, 222 insertions(+), 0 deletions(-)
>>>> create mode 100644
>>>> framework/Mime_Viewer/lib/Horde/Mime/Viewer/SyntaxHighlighter.php
>>>>
>>>> http://git.horde.org/co.php/framework/Mime_Viewer/lib/Horde/Mime/Viewer/SyntaxHighlighter.php?rt=horde-git&r=3c2ef042ab5879f74472eda10c12941e8e8035ca
>>>
>>> Might be jumping the gun here, but this can't live in the
>>> horde/Mime_Viewer package. Needs to live in horde/Core instead.
>>
>> Because of the javascript? What if we bundle it in Mime_Viewer,
>> like the editor javascript?
>
> horde/Mime_Viewer is completely independent of horde/Core. (Well,
> not exactly true. Doing a grep there is one Horde::externalUrl()
> call that needs to be removed...)
>
> You could package this js code in Mime_Viewer, but we are still
> going to need a wrapper in Core to add the javascript to the output
> page (e.g. the Horde::addInlineScript() and Horde::addScriptFile()
> calls). This is similar to why we need Horde_Core_Mime_Viewer_Css,
> for example.
Ah, k. How about now? :)
-chuck
More information about the dev
mailing list