Browse Source

Improved locales validation again

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

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

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

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

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

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

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

Loading…
Cancel
Save