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>textviewer</id> <id>files_textviewer</id>
<name>A simple text viewer for ownCloud</name> <name>Text viewer</name>
<version>0.2</version> <version>0.3</version>
<licence>AGPL</licence> <licence>AGPL</licence>
<author>Icewind</author> <author>Icewind</author>
<require>1.1</require> <require>2</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.
Please register or to comment