Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
ad513284
Commit
ad513284
authored
13 years ago
by
Robin Appelman
Browse files
Options
Downloads
Patches
Plain Diff
some fixes for the textviewer already
parent
dd5cc8dc
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/files_textviewer/appinfo/info.xml
+8
-13
8 additions, 13 deletions
apps/files_textviewer/appinfo/info.xml
apps/files_textviewer/js/textviewer.js
+5
-1
5 additions, 1 deletion
apps/files_textviewer/js/textviewer.js
with
13 additions
and
14 deletions
apps/files_textviewer/appinfo/info.xml
+
8
−
13
View file @
ad513284
<?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>
This diff is collapsed.
Click to expand it.
apps/files_textviewer/js/textviewer.js
+
5
−
1
View file @
ad513284
...
@@ -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
();
};
}
}
});
});
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment