mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
Acknowledge "ingnore_minified" on editor page.
a few typo and consistency also.
This commit is contained in:
parent
c29b8780a3
commit
c4f2c5ac23
@ -76,7 +76,7 @@ define([
|
||||
// backward compat.
|
||||
Object.defineProperty(this, 'cm_config', {
|
||||
get: function() {
|
||||
console.warn("Warning: accessing Cell.cm_config directly is deprecate.")
|
||||
console.warn("Warning: accessing Cell.cm_config directly is deprecated.")
|
||||
return that._options.cm_config;
|
||||
},
|
||||
});
|
||||
|
@ -95,5 +95,9 @@ data-file-path="{{file_path}}"
|
||||
|
||||
{{super()}}
|
||||
|
||||
<script src="{{ static_url("edit/js/main.min.js") }}" type="text/javascript" charset="utf-8"></script>
|
||||
{% if ignore_minified_js %}
|
||||
<script src="{{ static_url("edit/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
|
||||
{% else %}
|
||||
<script src="{{ static_url("edit/js/main.min.js") }}" type="text/javascript" charset="utf-8"></script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
@ -332,9 +332,9 @@ data-notebook-path="{{notebook_path}}"
|
||||
<script src="{{ static_url("components/text-encoding/lib/encoding.js") }}" charset="utf-8"></script>
|
||||
|
||||
{% if ignore_minified_js %}
|
||||
<script src="{{ static_url("notebook/js/main.js") }}" charset="utf-8"></script>
|
||||
<script src="{{ static_url("notebook/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
|
||||
{% else %}
|
||||
<script src="{{ static_url("notebook/js/main.min.js") }}" charset="utf-8"></script>
|
||||
<script src="{{ static_url("notebook/js/main.min.js") }}" type="text/javascript" charset="utf-8"></script>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user