From 386a980a850345955236c777df73b46863cc95e9 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Mon, 3 Nov 2014 12:53:38 -0800 Subject: [PATCH] Convert the directory listing to run on top of the platform Previously we were using string concatenation to build up the directory listing. Now we fetch some JSON from the server and use data binding to inflate a directory listing. This exmaple doesn't work yet because we're missing support for template@repeat, but hopefully we'll get that soon. Also, added support for setRequestHeader to XMLHttpRequest. R=rafaelw@chromium.org Review URL: https://codereview.chromium.org/688413005 --- examples/file-browser.sky | 41 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 examples/file-browser.sky diff --git a/examples/file-browser.sky b/examples/file-browser.sky new file mode 100644 index 0000000000..6d02f84839 --- /dev/null +++ b/examples/file-browser.sky @@ -0,0 +1,41 @@ + + + + + +