Commit 1a21420d authored by Thomas Park's avatar Thomas Park
Browse files

api: new example

parent 95c275b5
......@@ -120,9 +120,9 @@
<h4>Properties</h4>
<p>The swatches are housed in an array called <code>themes</code>, and each swatch has the following properties: <code>name</code>, <code>description</code>, <code>preview</code>, <code>thumbnail</code>, <code>css</code>, <code>css-min</code>, <code>less</code>, and <code>less-variables</code>.
<h4>Request</h4>
<p>CORS and JSONP are supported. Send your request to <code>http://jsonp.jit.su/?url=http%3A%2F%2Fbootswatch.com%2Fapi%2Fthemes.json</code></p>
<p>CORS and JSONP are supported. Send your request to <code>http://jsonp.jit.su/?url=http://bootswatch.com/api/themes.json</code></p>
<h4>Demo</h4>
<p>A <a target="_blank" href="http://jsbin.com/ekolip/1/edit">simple example</a>, using <a target="_blank" href="https://github.com/janl/mustache.js">mustache.js</a> for templating.</p>
<p>A <a target="_blank" href="http://jsbin.com/abinec/1/edit">simple example</a>, using <a target="_blank" href="https://github.com/janl/mustache.js">mustache.js</a> for templating.</p>
<p>Thanks to <a target="_blank" href="http://www.aidanfeldman.com/">Aidan Feldman</a> for <a target="_blank" href="http://jsonp.jit.su/">his JSONP proxy</a>.</p>
</div>
<div class="modal-footer">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment