dpd.js uses relative URLs again

This commit is contained in:
DallonF
2012-05-16 11:46:35 -07:00
parent 191d0ea48d
commit f58630bbaa
3 changed files with 5 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
var r
, resources = /*resources*/
, contentType = 'application/json'
, rootUrl = /*rootUrl*/;
, rootUrl = '';
function errorCallback(fn) {
return function (err) {

View File

@@ -194,8 +194,9 @@
<p><a href="/dpd.js" target="_blank">dpd.js</a> is automatically hosted by your server. To use it in your app, add it to your HTML pages:</p>
<pre class="prettyprint lang-html">&lt;script src="http://code.jquery.com/jquery-latest.min.js"&gt;&lt;/script&gt;
&lt;script src="dpd.js"&gt;&lt;/script&gt;</pre>
<p><strong>If you would like to use dpd.js in your local testing</strong>, use the dpd.js loader proxy. Put it at the root of your app and include it just like the full library. When you load the script, it will download the latest version of dpd.js from your server. When you upload your app, Deployd will replace the loader proxy with the full library.</p>
<a href="/dpd.js?proxy=true" class="btn btn-primary"><i class="icon-white icon-download"></i> Download dpd.js proxy</a>
<p><strong>If you would like to use dpd.js in your local testing</strong>, you will need to use the <a href="#sync-info-modal" data-toggle="modal">Local Sync command line tool</a> and run the `dpdc dev` command.</p>
<!-- <p><strong>If you would like to use dpd.js in your local testing</strong>, use the dpd.js loader proxy. Put it at the root of your app and include it just like the full library. When you load the script, it will download the latest version of dpd.js from your server. When you upload your app, Deployd will replace the loader proxy with the full library.</p>
<a href="/dpd.js?proxy=true" class="btn btn-primary"><i class="icon-white icon-download"></i> Download dpd.js proxy</a> -->
</div>
</div>

File diff suppressed because one or more lines are too long