Permalink
Browse files

Merge pull request #54 from jaw6/master

So's one could use this with localhost
  • Loading branch information...
2 parents 72e0852 + 6506d1a commit 4edbf6260a3effac144824432b9cc91d4b48b81f @defunkt committed Aug 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/dotjs.js
View
@@ -1,5 +1,5 @@
$.ajax({
- url: 'http://localhost:3131/'+window.location.host.replace('www.','')+'.js',
+ url: 'http://localhost:3131/'+window.location.hostname.replace('www.','')+'.js',
dataType: 'text',
success: function(d){
$(function(){ eval(d) })

0 comments on commit 4edbf62

Please sign in to comment.