Browse Source

Released version 0.3.0

css_transitions
josdejong 11 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 http://visjs.org
## <not yet released>, version 0.3.0
## 2014-01-14, version 0.3.0
- Moved the generated library to folder `./dist` - Moved the generated library to folder `./dist`
- Css stylesheet must be loaded explicitly now. - 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 ## 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 ```html
<!DOCTYPE HTML> <!DOCTYPE HTML>
<html> <html>
<head> <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> </head>
<body> <body>
<script type="text/javascript"> <script type="text/javascript">
@ -50,7 +51,7 @@ To use a component, include the javascript file of vis in your web page:
</html> </html>
``` ```
or load vis.js using require.js:
or load vis.js using require.js. Note that vis.css must be loaded too.
```js ```js
require.config({ require.config({
@ -86,7 +87,8 @@ of the project.
<html> <html>
<head> <head>
<title>Timeline basic demo</title> <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"> <style type="text/css">
body, html { body, html {
@ -139,6 +141,17 @@ Then, the project can be build running:
npm run build npm run build
## Test
To test teh library, install the project dependencies once:
npm install
Then run the tests:
npm test
## License ## License
Copyright (C) 2010-2013 Almende B.V. Copyright (C) 2010-2013 Almende B.V.

+ 1
- 1
bower.json View File

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

+ 1
- 1
package.json View File

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

Loading…
Cancel
Save