Skip to content

Commit 633a506

Browse files
committed
remove python and es2015 tutorial as of breaking change
1 parent 74ffd33 commit 633a506

File tree

3 files changed

+4
-16
lines changed

3 files changed

+4
-16
lines changed

Diff for: _posts/landing/2016-01-01-summary.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@ languages:
44
- Javascript:
55
name: JS
66
icon: javascript-plain.svg
7-
- Python:
8-
name: Python
9-
icon: python-original.svg
107
categories:
118
- summary
129
---
1310

14-
CodeRoad is a coding education platform aimed at creating interactive coding lessons. CodeRoad makes it easy to create, share, edit, and publish video-game-like tutorials that run alongside your code in the editor. It currently works with Javascript & Python, with more languages to come.
11+
CodeRoad is a coding education platform aimed at creating interactive coding lessons. CodeRoad makes it easy to create, share, edit, and publish video-game-like tutorials that run alongside your code in the editor. It currently works with Javascript, with more languages to come.

Diff for: _posts/tutorial-docs/2016-01-06-test-examples.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ it('should be {a: 42}', () => {
6161
```js
6262
it('should include the variable "count"', () => {
6363
const regex = new RegExp('count');
64-
const string = target.toString();
64+
// __text__ is an added property that provides the text version of the file
65+
const string = target.__text__;
6566
expect(string).to.match(regex);
6667
});
6768
```
@@ -70,7 +71,7 @@ it('should include the variable "count"', () => {
7071
it('should access the property "prop"', () => {
7172
const regex1 = /\.prop/; // dot notation
7273
const regex2 = /\[["']prop["']\]/; // bracket notation
73-
const string = target.toString();
74+
const string = target.__text__;
7475
const result = !!string.match(regex1) || !!string.match(regex2);
7576
expect(result).to.be.true;
7677
});

Diff for: _posts/tutorials/2016-01-02-es2015.md

-10
This file was deleted.

0 commit comments

Comments
 (0)