Skip to content
Snippets Groups Projects
Commit ad513284 authored by Robin Appelman's avatar Robin Appelman
Browse files

some fixes for the textviewer already

parent dd5cc8dc
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0"?> <?xml version="1.0"?>
<plugin version='1.0'> <info>
<info> <id>files_textviewer</id>
<id>textviewer</id> <name>Text viewer</name>
<name>A simple text viewer for ownCloud</name> <version>0.3</version>
<version>0.2</version> <licence>AGPL</licence>
<licence>AGPL</licence> <author>Icewind</author>
<author>Icewind</author> <require>2</require>
<require>1.1</require> </info>
</info>
<runtime>
<include>lib_textviewer.php</include>
</runtime>
</plugin>
...@@ -95,8 +95,12 @@ TextViewer.loadHighlighter=function(ready){ ...@@ -95,8 +95,12 @@ TextViewer.loadHighlighter=function(ready){
SyntaxHighlighter.vars.discoveredBrushes=null; //force the highlighter to refresh it's cache SyntaxHighlighter.vars.discoveredBrushes=null; //force the highlighter to refresh it's cache
if(ready){ if(ready){
ready(); ready();
}; }
}); });
}else{
if(ready){
ready();
};
} }
}); });
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment