Commit c71831e8 authored by Phil Hughes's avatar Phil Hughes

Added worksheets support to notebook viewer

Updated some Ruby code based on comments
parent 91f43587
...@@ -47,7 +47,7 @@ class Blob < SimpleDelegator ...@@ -47,7 +47,7 @@ class Blob < SimpleDelegator
end end
def ipython_notebook? def ipython_notebook?
text? && language && language.name == 'Jupyter Notebook' text? && language&.name == 'Jupyter Notebook'
end end
def size_within_svg_limits? def size_within_svg_limits?
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment