use less as a component

Matthias BUSSONNIER 13 years ago
parent 6217b6283e
commit d078afb51a

@ -353,7 +353,11 @@ class NotebookApp(BaseIPythonApplication):
it. This is mainly convenient when working on the less
file to avoid a build step, or if user want to overwrite
some of the less variables without having to recompile
everything.""")
everything.
You will need to install the less.js component in the static directory
either in the source tree or in your profile folder.
""")
webapp_settings = Dict(config=True,
help="Supply overrides for the tornado.web.Application that the "

@ -185,7 +185,7 @@ data-notebook-id={{notebook_id}}
{% block script %}
{% if use_less %}
<script src="{{ static_url("js/less/less-1.3.1.min.js") }}" charset="utf-8"></script>
<script src="{{ static_url("components/less.js/dist/less-1.3.3.min.js") }}" charset="utf-8"></script>
{% endif %}
<script src="{{ static_url("codemirror/lib/codemirror.js") }}" charset="utf-8"></script>

Loading…
Cancel
Save