This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-gitlab
/
gitlab-org--gitlab-foss
Watch
1
Star
0
Fork
You've already forked gitlab-org--gitlab-foss
0
Code
Releases
Activity
0687020509
gitlab-org--gitlab-foss
/
app
/
models
/
blob_viewer
/
text_stl.rb
8 lines
111 B
Ruby
Raw
Normal View
History
Unescape
Escape
Enable frozen string for app/models/**/*.rb Partially addresses #47424.
2018-08-03 07:15:25 +00:00
# frozen_string_literal: true
Add rich blob viewers
2017-04-13 17:21:07 +00:00
module
BlobViewer
Explain how viewers are selected from RICH_VIEWERS
2017-04-26 20:16:38 +00:00
class
TextSTL
<
BinarySTL
Set BlobViewer::Base.binary instead of .text
2017-04-24 17:51:56 +00:00
self
.
binary
=
false
Add rich blob viewers
2017-04-13 17:21:07 +00:00
end
end