Browse Source

Revert "Don't pass non-string values to Date.parse" (#2512)

readme-improvements
Alexander Wunschik 8 years ago
committed by GitHub
parent
commit
fb8e81c574
29 changed files with 4 additions and 49309 deletions
  1. +1
    -0
      .gitignore
  2. +1
    -17
      README.md
  3. BIN
      dist/img/network/acceptDeleteIcon.png
  4. BIN
      dist/img/network/addNodeIcon.png
  5. BIN
      dist/img/network/backIcon.png
  6. BIN
      dist/img/network/connectIcon.png
  7. BIN
      dist/img/network/cross.png
  8. BIN
      dist/img/network/cross2.png
  9. BIN
      dist/img/network/deleteIcon.png
  10. BIN
      dist/img/network/downArrow.png
  11. BIN
      dist/img/network/editIcon.png
  12. BIN
      dist/img/network/leftArrow.png
  13. BIN
      dist/img/network/minus.png
  14. BIN
      dist/img/network/plus.png
  15. BIN
      dist/img/network/rightArrow.png
  16. BIN
      dist/img/network/upArrow.png
  17. BIN
      dist/img/network/zoomExtends.png
  18. +0
    -33
      dist/vis-graph3d.min.js
  19. +0
    -1
      dist/vis-network.min.css
  20. +0
    -41
      dist/vis-network.min.js
  21. +0
    -1
      dist/vis-timeline-graph2d.min.css
  22. +0
    -39
      dist/vis-timeline-graph2d.min.js
  23. +0
    -1389
      dist/vis.css
  24. +0
    -47739
      dist/vis.js
  25. +0
    -1
      dist/vis.min.css
  26. +0
    -45
      dist/vis.min.js
  27. +1
    -1
      gulpfile.js
  28. +1
    -1
      lib/util.js
  29. +0
    -1
      misc/we_need_help.md

+ 1
- 0
.gitignore View File

@ -1,4 +1,5 @@
# vis.js files
dist/
test/
dist/

+ 1
- 17
README.md View File

@ -1,8 +1,6 @@
vis.js
==================
[![Join the chat at https://gitter.im/vis-js/Lobby](https://badges.gitter.im/vis-js/Lobby.svg)](https://gitter.im/vis-js/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
<a href="https://github.com/almende/vis/issues/1781" target="_blank">
<img align="right" src="https://raw.githubusercontent.com/almende/vis/master/misc/we_need_help.png">
</a>
@ -21,22 +19,8 @@ The library consists of the following components:
- Network. Display a network (force directed graph) with nodes and edges.
- Timeline. Display different types of data on a timeline.
The vis.js library was initialy developed by [Almende B.V](http://almende.com).
## Badges
[![NPM](https://nodei.co/npm/vis.png?downloads=true&downloadRank=true)](https://nodei.co/npm/vis/)
[![Dependency Status](https://david-dm.org/almende/vis/status.svg)](https://david-dm.org/almende/vis)
[![devDependency Status](https://david-dm.org/almende/vis/dev-status.svg)](https://david-dm.org/almende/vis?type=dev)
[![last version on CDNJS](https://img.shields.io/cdnjs/v/vis.svg)](https://cdnjs.com/libraries/vis)
[![GitHub contributors](https://img.shields.io/github/contributors/almende/vis.svg)](https://github.com/almende/vis/graphs/contributors)
[![GitHub stars](https://img.shields.io/github/stars/almende/vis.svg)](https://github.com/almende/vis/stargazers)
[![GitHub issues](https://img.shields.io/github/issues/almende/vis.svg)](https://github.com/almende/vis/issues)
[![Pending Pull-Requests](http://githubbadges.herokuapp.com/almende/vis/pulls.svg)](https://github.com/almende/vis/pulls)
The vis.js library is developed by [Almende B.V](http://almende.com).
[![Code Climate](https://codeclimate.com/github/almende/vis/badges/gpa.svg)](https://codeclimate.com/github/almende/vis)
## Install

BIN
dist/img/network/acceptDeleteIcon.png View File

Before After
Width: 24  |  Height: 24  |  Size: 20 KiB

BIN
dist/img/network/addNodeIcon.png View File

Before After
Width: 24  |  Height: 24  |  Size: 20 KiB

BIN
dist/img/network/backIcon.png View File

Before After
Width: 24  |  Height: 24  |  Size: 20 KiB

BIN
dist/img/network/connectIcon.png View File

Before After
Width: 24  |  Height: 24  |  Size: 20 KiB

BIN
dist/img/network/cross.png View File

Before After
Width: 7  |  Height: 7  |  Size: 18 KiB

BIN
dist/img/network/cross2.png View File

Before After
Width: 5  |  Height: 5  |  Size: 17 KiB

BIN
dist/img/network/deleteIcon.png View File

Before After
Width: 24  |  Height: 24  |  Size: 20 KiB

BIN
dist/img/network/downArrow.png View File

Before After
Width: 30  |  Height: 30  |  Size: 4.4 KiB

BIN
dist/img/network/editIcon.png View File

Before After
Width: 24  |  Height: 24  |  Size: 20 KiB

BIN
dist/img/network/leftArrow.png View File

Before After
Width: 30  |  Height: 30  |  Size: 4.4 KiB

BIN
dist/img/network/minus.png View File

Before After
Width: 30  |  Height: 30  |  Size: 4.0 KiB

BIN
dist/img/network/plus.png View File

Before After
Width: 30  |  Height: 30  |  Size: 4.2 KiB

BIN
dist/img/network/rightArrow.png View File

Before After
Width: 30  |  Height: 30  |  Size: 4.4 KiB

BIN
dist/img/network/upArrow.png View File

Before After
Width: 30  |  Height: 30  |  Size: 4.4 KiB

BIN
dist/img/network/zoomExtends.png View File

Before After
Width: 30  |  Height: 30  |  Size: 4.4 KiB

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


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


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


+ 0
- 1
dist/vis-timeline-graph2d.min.css
File diff suppressed because it is too large
View File


+ 0
- 39
dist/vis-timeline-graph2d.min.js
File diff suppressed because it is too large
View File


+ 0
- 1389
dist/vis.css
File diff suppressed because it is too large
View File


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


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


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


+ 1
- 1
gulpfile.js View File

@ -75,7 +75,7 @@ var webpackConfig = {
cache: true,
// generate details sourcempas of webpack modules
//devtool: 'source-map'
devtool: 'source-map'
//debug: true,
//bail: true

+ 1
- 1
lib/util.js View File

@ -409,7 +409,7 @@ exports.convert = function (object, type) {
case 'number':
case 'Number':
if (exports.isString(object) && !isNaN(Date.parse(object))) {
if (!isNaN(Date.parse(object))) {
return moment(object).valueOf();
} else {
return Number(object.valueOf());

+ 0
- 1
misc/we_need_help.md View File

@ -13,4 +13,3 @@ If you have shown some commitment to the project you can ask [@ludost](//github.
* [@ludost](//github.com/ludost) (almende maintainer)
* [@mojoaxel](//github.com/mojoaxel)
* [@yotamberk](//github.com/yotamberk)
* [@Tooa](//github.com/Tooa)

Loading…
Cancel
Save