Mocha HTML: syntax highlighting update
This commit is contained in:
parent
52e2211625
commit
58666554d1
|
|
@ -6,6 +6,7 @@ layout: default
|
||||||
Model
|
Model
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
# or Bookshelf.Mode.extend({..})
|
||||||
class Book extends Bookshelf.Model
|
class Book extends Bookshelf.Model
|
||||||
tableName: 'books'
|
tableName: 'books'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,21 +4,23 @@ title: Mocha HTML
|
||||||
|
|
||||||
This is a mocha template that loads js/css from cdn.
|
This is a mocha template that loads js/css from cdn.
|
||||||
|
|
||||||
<!doctype html>
|
```html
|
||||||
<html>
|
<!doctype html>
|
||||||
<head>
|
<html>
|
||||||
<title>Mocha</title>
|
<head>
|
||||||
<meta charset="utf-8">
|
<title>Mocha</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta charset="utf-8">
|
||||||
<link href="https://cdn.rawgit.com/visionmedia/mocha/2.2.4/mocha.css" rel="stylesheet" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
<link href="https://cdn.rawgit.com/visionmedia/mocha/2.2.4/mocha.css" rel="stylesheet" />
|
||||||
<body>
|
</head>
|
||||||
<div id="mocha"></div>
|
<body>
|
||||||
<script src="https://cdn.rawgit.com/visionmedia/mocha/2.2.4/mocha.js"></script>
|
<div id="mocha"></div>
|
||||||
<script src="https://cdn.rawgit.com/chaijs/chai/2.3.0/chai.js"></script>
|
<script src="https://cdn.rawgit.com/visionmedia/mocha/2.2.4/mocha.js"></script>
|
||||||
<script src="../index.js"></script>
|
<script src="https://cdn.rawgit.com/chaijs/chai/2.3.0/chai.js"></script>
|
||||||
<script>mocha.setup('bdd')</script
|
<script src="../index.js"></script>
|
||||||
<script src="tests.js"></script>
|
<script>mocha.setup('bdd')</script
|
||||||
<script>mocha.run()</script>
|
<script src="tests.js"></script>
|
||||||
</body>
|
<script>mocha.run()</script>
|
||||||
</html>
|
</body>
|
||||||
|
</html>
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue