mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-05-27 06:22:56 +08:00
dpd.js uses relative URLs again
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
var r
|
||||
, resources = /*resources*/
|
||||
, contentType = 'application/json'
|
||||
, rootUrl = /*rootUrl*/;
|
||||
, rootUrl = '';
|
||||
|
||||
function errorCallback(fn) {
|
||||
return function (err) {
|
||||
|
||||
@@ -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"><script src="http://code.jquery.com/jquery-latest.min.js"></script>
|
||||
<script src="dpd.js"></script></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
Reference in New Issue
Block a user