Show More
@@ -0,0 +1,42 b'' | |||||
|
1 | // Copyright (c) IPython Development Team. | |||
|
2 | // Distributed under the terms of the Modified BSD License. | |||
|
3 | ||||
|
4 | define([ | |||
|
5 | 'base/js/namespace', | |||
|
6 | 'jquery', | |||
|
7 | ], function(IPython, $) { | |||
|
8 | var ContentManager = function() { | |||
|
9 | // Constructor | |||
|
10 | // | |||
|
11 | // A contentmanager handles passing file operations | |||
|
12 | // to the back-end. This includes checkpointing | |||
|
13 | // with the normal file operations. | |||
|
14 | // | |||
|
15 | // Parameters: | |||
|
16 | // None | |||
|
17 | this.version = 0.1; | |||
|
18 | } | |||
|
19 | ||||
|
20 | ContentManager.prototype.new_notebook = function() { | |||
|
21 | } | |||
|
22 | ||||
|
23 | ContentManager.prototype.delete_notebook = function(name, path) { | |||
|
24 | } | |||
|
25 | ||||
|
26 | ContentManager.prototype.rename_notebook = function(new_name, new_path, old_name, old_path) { | |||
|
27 | } | |||
|
28 | ||||
|
29 | ContentManager.prototype.save_notebook = function(notebook, extra_settings) { | |||
|
30 | } | |||
|
31 | ||||
|
32 | ContentManager.prototype.save_checkpoint = function() { | |||
|
33 | } | |||
|
34 | ||||
|
35 | ContentManager.prototype.restore_checkpoint = function(id) { | |||
|
36 | } | |||
|
37 | ||||
|
38 | ContentManager.prototype.list_checkpoints = function() { | |||
|
39 | } | |||
|
40 | ||||
|
41 | return ContentManager; | |||
|
42 | }); |
General Comments 0
You need to be logged in to leave comments.
Login now