Browse Source

Released version 0.3.0

css_transitions
josdejong 10 years ago
parent
commit
9e93580ddd
4 changed files with 20 additions and 7 deletions
  1. +1
    -1
      HISTORY.md
  2. +17
    -4
      README.md
  3. +1
    -1
      bower.json
  4. +1
    -1
      package.json

+ 1
- 1
HISTORY.md View File

@ -2,7 +2,7 @@ vis.js history
http://visjs.org
## <not yet released>, version 0.3.0
## 2014-01-14, version 0.3.0
- Moved the generated library to folder `./dist`
- Css stylesheet must be loaded explicitly now.

+ 17
- 4
README.md View File

@ -34,13 +34,14 @@ Or download the library from the github project:
## Load
To use a component, include the javascript file of vis in your web page:
To use a component, include the javascript and css files of vis in your web page:
```html
<!DOCTYPE HTML>
<html>
<head>
<script src="components/vis/vis.js"></script>
<script src="components/vis/dist/vis.js"></script>
<link href="components/vis/dist/vis.css" rel="stylesheet" type="text/css" />
</head>
<body>
<script type="text/javascript">
@ -50,7 +51,7 @@ To use a component, include the javascript file of vis in your web page:
</html>
```
or load vis.js using require.js:
or load vis.js using require.js. Note that vis.css must be loaded too.
```js
require.config({
@ -86,7 +87,8 @@ of the project.
<html>
<head>
<title>Timeline basic demo</title>
<script src="components/vis/vis.js"></script>
<script src="components/vis/dist/vis.js"></script>
<link href="components/vis/dist/vis.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body, html {
@ -139,6 +141,17 @@ Then, the project can be build running:
npm run build
## Test
To test teh library, install the project dependencies once:
npm install
Then run the tests:
npm test
## License
Copyright (C) 2010-2013 Almende B.V.

+ 1
- 1
bower.json View File

@ -1,6 +1,6 @@
{
"name": "vis",
"version": "0.3.0-SNAPSHOT",
"version": "0.3.0",
"description": "A dynamic, browser-based visualization library.",
"homepage": "http://visjs.org/",
"repository": {

+ 1
- 1
package.json View File

@ -1,6 +1,6 @@
{
"name": "vis",
"version": "0.3.0-SNAPSHOT",
"version": "0.3.0",
"description": "A dynamic, browser-based visualization library.",
"homepage": "http://visjs.org/",
"repository": {

Loading…
Cancel
Save