Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
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
Grégoire Locqueville
purescript-gargantext
Commits
49c2ce3a
Unverified
Commit
49c2ce3a
authored
Jan 21, 2019
by
Mael NICOLAS
Committed by
Nicolas Pouillard
Apr 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[HELP]
Resolved the compilation error but myGoto() doesn't seem to be loaded
parent
b889ed13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
Sigmajs.js
src/Gargantext/Components/GraphExplorer/Sigmajs.js
+1
-1
Sigmajs.purs
src/Gargantext/Components/GraphExplorer/Sigmajs.purs
+1
-5
No files found.
src/Gargantext/Components/GraphExplorer/Sigmajs.js
View file @
49c2ce3a
...
@@ -41,7 +41,7 @@ exports.forceLinkClass = FL.default;
...
@@ -41,7 +41,7 @@ exports.forceLinkClass = FL.default;
}
}
const
myGoto
=
function
(
sigma
){
const
myGoto
=
function
(
sigma
){
alert
(
"My goto ffi"
);
console
.
log
(
"My goto ffi"
);
};
};
exports
.
myGoto
=
myGoto
;
exports
.
myGoto
=
myGoto
;
src/Gargantext/Components/GraphExplorer/Sigmajs.purs
View file @
49c2ce3a
...
@@ -3,7 +3,6 @@ module Gargantext.Components.GraphExplorer.Sigmajs where
...
@@ -3,7 +3,6 @@ module Gargantext.Components.GraphExplorer.Sigmajs where
import Prelude
import Prelude
import Data.Nullable (Nullable)
import Data.Nullable (Nullable)
import Data.Unit (Unit)
import Effect (Effect)
import Effect (Effect)
import React (Children, ReactClass, ReactElement, ReactRef, createElement, unsafeCreateElement)
import React (Children, ReactClass, ReactElement, ReactRef, createElement, unsafeCreateElement)
import React.DOM.Props (Props)
import React.DOM.Props (Props)
...
@@ -252,7 +251,7 @@ type SigmaProps =
...
@@ -252,7 +251,7 @@ type SigmaProps =
, settings :: SigmaSettings
, settings :: SigmaSettings
, style :: SigmaStyle
, style :: SigmaStyle
, graph :: SigmaGraphData
, graph :: SigmaGraphData
, ref ::
(Nullable ReactRef -> Effect Unit) -> Props
, ref ::
Nullable ReactRef -> Effect Unit
, onClickNode :: SigmaNodeEvent -> Unit
, onClickNode :: SigmaNodeEvent -> Unit
, onOverNode :: SigmaNodeEvent -> Unit
, onOverNode :: SigmaNodeEvent -> Unit
, onOutNode :: SigmaNodeEvent -> Effect Unit
, onOutNode :: SigmaNodeEvent -> Effect Unit
...
@@ -286,9 +285,6 @@ edgeShape =
...
@@ -286,9 +285,6 @@ edgeShape =
, tapered : EdgeShape "tapered"
, tapered : EdgeShape "tapered"
}
}
newtype NodeShape = NodeShape String
newtype NodeShape = NodeShape String
nodeShape :: { def :: NodeShape
nodeShape :: { def :: NodeShape
...
...
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