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