- From: Glen Huang <curvedmark@gmail.com>
- Date: Fri, 17 Apr 2015 11:34:50 +0800
- To: Webapps WG <public-webapps@w3.org>
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 03:35:31 UTC