Skip to content

Commit

Permalink
Merge pull request #2 from fuadsaud/ssl
Browse files Browse the repository at this point in the history
SSL
  • Loading branch information
wfarr committed Jan 23, 2013
2 parents 33eed65 + 27bc928 commit f853734
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
8 changes: 4 additions & 4 deletions dotjs.js
@@ -1,10 +1,10 @@
$.ajax({ $.ajax({
url: 'http://localhost:3131/'+window.location.host.replace('www.','')+'.js', url: 'https://localhost:3131/' + window.location.host.replace('www.', '') + '.js',
dataType: 'text', dataType: 'text',
success: function(d){ success: function(d) {
$(function(){ eval(d) }) $(function() { eval(d) });
}, },
error: function(){ error: function(){
console.log('no dotjs server found at localhost:3131') console.log('no dotjs server found at localhost:3131');
} }
}) })
20 changes: 4 additions & 16 deletions jquery.js

Large diffs are not rendered by default.

0 comments on commit f853734

Please sign in to comment.