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
419966e5d3
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 03:15:25 -04:00
# frozen_string_literal: true
Add rich blob viewers
2017-04-13 13:21:07 -04:00
module
BlobViewer
Explain how viewers are selected from RICH_VIEWERS
2017-04-26 16:16:38 -04:00
class
TextSTL
<
BinarySTL
Set BlobViewer::Base.binary instead of .text
2017-04-24 13:51:56 -04:00
self
.
binary
=
false
Add rich blob viewers
2017-04-13 13:21:07 -04:00
end
end
Copy permalink