Skip to content
Open
Show file tree
Hide file tree
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
Binary file modified .DS_Store
Binary file not shown.
1 change: 0 additions & 1 deletion Frogger/README.md

This file was deleted.

2 changes: 2 additions & 0 deletions Koans/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.swp
.idea
12 changes: 12 additions & 0 deletions Koans/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Update
======

JavaScript Koans is an interactive learning environment that uses failing tests to introduce students to aspects of JavaScript in a logical sequence.

The inspiration for this project comes from the Edgecase Ruby Koans and the book 'Javascript: The Good Parts'.

Open the file jskoans.htm in your favourite browser and make the tests pass.

The koans use the [Qunit](http://qunitjs.com/) test syntax and test runner.

Get started with Ryan Anklam's [Learn JavaScript completely On the Cloud With the JavaScript Koans and Cloud9 IDE](http://blog.bittersweetryan.com/2011/08/learn-some-javascript-completely-on.html)
40 changes: 40 additions & 0 deletions Koans/jskoans.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="support/jquery-1.4.1.js"></script>
<link rel="stylesheet" href="support/qunit.css" type="text/css" media="screen" />
<script type="text/javascript" src="support/qunit.js"></script>

<!-- This will silently fail when not running in a testem environment. Safe to ignore. -->
<script type="text/javascript" src="testem.js"></script>

<script type="text/javascript" src="support/koans.js"></script>
<script type="text/javascript" src="topics/about_asserts.js"></script>
<script type="text/javascript" src="topics/about_operators.js"></script>
<script type="text/javascript" src="topics/about_equality.js"></script>
<script type="text/javascript" src="topics/about_truthyness.js"></script>
<script type="text/javascript" src="topics/about_assignment.js"></script>
<script type="text/javascript" src="topics/about_control_structures.js"></script>
<script type="text/javascript" src="topics/about_strings.js"></script>
<script type="text/javascript" src="topics/about_numbers.js"></script>
<script type="text/javascript" src="topics/about_objects.js"></script>
<script type="text/javascript" src="topics/about_arrays.js"></script>
<script type="text/javascript" src="topics/about_reflection.js"></script>
<script type="text/javascript" src="topics/about_prototype_chain.js"></script>
<script type="text/javascript" src="topics/about_prototypal_inheritance.js"></script>
<script type="text/javascript" src="topics/about_functions_and_closure.js"></script>
<script type="text/javascript" src="topics/about_this.js"></script>
<script type="text/javascript" src="topics/about_scope.js"></script>
<script type="text/javascript" src="topics/about_regular_expressions.js"></script>
</head>
<body>
<h1 id="qunit-header">JavaScript Koans</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
<h3 class="welcome_message">To begin, find the file 'topics/about_asserts.js', and complete the tests.</h3>
<h3 id="zen-help" style="display: none;"></h3>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture">test markup, will be hidden</div>
</body>
</html>
33 changes: 33 additions & 0 deletions Koans/jskoansbasics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="support/jquery-1.4.1.js"></script>
<link rel="stylesheet" href="support/qunit.css" type="text/css" media="screen" />
<script type="text/javascript" src="support/qunit.js"></script>

<!-- This will silently fail when not running in a testem environment. Safe to ignore. -->
<script type="text/javascript" src="testem.js"></script>

<script type="text/javascript" src="support/koans.js"></script>
<script type="text/javascript" src="topics/about_asserts.js"></script>
<script type="text/javascript" src="topics/about_operators.js"></script>
<script type="text/javascript" src="topics/about_equality.js"></script>
<script type="text/javascript" src="topics/about_truthyness.js"></script>
<script type="text/javascript" src="topics/about_assignment.js"></script>
<script type="text/javascript" src="topics/about_control_structures.js"></script>
<script type="text/javascript" src="topics/about_strings.js"></script>
<script type="text/javascript" src="topics/about_numbers.js"></script>
<script type="text/javascript" src="topics/about_objects.js"></script>
<script type="text/javascript" src="topics/about_arrays.js"></script>
</head>
<body>
<h1 id="qunit-header">JavaScript Koans</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
<h3 class="welcome_message">To begin, find the file 'topics/about_asserts.js', and complete the tests.</h3>
<h3 id="zen-help" style="display: none;"></h3>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture">test markup, will be hidden</div>
</body>
</html>
21 changes: 21 additions & 0 deletions Koans/license.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2013 Liam McLennan

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