Index: src/site/samples/jsonp/index.markdown |
diff --git a/src/site/samples/jsonp/index.markdown b/src/site/samples/jsonp/index.markdown |
new file mode 100644 |
index 0000000000000000000000000000000000000000..57fac424721135f1557c8a4c8cf8f69e1bbbb947 |
--- /dev/null |
+++ b/src/site/samples/jsonp/index.markdown |
@@ -0,0 +1,23 @@ |
+--- |
+layout: default |
+title: Fetching Data Using JSONP |
+live_example_url: example/index.html |
+ |
+header: |
+ css: ["/samples/samples.css"] |
+--- |
+ |
+## {{ page.title }} |
+ |
+This sample uses `JSONP` and the `dart:js` library to retrieve data about |
+Github repos belonging to the user dart-lang. |
+ |
+Read the |
+[source](https://code.google.com/p/dart/source/browse/#svn%2Fbranches%2Fbleeding_edge%2Fdart%2Fsamples%2Fjsonp). |
+ |
+<iframe class="running-app-frame" |
+ style="height:500px;width:100%;" |
+ src="{{page.live_example_url}}"> |
+</iframe> |
+ |
+See all [samples](/samples/) |