mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-15 18:24:33 +01:00
Merge branch 'master' into 2017-05-cli-output
This commit is contained in:
@@ -6,14 +6,17 @@ addons:
|
|||||||
repo_token: e87e6bf1c253e0555437ebd23235fdfe2749b889358e7c6d100e4ea5b4f2e091
|
repo_token: e87e6bf1c253e0555437ebd23235fdfe2749b889358e7c6d100e4ea5b4f2e091
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "6"
|
|
||||||
- "7"
|
- "7"
|
||||||
before_install:
|
before_install:
|
||||||
- export DISPLAY=:99.0
|
- export DISPLAY=:99.0
|
||||||
- sh -e /etc/init.d/xvfb start
|
- sh -e /etc/init.d/xvfb start &
|
||||||
|
- sleep 3
|
||||||
before_script:
|
before_script:
|
||||||
- yarn build
|
- yarn build
|
||||||
script:
|
script:
|
||||||
- yarn test
|
- yarn test
|
||||||
after_script:
|
after_script:
|
||||||
- cat coverage/lcov.info | codeclimate
|
- cat coverage/lcov.info | codeclimate
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- node_modules
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ Activations can be stacked for same actor:
|
|||||||
```
|
```
|
||||||
sequenceDiagram
|
sequenceDiagram
|
||||||
Alice->>+John: Hello John, how are you?
|
Alice->>+John: Hello John, how are you?
|
||||||
Alice->>+John: John, can yoy hear me?
|
Alice->>+John: John, can you hear me?
|
||||||
John-->>-Alice: Hi Alice, I can hear you!
|
John-->>-Alice: Hi Alice, I can hear you!
|
||||||
John-->>-Alice: I feel great!
|
John-->>-Alice: I feel great!
|
||||||
```
|
```
|
||||||
@@ -113,7 +113,7 @@ Stacked activations look like this:
|
|||||||
```mermaid
|
```mermaid
|
||||||
sequenceDiagram
|
sequenceDiagram
|
||||||
Alice->>+John: Hello John, how are you?
|
Alice->>+John: Hello John, how are you?
|
||||||
Alice->>+John: John, can yoy hear me?
|
Alice->>+John: John, can you hear me?
|
||||||
John-->>-Alice: Hi Alice, I can hear you!
|
John-->>-Alice: Hi Alice, I can hear you!
|
||||||
John-->>-Alice: I feel great!
|
John-->>-Alice: I feel great!
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -74,7 +74,8 @@ module.exports = function (config) {
|
|||||||
ChromeHeadless: {
|
ChromeHeadless: {
|
||||||
base: 'Chrome',
|
base: 'Chrome',
|
||||||
flags: [
|
flags: [
|
||||||
'--headless',
|
'--incognito',
|
||||||
|
// '--headless',
|
||||||
'--disable-gpu',
|
'--disable-gpu',
|
||||||
'--no-sandbox',
|
'--no-sandbox',
|
||||||
// Without a remote debugging port, Google Chrome exits immediately.
|
// Without a remote debugging port, Google Chrome exits immediately.
|
||||||
|
|||||||
26
package.json
26
package.json
@@ -23,7 +23,7 @@
|
|||||||
"lint": "node_modules/.bin/standard",
|
"lint": "node_modules/.bin/standard",
|
||||||
"karma": "node node_modules/karma/bin/karma start karma.conf.js --single-run",
|
"karma": "node node_modules/karma/bin/karma start karma.conf.js --single-run",
|
||||||
"tape": "node node_modules/tape/bin/tape test/cli_test-*.js",
|
"tape": "node node_modules/tape/bin/tape test/cli_test-*.js",
|
||||||
"test": "yarn run tape && yarn run karma",
|
"test": "yarn tape && yarn karma",
|
||||||
"live": "live-server ./test/examples",
|
"live": "live-server ./test/examples",
|
||||||
"jison": "gulp jison_legacy",
|
"jison": "gulp jison_legacy",
|
||||||
"live_server": "gulp live-server",
|
"live_server": "gulp live-server",
|
||||||
@@ -59,14 +59,14 @@
|
|||||||
"which": "^1.2.14"
|
"which": "^1.2.14"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"async": "^2.3.0",
|
"async": "^2.4.1",
|
||||||
"babel-core": "^6.24.1",
|
"babel-core": "^6.24.1",
|
||||||
"babel-loader": "^7.0.0",
|
"babel-loader": "^7.0.0",
|
||||||
"babel-plugin-transform-remove-strict-mode": "^0.0.2",
|
"babel-plugin-transform-remove-strict-mode": "^0.0.2",
|
||||||
"babel-preset-env": "^1.4.0",
|
"babel-preset-env": "^1.5.1",
|
||||||
"clone": "^2.1.1",
|
"clone": "^2.1.1",
|
||||||
"codeclimate-test-reporter": "0.4.1",
|
"codeclimate-test-reporter": "0.4.1",
|
||||||
"css-loader": "^0.28.0",
|
"css-loader": "^0.28.4",
|
||||||
"dox": "^0.9.0",
|
"dox": "^0.9.0",
|
||||||
"event-stream": "^3.3.4",
|
"event-stream": "^3.3.4",
|
||||||
"extract-text-webpack-plugin": "^2.1.0",
|
"extract-text-webpack-plugin": "^2.1.0",
|
||||||
@@ -99,28 +99,28 @@
|
|||||||
"gulp-vartree": "^2.0.1",
|
"gulp-vartree": "^2.0.1",
|
||||||
"hogan.js": "^3.0.2",
|
"hogan.js": "^3.0.2",
|
||||||
"inject-loader": "^3.0.0",
|
"inject-loader": "^3.0.0",
|
||||||
"jasmine": "2.5.3",
|
"jasmine": "2.6.0",
|
||||||
"jasmine-es6": "0.4.0",
|
"jasmine-es6": "0.4.0",
|
||||||
"jison": "^0.4.17",
|
"jison": "^0.4.17",
|
||||||
"jsdom": "^9.12.0",
|
"jsdom": "^11.0.0",
|
||||||
"karma": "^1.6.0",
|
"karma": "^1.7.0",
|
||||||
"karma-chrome-launcher": "^2.0.0",
|
"karma-chrome-launcher": "^2.1.1",
|
||||||
"karma-jasmine": "^1.1.0",
|
"karma-jasmine": "^1.1.0",
|
||||||
"karma-webpack": "^2.0.3",
|
"karma-webpack": "^2.0.3",
|
||||||
"less": "^2.7.2",
|
"less": "^2.7.2",
|
||||||
"less-loader": "^4.0.3",
|
"less-loader": "^4.0.4",
|
||||||
"live-server": "^1.2.0",
|
"live-server": "^1.2.0",
|
||||||
"map-stream": "0.0.7",
|
"map-stream": "0.0.7",
|
||||||
"marked": "^0.3.6",
|
"marked": "^0.3.6",
|
||||||
"mock-browser": "^0.92.14",
|
"mock-browser": "^0.92.14",
|
||||||
"npm-check-updates": "^2.11.0",
|
"npm-check-updates": "^2.11.2",
|
||||||
"phantomjs-prebuilt": "^2.1.14",
|
"phantomjs-prebuilt": "^2.1.14",
|
||||||
"require-dir": "^0.3.1",
|
"require-dir": "^0.3.1",
|
||||||
"rimraf": "^2.6.1",
|
"rimraf": "^2.6.1",
|
||||||
"standard": "^10.0.2",
|
"standard": "^10.0.2",
|
||||||
"style-loader": "^0.16.1",
|
"style-loader": "^0.18.1",
|
||||||
"tape": "^4.6.3",
|
"tape": "^4.6.3",
|
||||||
"webpack": "^2.4.1",
|
"webpack": "^2.6.1",
|
||||||
"webpack-node-externals": "^1.5.4"
|
"webpack-node-externals": "^1.6.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
|
||||||
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
|
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
|
||||||
<!-- Latest compiled and minified JavaScript -->
|
<!-- Latest compiled and minified JavaScript -->
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.5/angular.min.js"></script>
|
||||||
<script src="nav.js"></script>
|
<script src="nav.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body style="height:1000px" ng-app="navApp">
|
<body style="height:1000px" ng-app="navApp">
|
||||||
|
|||||||
2
todo.md
2
todo.md
@@ -10,9 +10,9 @@
|
|||||||
- babel-plugin-transform-remove-strict-mode
|
- babel-plugin-transform-remove-strict-mode
|
||||||
- need to remove it after upgrading to d3 v4
|
- need to remove it after upgrading to d3 v4
|
||||||
- rewrite live editor
|
- rewrite live editor
|
||||||
- Fix Travis CI
|
|
||||||
- Fix CodeClimate
|
- Fix CodeClimate
|
||||||
- What is live-server ?
|
- What is live-server ?
|
||||||
- Get familar with jison
|
- Get familar with jison
|
||||||
- How to generate doc?
|
- How to generate doc?
|
||||||
- webpack warning: lodash too big
|
- webpack warning: lodash too big
|
||||||
|
- add converalls
|
||||||
|
|||||||
Reference in New Issue
Block a user