##// END OF EJS Templates
Revert "Add Javascript to display priority of base nbconvert class."...
Jonathan Frederic -
Show More
@@ -1,40 +1,40 b''
1 1 """Global configuration class."""
2 2 #-----------------------------------------------------------------------------
3 3 # Copyright (c) 2013, the IPython Development Team.
4 4 #
5 5 # Distributed under the terms of the Modified BSD License.
6 6 #
7 7 # The full license is in the file COPYING.txt, distributed with this software.
8 8 #-----------------------------------------------------------------------------
9 9
10 10 #-----------------------------------------------------------------------------
11 11 # Imports
12 12 #-----------------------------------------------------------------------------
13 13
14 14 from IPython.utils.traitlets import List
15 15 from IPython.config.configurable import LoggingConfigurable
16 16 from IPython.utils.traitlets import Unicode
17 17
18 18 #-----------------------------------------------------------------------------
19 19 # Classes and functions
20 20 #-----------------------------------------------------------------------------
21 21
22 22 class NbConvertBase(LoggingConfigurable):
23 23 """Global configurable class for shared config
24 24
25 25 Useful for display data priority that might be use by many transformers
26 26 """
27 27
28 display_data_priority = List(['html', 'javascript', 'application/pdf', 'svg', 'latex', 'png', 'jpg', 'jpeg' , 'text'],
28 display_data_priority = List(['html', 'application/pdf', 'svg', 'latex', 'png', 'jpg', 'jpeg' , 'text'],
29 29 config=True,
30 30 help= """
31 31 An ordered list of preferred output type, the first
32 32 encountered will usually be used when converting discarding
33 33 the others.
34 34 """
35 35 )
36 36
37 37 default_language = Unicode('ipython', config=True, help='default highlight language')
38 38
39 39 def __init__(self, **kw):
40 40 super(NbConvertBase, self).__init__(**kw)
General Comments 0
You need to be logged in to leave comments. Login now