Permalink
Browse files

1.3 release.

  • Loading branch information...
1 parent 940e752 commit 33eed650bb75a09851aa236bcbc5bc4170916f4e @wfarr committed Feb 23, 2011
Showing with 15 additions and 167 deletions.
  1. +1 −1 Info.plist
  2. +9 −10 dotjs.js
  3. +5 −156 jquery.js
View
@@ -11,7 +11,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleShortVersionString</key>
- <string>1.1</string>
+ <string>1.3</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>Chrome</key>
View
@@ -1,11 +1,10 @@
-$.each(['default', window.location.host.replace('www.','')], function(index, name) {
- $.ajax({
- url: 'http://localhost:3131/'+name+'.js',
- success: function(d){
- $(function(){ eval(d) })
- },
- error: function(){
- console.log('no dotjs server found at localhost:3131')
- }
- })
+$.ajax({
+ url: 'http://localhost:3131/'+window.location.host.replace('www.','')+'.js',
+ dataType: 'text',
+ success: function(d){
+ $(function(){ eval(d) })
+ },
+ error: function(){
+ console.log('no dotjs server found at localhost:3131')
+ }
})
Oops, something went wrong.

0 comments on commit 33eed65

Please sign in to comment.