Browse Source

Fixed #950: option `locales` broken in `Timeline`, `Graph2d`, and `Network`

flowchartTest
jos 9 years ago
parent
commit
4178e4c943
4 changed files with 7 additions and 12 deletions
  1. +4
    -0
      HISTORY.md
  2. +1
    -4
      lib/network/options.js
  3. +1
    -4
      lib/timeline/optionsGraph2d.js
  4. +1
    -4
      lib/timeline/optionsTimeline.js

+ 4
- 0
HISTORY.md View File

@ -4,6 +4,10 @@ http://visjs.org
## NOT YET RELEASED, verions 4.2.1--SNAPSHOT ## NOT YET RELEASED, verions 4.2.1--SNAPSHOT
### General
- Fixed #950: option `locales` broken in `Timeline`, `Graph2d`, and `Network`.
### Graph2d ### Graph2d
- Fixed #942: bug when data is empty. - Fixed #942: bug when data is empty.

+ 1
- 4
lib/network/options.js View File

@ -268,10 +268,7 @@ let allOptions = {
autoResize: {boolean}, autoResize: {boolean},
clickToUse: {boolean}, clickToUse: {boolean},
locale:{string}, locale:{string},
locales:{
__any__: {object},
__type__: {object}
},
locales:{object},
height: {string}, height: {string},
width: {string}, width: {string},
__type__: {object} __type__: {object}

+ 1
- 4
lib/timeline/optionsGraph2d.js View File

@ -127,10 +127,7 @@ let allOptions = {
height: {string, number}, height: {string, number},
hiddenDates: {object, array}, hiddenDates: {object, array},
locale:{string}, locale:{string},
locales:{
__any__: {object},
__type__: {object}
},
locales:{object},
max: {date, number, string, moment}, max: {date, number, string, moment},
maxHeight: {number, string}, maxHeight: {number, string},
min: {date, number, string, moment}, min: {date, number, string, moment},

+ 1
- 4
lib/timeline/optionsTimeline.js View File

@ -66,10 +66,7 @@ let allOptions = {
height: {string, number}, height: {string, number},
hiddenDates: {object, array}, hiddenDates: {object, array},
locale:{string}, locale:{string},
locales:{
__any__: {object},
__type__: {object}
},
locales:{object},
margin: { margin: {
axis: {number}, axis: {number},
item: { item: {

Loading…
Cancel
Save