Skip to content

Commit

Permalink
Add live editor
Browse files Browse the repository at this point in the history
Issue #110
  • Loading branch information
naseer committed Feb 9, 2015
1 parent 12602a5 commit a6dd8a6
Show file tree
Hide file tree
Showing 297 changed files with 200,191 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
ignored
.idea
.idea
.DS_Store
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ sequenceDiagram
</tr>
</table>

Play with mermaid using this [editor](http://danielmschmidt.github.io/mermaid-demo/). You can also look at mermaid in action using [jsbin](http://jsbin.com/faxunexeku/1/edit?html,output).
Play with mermaid using this [editor](http://danielmschmidt.github.io/mermaid-demo/) or this [live editor](live_editor). You can also look at mermaid in action using [jsbin](http://jsbin.com/faxunexeku/1/edit?html,output).

## Further reading

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ <h1 id="mermaid">mermaid</h1>
</tr>
</table>

<p>Play with mermaid using this <a href="http://danielmschmidt.github.io/mermaid-demo/">editor</a>. You can also look at mermaid in action using <a href="http://jsbin.com/faxunexeku/1/edit?html,output">jsbin</a>.</p>
<p>Play with mermaid using this <a href="http://danielmschmidt.github.io/mermaid-demo/">editor</a> or this <a href="live_editor">live editor</a>. You can also look at mermaid in action using <a href="http://jsbin.com/faxunexeku/1/edit?html,output">jsbin</a>.</p>
<h2 id="further-reading">Further reading</h2>
<ul>
<li><a href="http://knsv.github.io/mermaid/usage.html">Usage</a></li>
Expand Down
19 changes: 19 additions & 0 deletions live_editor/bower_components/angular-mocks/.bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "angular-mocks",
"version": "1.2.28",
"main": "./angular-mocks.js",
"ignore": [],
"dependencies": {
"angular": "1.2.28"
},
"homepage": "https://github.com/angular/bower-angular-mocks",
"_release": "1.2.28",
"_resolution": {
"type": "version",
"tag": "v1.2.28",
"commit": "6bb9b6fd3fdb2eba0f64dc615fa55c5f0050af75"
},
"_source": "git://github.com/angular/bower-angular-mocks.git",
"_target": "~1.2.0",
"_originalSource": "angular-mocks"
}
57 changes: 57 additions & 0 deletions live_editor/bower_components/angular-mocks/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# packaged angular-mocks

This repo is for distribution on `npm` and `bower`. The source for this module is in the
[main AngularJS repo](https://github.com/angular/angular.js/tree/master/src/ngMock).
Please file issues and pull requests against that repo.

## Install

You can install this package either with `npm` or with `bower`.

### npm

```shell
npm install angular-mocks
```

The mocks are then available at `node_modules/angular-mocks/angular-mocks.js`.

Note that this package is not in CommonJS format, so doing `require('angular-mocks')` will
return `undefined`.

### bower

```shell
bower install angular-mocks
```

The mocks are then available at `bower_components/angular-mocks/angular-mocks.js`.

## Documentation

Documentation is available on the
[AngularJS docs site](https://docs.angularjs.org/guide/unit-testing).

## License

The MIT License

Copyright (c) 2010-2012 Google, Inc. http://angularjs.org

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Loading

0 comments on commit a6dd8a6

Please sign in to comment.