Browse Source

correct spelling for 'deprecated' and 'deprecation' s/depricat/deprecat/g

codeClimate
Jader Dias 8 years ago
committed by Alexander Wunschik
parent
commit
8419c73535
5 changed files with 7 additions and 7 deletions
  1. +1
    -1
      HISTORY.md
  2. +1
    -1
      dist/vis-network.min.js
  3. +2
    -2
      dist/vis.js
  4. +1
    -1
      dist/vis.min.js
  5. +2
    -2
      lib/network/Network.js

+ 1
- 1
HISTORY.md View File

@ -902,7 +902,7 @@ it future proof for maintainability, extendability and clarity. A summary of new
### Network
- Title of nodes and edges can now be an HTML element too.
- Renamed storePosition to storePositions. Added deprication message and old name still works.
- Renamed storePosition to storePositions. Added deprecation message and old name still works.
- Worked around hammer.js bug with multiple release listeners.
- Improved cleaning up after manipulation toolbar.
- Added getPositions() method to get the position of all nodes or some of them if specific Ids are supplied.

+ 1
- 1
dist/vis-network.min.js
File diff suppressed because it is too large
View File


+ 2
- 2
dist/vis.js View File

@ -28854,14 +28854,14 @@ return /******/ (function(modules) { // webpackBootstrap
this.setOptions(data && data.options);
// set all data
if (data && data.dot) {
console.log('The dot property has been depricated. Please use the static convertDot method to convert DOT into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertDot(dotString);');
console.log('The dot property has been deprecated. Please use the static convertDot method to convert DOT into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertDot(dotString);');
// parse DOT file
var dotData = dotparser.DOTToGraph(data.dot);
this.setData(dotData);
return;
} else if (data && data.gephi) {
// parse DOT file
console.log('The gephi property has been depricated. Please use the static convertGephi method to convert gephi into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertGephi(gephiJson);');
console.log('The gephi property has been deprecated. Please use the static convertGephi method to convert gephi into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertGephi(gephiJson);');
var gephiData = gephiParser.parseGephi(data.gephi);
this.setData(gephiData);
return;

+ 1
- 1
dist/vis.min.js
File diff suppressed because it is too large
View File


+ 2
- 2
lib/network/Network.js View File

@ -312,7 +312,7 @@ Network.prototype.setData = function (data) {
this.setOptions(data && data.options);
// set all data
if (data && data.dot) {
console.log('The dot property has been depricated. Please use the static convertDot method to convert DOT into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertDot(dotString);');
console.log('The dot property has been deprecated. Please use the static convertDot method to convert DOT into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertDot(dotString);');
// parse DOT file
var dotData = dotparser.DOTToGraph(data.dot);
this.setData(dotData);
@ -320,7 +320,7 @@ Network.prototype.setData = function (data) {
}
else if (data && data.gephi) {
// parse DOT file
console.log('The gephi property has been depricated. Please use the static convertGephi method to convert gephi into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertGephi(gephiJson);');
console.log('The gephi property has been deprecated. Please use the static convertGephi method to convert gephi into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertGephi(gephiJson);');
var gephiData = gephiParser.parseGephi(data.gephi);
this.setData(gephiData);
return;

Loading…
Cancel
Save