Rename texteditor files & folders to edit

This commit is contained in:
Thomas Kluyver 2014-11-25 10:07:52 -08:00
parent 6070f84c8d
commit 011beaa385
7 changed files with 6 additions and 6 deletions

View File

@ -17,7 +17,7 @@ class EditorHandler(IPythonHandler):
raise web.HTTPError(404, u'File does not exist: %s' % path)
basename = path.rsplit('/', 1)[-1]
self.write(self.render_template('texteditor.html',
self.write(self.render_template('edit.html',
file_path=url_escape(path),
basename=basename,
page_title=basename + " (editing)",

View File

@ -199,7 +199,7 @@ class NotebookWebApplication(web.Application):
handlers.extend(load_handlers('notebook.handlers'))
handlers.extend(load_handlers('nbconvert.handlers'))
handlers.extend(load_handlers('kernelspecs.handlers'))
handlers.extend(load_handlers('texteditor.handlers'))
handlers.extend(load_handlers('edit.handlers'))
handlers.extend(load_handlers('services.config.handlers'))
handlers.extend(load_handlers('services.kernels.handlers'))
handlers.extend(load_handlers('services.contents.handlers'))

View File

@ -7,9 +7,9 @@ require([
'base/js/page',
'base/js/events',
'contents',
'texteditor/js/editor',
'texteditor/js/menubar',
'texteditor/js/notificationarea',
'edit/js/editor',
'edit/js/menubar',
'edit/js/notificationarea',
'custom/custom',
], function(
IPython,

View File

@ -68,5 +68,5 @@ data-file-path="{{file_path}}"
{{super()}}
<script src="{{ static_url("texteditor/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
<script src="{{ static_url("edit/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
{% endblock %}