From c45159a14daac6ca55f8bf677ecdf3297bc61c1a Mon Sep 17 00:00:00 2001 From: Chris Dituri Date: Fri, 5 Dec 2014 09:18:10 -0600 Subject: [PATCH 1/2] .gitignore: ignore vim temporary .sw[op] dotfiles --- .gitignore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c880df05..0dbc3acc 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,7 @@ node_modules .settings/org.eclipse.wst.jsdt.ui.superType.container .settings/org.eclipse.wst.jsdt.ui.superType.name npm-debug.log -examples/graph/24_hierarchical_layout_userdefined2.html \ No newline at end of file +examples/graph/24_hierarchical_layout_userdefined2.html + +# vim temporary files +.*.sw[op] From d338591abdf29863605238f74a1bc71bb0f8e59d Mon Sep 17 00:00:00 2001 From: Chris Dituri Date: Fri, 5 Dec 2014 09:31:05 -0600 Subject: [PATCH 2/2] docs/network.html: fix syntax error in various examples using 'options' variable. - substituted ':' in "var options: {" for a syntactically correct '='. --- docs/network.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/network.html b/docs/network.html index b6c84012..867158ae 100644 --- a/docs/network.html +++ b/docs/network.html @@ -1529,7 +1529,7 @@ var options = { } } // OR to just load the module with default values: -var options: { +var options = { dataManipulation: true } @@ -1567,7 +1567,7 @@ var options: {

 // If a variable is not supplied, the default value is used.
-var options: {
+var options = {
     dataManipulation: true,
     onAdd: function(data,callback) {
         /** data = {id: random unique id,
@@ -1677,7 +1677,7 @@ var options = {
     }
 }
 // OR to just load the module with default values:
-var options: {
+var options = {
     clustering: true
 }
 
@@ -1827,7 +1827,7 @@ var options: {
 // use of navigation controls
-var options: {
+var options = {
   navigation: true
 }
 
@@ -1841,12 +1841,12 @@ var options: {
 
 
 // simple use of keyboard controls
-var options: {
+var options = {
     keyboard: true
 }
 
 // advanced configuration for keyboard controls
-var options: {
+var options = {
   keyboard: {
     speed: {
       x: 10,
@@ -1897,12 +1897,12 @@ var options: {
 
 
 // simple use of the hierarchical layout
-var options: {
+var options = {
     hierarchicalLayout: true
 }
 
 // advanced configuration for hierarchical layout
-var options: {
+var options = {
     hierarchicalLayout: {
       enabled:false,
       levelSeparation: 150,
@@ -1912,7 +1912,7 @@ var options: {
     }
 }
 // partial configuration automatically sets enabled to true
-var options: {
+var options = {
     hierarchicalLayout: {
       nodeSpacing: 100,
       direction: "UD"
@@ -2062,7 +2062,7 @@ To load a locale into the Timeline not supported by default, one can add a new l
 
 
 // tooltip behaviour and style options
-var options: {
+var options = {
   tooltip: {
     delay: 300,
     fontColor: "black",