Skip to content

Commit

Permalink
added front end for clients to add .md files #70
Browse files Browse the repository at this point in the history
  • Loading branch information
Conorc1000 committed Dec 3, 2015
1 parent b6ef8e5 commit 15aca58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 0 additions & 2 deletions public/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@
<input type="button" id="submit" value="submit">
</form>
</body>

<script type="text/javascript" src="editor.js"></script>

</html>
7 changes: 2 additions & 5 deletions public/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
assert.ok(submit, "button exists");
});



test('do the input boxes take values', function(assert) {
titleBoxVal = target.getElementById('title').value;
textBoxVal = target.getElementById('textBox').value;
Expand All @@ -41,14 +39,13 @@

});


test('On click does submitFunction return string', function(assert) {
var submitFunc = target.getElementById('submit').click();
console.log(target.getElementById('submit'));
assert.equal( submitFunc,
"Joe Bloggs Goes for a swim http://www.fcwholesale.com/images/ADJB-TP032-BLUE.jpg ");
});

});


</script>
Expand Down

0 comments on commit 15aca58

Please sign in to comment.