Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ Development setup
3. Run `npm install` to install the dependencies and build the project
4. Edit the code
5. Run `npm run-script release` to (re-)build all necessary files into the deploy directory
6. Run `serve deploy/` to run the server locally, by installing serve by using `npm install serve -g`.

Visit [http://localhost:3000](http://localhost:3000) to use WebVOWL.

### Advanced ###
Instead of the last step of the simple setup, install the npm package `grunt-cli` globally with
Expand Down
2 changes: 1 addition & 1 deletion src/webvowl/js/elements/properties/BaseProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ module.exports = (function (){
if ( that.cardinality() ) {
return that.cardinality();
} else if ( that.minCardinality() || that.maxCardinality() ) {
var minBoundary = that.minCardinality() || "*";
var minBoundary = that.minCardinality() || "0";
var maxBoundary = that.maxCardinality() || "*";
return minBoundary + ".." + maxBoundary;
}
Expand Down