- From: Matthew Robb <matthewwrobb@gmail.com>
- Date: Fri, 17 Apr 2015 08:32:25 -0400
- To: Glen Huang <curvedmark@gmail.com>
- Cc: public-webapps <public-webapps@w3.org>
Received on Friday, 17 April 2015 12:32:52 UTC
I like the idea of this. It reminds me of polymer's core-ajax component. On Apr 16, 2015 11:39 PM, "Glen Huang" <curvedmark@gmail.com> wrote: > Inspired by HTML imports, can we add JSON imports too? > > ```html > <script type="application/json" src="foo.json" id="foo"></script> > <script type="application/json" id="bar"> > { "foo": "bar" } > </script> > ``` > > ```js > document.getElementById("foo").json // or whatever > document.getElementById("bar").json > ``` > >
Received on Friday, 17 April 2015 12:32:52 UTC