Skip to content

Commit b87ffa3

Browse files
committed
add solution and specs
0 parents  commit b87ffa3

File tree

13 files changed

+15591
-0
lines changed

13 files changed

+15591
-0
lines changed

LICENSE

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Copyright (c) 2015 Mike Luby
2+
3+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
4+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
5+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
7+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
8+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
9+
SOFTWARE.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# TODO
2+
3+
- set Array.prototype.contains to be non-iterable
4+
- write readme

index.html

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Algorithms Meetup Test Suite [Mocha]</title>
5+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6+
<link rel="stylesheet" href="lib/css/mocha.css" />
7+
<script src="lib/jquery.js"></script>
8+
<script src="lib/picomodal.js"></script>
9+
<script src="lib/expect.js"></script>
10+
<script src="lib/mocha.js"></script>
11+
<script src="lib/sinon.js"></script>
12+
<script src="lib/chai.js"></script>
13+
14+
<script>
15+
// Tell mocha to use bdd-style expects
16+
mocha.setup('bdd');
17+
</script>
18+
19+
<!-- Load tests and helpers here -->
20+
<script src="src/recommendationEngine.js"></script>
21+
<script src="lib/spec.js"></script>
22+
23+
<script>
24+
// Mocha expects a global onload var here and automagically executes it on pageload
25+
onload = function(){
26+
var runner = mocha.run();
27+
runner.on('end', function() {
28+
if(!this.failures){
29+
// window.tweetit();
30+
}
31+
});
32+
};
33+
</script>
34+
</head>
35+
<body>
36+
<div id="mocha"></div>
37+
</body>
38+
</html>

0 commit comments

Comments
 (0)