Pierre-Yves Gerardy
305035f03b
Add m.fragment()
2016-08-18 23:34:36 +02:00
Leo Horie
80c25e3809
rename routeresolver methods to {onmatch,view}
...
expose some piecemeal modules
rename internal xhr to request
mirror internal stream api to match public api
2016-08-17 00:10:47 -04:00
Sebastian Sandqvist
c59ea457c9
fix bundle again
2016-08-15 12:33:57 -07:00
Sebastian Sandqvist
f8d2a50fb7
fix bundle
2016-08-15 12:32:10 -07:00
Sebastian Sandqvist
b8978bec7a
remove semicolon
2016-08-15 12:28:45 -07:00
Sebastian Sandqvist
4e1ab37a0e
bundle
2016-08-15 12:20:02 -07:00
Sebastian Sandqvist
7bdb29bbfc
Piecemeal stream usage
2016-08-15 12:09:22 -07:00
Rasmus Porsager
a0db85b18c
Temporary fix for broken bundles
...
The current bundles were throwing "Stream is not a function".
The proper place to fix this would probably be in the bundler, but for now this circumvents the issue.
It appears the instantiated "Stream" will be cached and used inside the requestService that also requires './util/stream', instead of just what's inside './util/stream'.
2016-08-14 04:06:14 +02:00
Leo Horie
6c3036e5c6
fix event removal in diff
...
fix CI
2016-08-12 22:08:02 -04:00
Leo Horie
2ee15e3639
fix stream uncaught error reporting
...
fix stream JSON stringification
rename internal render function to `use`
2016-08-12 00:41:44 -04:00
Leo Horie
640b19228a
improve bundler
2016-07-28 22:35:22 -04:00
Leo Horie
d8b48666f4
rebuild
2016-07-15 01:22:47 -04:00
Gilbert
008ffc9587
Add m.prop.sync
2016-07-12 23:27:36 -05:00
Leo Horie
89492a4956
modularize bundler and minify scripts
2016-06-23 01:10:30 -04:00
Leo Horie
bce2abbffd
Merge remote-tracking branch 'origin/rewrite' into rewrite
...
Conflicts:
docs/keys.md
docs/signatures.md
docs/v1.x-migration.md
index.js
ospec/bin/ospec.cmd
request/request.js
request/tests/test-xhr.js
util/prop.js
util/tests/index.html
util/tests/test-prop.js
2016-06-20 09:34:14 -04:00
Leo Horie
b9ce90765d
streams implementation
2016-06-20 09:21:25 -04:00
impinball
b4fb21475c
Add editorconfig, resolve differences
...
This includes newlines, tabs, among other things.
2016-06-18 03:22:12 -04:00
Leo Horie
6ff63b224c
expose m to window
2016-06-07 10:57:20 -04:00
Leo Horie
ddc430a6d3
fix most gcc warnings
2016-06-03 23:55:31 -04:00
Leo Horie
9a396c5173
use promise polyfill
2016-06-01 15:44:08 -04:00
Leo Horie
8e95ecc741
fix typo
2016-05-27 08:17:37 -04:00
Leo Horie
41ac2bf002
rename ajaxt o xhr, expose jsonp
2016-05-26 15:22:36 -04:00
Leo Horie
477e73f300
prop and withAttr work in progress
2016-05-21 01:48:11 -04:00
Leo Horie
e1473dcce8
fiddling w/ bundled var names
2016-05-21 01:20:54 -04:00
Leo Horie
9b602edf4e
create only one renderer
2016-05-21 00:59:33 -04:00
Leo Horie
749b952392
clean up index.js
2016-05-21 00:48:58 -04:00
Leo Horie
0005cf26ee
refactor redraw into pubsub and autoredraw
...
- pubsub is a basic pubsub impl
- autoredraw is glue code to register callback to pubsub and onevent
moved e.redraw to autoredraw
2016-05-21 00:37:34 -04:00
Leo Horie
acd9d5b641
Merge branch 'bundler-fix' into rewrite
...
Conflicts:
api/mount.js
api/router.js
api/tests/test-router.js
index.js
2016-05-20 22:45:51 -04:00
Leo Horie
e5391a1957
bundler variable disambiguation
2016-05-20 22:38:10 -04:00
Pat Cavit
71c77ba603
Add m.redraw() support for multiple mount points
...
To better match `0.2.x` behavior: https://jsfiddle.net/xbpyqL9k/
2016-05-20 15:27:17 -07:00
Leo Horie
977239d207
rename limiter to throttle and refactor
...
- don't inject raf/setTimeout since we can't really mock them w/ a good degree of timing accuracy anyways
fix some unrelated tests
2016-05-19 23:24:04 -04:00
Pat Cavit
960812308c
Move public APIs into their own folder
...
And start writing actual tests for them
2016-05-19 10:59:41 -07:00
Leo Horie
5265697cb2
semi-working bundle
2016-05-14 01:01:35 -04:00
Leo Horie
559369016d
initial commit (work in progress)
2016-04-20 20:02:37 -04:00