Adam Barth
6002422526
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
2014-11-03 12:53:38 -08:00
Adam Barth
4240a776a4
Replace <link rel="import"> with <import>
...
This CL is just a search-and-replace.
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/694423002
2014-11-03 12:34:57 -08:00
Adam Barth
d07561b6cf
Fix SkyElement
...
Adam broke this when trying to refactor it. This CL is just a partial revert of his
CL.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/689243003
2014-11-03 10:15:38 -08:00
Elliott Sprehn
5330701999
Remove Element#attributes.
...
We now implement getAttributes() such that it returns
a new set of Attr isntances on every call as well.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/697773002
2014-10-31 15:10:53 -07:00
Adam Barth
0b40ab943e
Clean up SkyElement
...
There's no reason to wrap this script in an anonymous function. Sky modules
already run inside their own scope.
R=rafaelw@chromium.org
Review URL: https://codereview.chromium.org/692253002
2014-10-31 14:58:38 -07:00
Adam Barth
03114dfa7e
Switch "html" Mojo modules to the Sky module system
...
These never really worked with HTML imports. This CL updates them to use a more
modern version of the Sky module system so we can delete the old this.exports
pattern.
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/697723003
2014-10-31 14:46:40 -07:00
Rafael Weinstein
11130c9880
Minor tweaks to sky/framework/README.md
2014-10-31 14:41:52 -07:00
Rafael Weinstein
7f221ff756
add README.md
...
BUG=
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/695963003
2014-10-31 14:37:32 -07:00
Rafael Weinstein
8279e8603b
Add initial SkyElement & city-list example
...
BUG=
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/698653002
2014-10-31 12:29:42 -07:00
Adam Barth
e3d78d7306
Convert more this.exports to module.exports
...
TBR=esprehn@chromium.org
Review URL: https://codereview.chromium.org/685323003
2014-10-29 15:25:41 -07:00
Adam Barth
83f05ff8bf
Use module.exports rather than this.exports
...
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/687263005
2014-10-29 15:21:28 -07:00
Eric Seidel
46a584b4d3
Add a very minimal CSSAgent
...
Also fixed the exception caused by IndexedDB being
missing. It was there, just not used by inspector.sky.
R=esprehn@chromium.org , abarth@chromium.org
Review URL: https://codereview.chromium.org/662523003
2014-10-29 14:14:06 -07:00
Adam Barth
243555a99e
Add a basic XMLHttpRequest implementation
...
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/690803002
2014-10-29 12:48:16 -07:00
Eric Seidel
9e09e175f9
Add basic console support to Sky's inspector.
...
I think longer-term we want to instead fork
InjectedScriptSource.js:
http://blink.lc/blink/tree/Source/core/inspector/InjectedScriptSource.js
since a ton of the "remote object" logic could be shared
between Blink and Sky here.
Since we're trying to talk exactly Chrome's inspector
protocol we should start from the Blink JS as much as possible.
That said, this is enough to get the Chrome devtools
inspector to talk to sky and have the console handle
basic commands!
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/674823003
2014-10-29 08:47:10 -07:00
Adam Barth
b1f39b7c1b
Move framework/inspector/server to services/inspector
...
Moving the inspector WebSocket proxy server out of the framework directory
simplifies the mappings for the HTTP servers.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/687673004
2014-10-28 15:38:23 -07:00
Eric Seidel
6e77ef1031
Fix the inspector and integrate it with skydb
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/690433002
2014-10-28 13:18:17 -07:00
Adam Barth
e72e95ebf6
Re-enable the inspector tests
...
These work again.
R=eseidel@chromium.org , ojan@chromium.org
Review URL: https://codereview.chromium.org/683083004
2014-10-28 12:54:22 -07:00
Adam Barth
f0c80dc8cc
Add beginnings of an inspector backend for Sky
...
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/687673003
2014-10-28 10:46:47 -07:00