Skip to content

Commit

Permalink
Clean up - remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
todkaiser committed Jul 21, 2015
1 parent 902a97d commit 38c5ab8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions views/index.erb
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,12 @@
<script type="text/javascript">

function get_task_data(){
//alert("getting task data");

// http://stackoverflow.com/questions/1420881/how-to-extract-base-url-from-a-string-in-javascript
if (typeof location.origin === 'undefined')
location.origin = location.protocol + '//' + location.host;

var url = location.origin.concat("/v1/tasks.json");
//alert("uri: " + url)

var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
Expand Down

0 comments on commit 38c5ab8

Please sign in to comment.