doc: no need to point out the jquery dependency

This commit is contained in:
mappu 2017-10-15 19:47:35 +13:00
parent 6eb48bf72f
commit a3fc9092e3

View File

@ -51,7 +51,7 @@ The server responds on the following URLs:
=USAGE (EMBEDDING FOR WEB)= =USAGE (EMBEDDING FOR WEB)=
Your webpage should load the SDK from the contented server, then call the `contented.init` function to display the upload widget over the top of an existing DOM element. Your callback will be passed an array of file IDs of any uploaded items. The SDK depends on jQuery. Your webpage should load the SDK from the contented server, then call the `contented.init` function to display the upload widget over the top of an existing DOM element. Your callback will be passed an array of file IDs of any uploaded items.
`<script type="text/javascript" src="SERVER_ADDR/sdk.js"></script> `<script type="text/javascript" src="SERVER_ADDR/sdk.js"></script>
contented.init("#target", function(/* String[] */ items) {}); contented.init("#target", function(/* String[] */ items) {});