Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-ihaskell
Commits
90731e9a
Commit
90731e9a
authored
Apr 07, 2015
by
Andrew Gibiansky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #471 from Carreau/ihaskell-mode
set global CM Mode
parents
5e12d478
5f48dea7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
kernel.js
html/kernel.js
+7
-1
No files found.
html/kernel.js
View file @
90731e9a
...
...
@@ -10,7 +10,7 @@ define(['require',
var
onload
=
function
(){
console
.
log
(
'Kernel haskell kernel.js is loading.'
);
// add here logic that shou
dl
be run once per **page load**
// add here logic that shou
ld
be run once per **page load**
// like adding specific UI, or changing the default value
// of codecell highlight.
...
...
@@ -51,6 +51,12 @@ define(['require',
}
}
});
if
(
IPython
.
notebook
.
set_codemirror_mode
){
// this first one will not be necessary in the future
// neither should the loop on all cells above
IPython
.
notebook
.
set_codemirror_mode
(
'null'
)
IPython
.
notebook
.
set_codemirror_mode
(
'ihaskell'
)
}
// Prevent the pager from surrounding everything with a <pre>
IPython
.
Pager
.
prototype
.
append_text
=
function
(
text
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment