rename routeresolver methods to {onmatch,view}

expose some piecemeal modules
rename internal xhr to request
mirror internal stream api to match public api
This commit is contained in:
Leo Horie 2016-08-17 00:10:47 -04:00
parent 8bb813155c
commit 80c25e3809
18 changed files with 276 additions and 264 deletions

View file

@ -14,7 +14,7 @@
<script src="../../querystring/build.js"></script>
<script src="../../util/stream.js"></script>
<script src="../../request/request.js"></script>
<script src="test-xhr.js"></script>
<script src="test-request.js"></script>
<script src="test-jsonp.js"></script>
<script>require("../../ospec/ospec").run()</script>

View file

@ -9,7 +9,7 @@ o.spec("xhr", function() {
o.beforeEach(function() {
mock = xhrMock()
spy = o.spy()
xhr = new Request(mock, spy).xhr
xhr = new Request(mock, spy).request
})
o.spec("success", function() {