Nico Rehwaldt
9be61259bd
chore(project): drop 'use strict'
...
We use ES modules, so 'use strict' is not necessary anymore.
2018-04-03 18:09:53 +02:00
Nico Rehwaldt
d3449ca87c
chore(project): es6ify source code
...
* use ES6 import / export
* UTILS: export individual utilities
* TESTS: localize TestHelper includes
BREAKING CHANGE:
* all utilities export independent functions
* library sources got ported to ES6. You must now use
a ES module bundler such as Browserify + babelify or
Webpack to consume this library (or parts of it).
2018-04-03 16:32:14 +02:00
Nico Rehwaldt
e4dbc422bf
chore(project): migrate to tiny-svg@1.x
2018-03-28 10:49:55 +02:00
Nico Rehwaldt
e8e5e2ced9
chore(project): update to min-dom@2
2018-03-22 00:54:59 +01:00
Nico Rehwaldt
37a06a378d
chore(tests): use absolute lib requires
2018-01-24 11:41:21 +01:00
Nico Rehwaldt
6b5277b936
chore(draw): render connections without source
...
This allows us to renders temporary connections,
i.e. during create / connect.
2017-12-22 10:30:44 +01:00
Nico Rehwaldt
408dd5383a
chore(tests): localize test file
2017-12-13 13:25:51 +01:00
Nico Rehwaldt
7ffb865023
chore(project): consistent async error handling
...
Async utilities properly propagate _all_ errors to the
specified _done_ callback. Failing in _done_ does not
re-invoke it.
Adjustments made in
* Viewer#importXML
* Viewer#saveSVG
* Importer#importBpmnDiagram
Tests cleaned up to remove un-necessary `if (err) { ...` snippets.
2017-12-09 22:31:15 +01:00
felixlinker
0cb46183eb
chore(draw/BpmnRenderer): exposed _drawPath helper
...
This allows extensions to reuse the internal drawPath utility.
Cf. #722 for context.
2017-11-13 09:56:02 +01:00
Philipp Fromme
9033094473
fix(renderer): prevent duplicate marker IDs
...
* when having more than one instance of bpmn-js on a page marker IDs got duplicated
2017-09-29 11:08:37 +02:00
Nico Rehwaldt
27d65a6503
fix(draw): do not create multiple markers per (type-stoke-fill)
2016-12-20 16:57:09 +01:00
Philipp Fromme
e35248c5fd
test(draw): add skipped test for color rendering
2016-12-05 16:55:36 +01:00
Nico Rehwaldt
404c35c97f
fix(BpmnRenderer): revert text annotations automatic content fitting
...
This reverts commit a53562e1d5
.
Closes #635
2016-12-01 13:27:30 +01:00
pedesen
42a40494a7
fix(BpmnRenderer): draw instantiated receive task properly
...
* fix drawCircle parameter issue
* make BpmnRenderer test cases more restrictive
* revise inconsistent fixture diagrams to avoid warnings
Closes #627
2016-11-09 10:59:58 +01:00
pedesen
a53562e1d5
feat(BpmnRenderer): text annotations automatically fit their content
...
Closes #600
2016-11-09 08:23:34 +01:00
Philipp Fromme
db0ce65aa4
feat(graphics): remove snapsvg
...
Related to bpmn-io/diagram-js#50
2016-11-01 15:20:22 +01:00
Nico Rehwaldt
0ba239bbce
chore(project): switch to eslint
...
Use eslint instead of jshint for linting.
* better linting results
* test files linted, too
* consistent code style checks
Closes #568
2016-06-07 09:55:32 +02:00
Nico Rehwaldt
2e4b97d4ce
feat(draw): render association start/end markers
...
Closes #454
2016-01-25 16:02:52 +01:00
hoferch
35564d1bea
fix(draw): add plus sign (+) to call activities
...
Closes #403
2016-01-04 15:11:38 +01:00
Nico Rehwaldt
04d8ef8a18
test(draw): nest path tests
2015-10-20 15:47:12 +02:00
Ricardo Matias
31f0ea1ec0
feat(modeling): add support for custom elements
...
This commit adds part of the infrastructure that allows
the coexistence between bpmn elements and custom ones.
Closes #348
2015-09-03 09:57:30 +02:00
pedesen
c3e4ad3e40
test(project): replace jasmine with mocha
...
Closes #204
2015-07-15 17:42:37 +02:00
Ricardo Matias
6011de1c4a
fix(resize): correctly compute cropping box after resize
...
closes #236
2015-04-22 09:20:07 +02:00
Nico Rehwaldt
e6885eaebc
test(project): replace brfs with stringify
...
This _could_ fix the various bundle building issues we are seeing on
travis-ci and locally.
Closes #234
2015-03-31 14:22:53 +02:00
jdotzki
18c2b0552e
feat(contextpad): add replace-menu to context pad
...
Support for Gateways and Task Types was added.
See #130
2015-03-02 13:43:06 +01:00
jdotzki
7e345a348e
test(importer): attribute default value
...
Make sure 'eventGatewayType' get default value if undefined.
2014-08-18 12:38:41 +02:00
Nico Rehwaldt
911e991bc8
chore(tests): instantiate modeler only when neccessary
...
This commit replaces the test helper #bootstrapBpmnJS with either
This ensures we can have different Modeler/Viewer specific bootstrap
code being called based on whether we test modeling or viewing only
features.
2014-08-05 08:17:22 +02:00
Nico Rehwaldt
826d798f19
chore(tests): remove unused node test folders
...
This commit cleans up reminders of the node-js test suite removal
by removing the test/node folder.
The test structure has been aligned by moving all tests from
* test/spec/browser to test/spec
* test/spec/integration to test/integration
2014-08-01 07:20:15 +02:00