Commit b03f03e9 authored by Thomas Park's avatar Thomas Park
Browse files

API example: added iecors.js for CORS in IE

parent 7c8f7ae2
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
</div> </div>
<div class="span4"> <div class="span4">
<img src="img/glyphicons_265_electrical_plug.png"> <img src="img/glyphicons_265_electrical_plug.png">
<h3>Plug It In</h3> <h3>Get Plugged In</h3>
<p>An <a data-toggle="modal" href="#modal-api">API</a> is available to integrate Bootswatch with your app or platform.</p> <p>An <a data-toggle="modal" href="#modal-api">API</a> is available to integrate Bootswatch with your app or platform.</p>
</div> </div>
<div class="span4"> <div class="span4">
...@@ -123,8 +123,8 @@ ...@@ -123,8 +123,8 @@
<p>The following properties are available for each swatch: <code>name</code>, <code>description</code>, <code>preview</code>, <code>thumbnail</code>, <code>css</code>, and <code>css-min</code>. <p>The following properties are available for each swatch: <code>name</code>, <code>description</code>, <code>preview</code>, <code>thumbnail</code>, <code>css</code>, and <code>css-min</code>.
<h4>Request</h4> <h4>Request</h4>
<p>CORS and JSONP are supported. Send your request to <code>http://simplejsonp.nodester.com/thomaspark/bootswatch/</code></p> <p>CORS and JSONP are supported. Send your request to <code>http://simplejsonp.nodester.com/thomaspark/bootswatch/</code></p>
<h4>Example</h4> <h4>Demo</h4>
<p>A <a target="_blank" href="http://jsbin.com/anavok/1/edit#javascript,live">simple example</a>, using <a target="_blank" href="http://jquery.com/">jQuery</a> and <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/aqagev/1/edit">simple example</a>, using <a target="_blank" href="http://jquery.com/">jQuery</a> and <a target="_blank" href="https://github.com/janl/mustache.js">mustache.js</a> for templating.</p>
<p>Thanks to <a target="_blank" href="http://jostylr.tumblr.com/">James</a> for <a target="_blank" href="https://github.com/jostylr/simplejsonp">simplejsonp</a>.</p> <p>Thanks to <a target="_blank" href="http://jostylr.tumblr.com/">James</a> for <a target="_blank" href="https://github.com/jostylr/simplejsonp">simplejsonp</a>.</p>
</div> </div>
<div class="modal-footer"> <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