Skip to content

Commit 3d3dcc1

Browse files
Merge pull request #187 from nandikajain/bugFixes_177
Resolved Issue of Displaying Cardinality in WebVOWL
2 parents 59009ed + 2880a11 commit 3d3dcc1

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ Development setup
3030
3. Run `npm install` to install the dependencies and build the project
3131
4. Edit the code
3232
5. Run `npm run-script release` to (re-)build all necessary files into the deploy directory
33+
6. Run `serve deploy/` to run the server locally, by installing serve by using `npm install serve -g`.
34+
35+
Visit [http://localhost:3000](http://localhost:3000) to use WebVOWL.
3336

3437
### Advanced ###
3538
Instead of the last step of the simple setup, install the npm package `grunt-cli` globally with

src/webvowl/js/elements/properties/BaseProperty.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ module.exports = (function (){
386386
if ( that.cardinality() ) {
387387
return that.cardinality();
388388
} else if ( that.minCardinality() || that.maxCardinality() ) {
389-
var minBoundary = that.minCardinality() || "*";
389+
var minBoundary = that.minCardinality() || "0";
390390
var maxBoundary = that.maxCardinality() || "*";
391391
return minBoundary + ".." + maxBoundary;
392392
}

0 commit comments

Comments
 (0)