Skip to content

Fix Swift and JavaScript code imports. #208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 3, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions chapters/monte_carlo/monte_carlo.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ each point is tested to see whether it's in the circle or not:
{% sample lang="c" %}
[import:7-9, lang:"c_cpp"](code/c/monte_carlo.c)
{% sample lang="js" %}
[import:2-6, lang:"js"](code/js/monte_carlo.js)
[import:2-6, lang:"javascript"](code/js/monte_carlo.js)
{% sample lang="hs" %}
[import:7-7, lang:"haskell"](code/haskell/monteCarlo.hs)
{% sample lang="rs" %}
Expand Down Expand Up @@ -99,7 +99,7 @@ Feel free to submit your version via pull request, and thanks for reading!
[import, lang:"c_cpp"](code/c/monte_carlo.c)
{% sample lang="js" %}
### Javascript
[import, lang:"js"](code/js/monte_carlo.js)
[import, lang:"javascript"](code/js/monte_carlo.js)
{% sample lang="hs" %}
### Haskell
[import, lang:"haskell"](code/haskell/monteCarlo.hs)
Expand All @@ -117,7 +117,7 @@ Feel free to submit your version via pull request, and thanks for reading!
[import, lang:"java"](code/java/MonteCarlo.java)
{% sample lang="swift" %}
### Swift
[import, lang:"swift"](code/java/monte_carlo.swift)
[import, lang:"swift"](code/swift/monte_carlo.swift)
{% endmethod %}


Expand Down