Yoshua Wuyts
d550226356
docs: add awesome-choo
2016-07-06 17:56:21 +02:00
Yoshua Wuyts
332706486f
docs: fix subs signature
2016-07-06 14:56:18 +02:00
Yoshua Wuyts
e8b1dcff9f
docs: emojify demos
2016-07-06 12:57:14 +02:00
Yoshua Wuyts
99c749ac2b
3.0.1
2016-07-06 11:00:37 +02:00
Yoshua Wuyts
1dfc42f76c
Merge pull request #129 from martinvd/patch-1
...
Update framework weight
2016-07-06 10:05:13 +02:00
Martin
3aa64e40be
Update framework weight
2016-07-06 09:24:47 +02:00
Yoshua Wuyts
0279bd1f50
3.0.0
2016-07-06 01:59:59 +02:00
Yoshua Wuyts
3e4b18dc9f
Merge pull request #127 from yoshuawuyts/3.0
...
3.0
2016-07-06 01:52:19 +02:00
Yoshua Wuyts
0f36138289
Merge pull request #125 from yoshuawuyts/readme-fixes
...
Readme fixes
2016-07-06 01:28:54 +02:00
Yoshua Wuyts
6f748e8d69
Merge pull request #123 from yoshuawuyts/changelog
...
changelog: 3.0.0
2016-07-06 01:28:32 +02:00
Yoshua Wuyts
6960735368
changelog: 3.0.0
2016-07-06 01:25:08 +02:00
Yoshua Wuyts
6cbbdf91ea
docs: update readme for 3.0
2016-07-06 01:24:25 +02:00
Yoshua Wuyts
923a8e379c
Merge pull request #120 from yoshuawuyts/barracks-8-omg-lol
...
deps: bump to barracks 8
2016-07-05 18:09:05 +02:00
Yoshua Wuyts
4ad3dc9b72
deps: bump to barracks 8
2016-07-05 17:55:17 +02:00
Yoshua Wuyts
dc1a2b25e1
Merge pull request #122 from yoshuawuyts/bump-doc-ready
...
deps: bump document ready version
2016-07-05 16:27:28 +02:00
Yoshua Wuyts
343297ac26
deps: bump document ready version
2016-07-05 16:21:00 +02:00
Yoshua Wuyts
39750fc360
Merge pull request #115 from bendrucker/unified-tests
...
Run all the tests via Electron
2016-07-05 02:25:42 +02:00
Ben Drucker
e3f715f71b
Clean up all DOM nodes when tests end
...
As the test suite grows it's bad for debugging to leak tons of elements
onto document.body. In order to concisely append/remove on the tests'
"end" event, we need to make sure the root tagName doesn't change. If it
does, the `tree` returned from `app.start` will no longer be the root
node and the removal fn will throw.
2016-07-04 16:19:17 -07:00
Ben Drucker
1e006f3716
Enable xvfb on travis to run electron
2016-07-04 16:19:17 -07:00
Ben Drucker
6d0070e62f
Update npm test command to use electron
2016-07-04 16:19:17 -07:00
Ben Drucker
57ec042e1a
Add test nesting using sheet router (cov 100!)
2016-07-04 16:19:17 -07:00
Ben Drucker
04b9e0efd2
Add test coverage for disabling sheet-router history/href listeners
2016-07-04 16:19:17 -07:00
Ben Drucker
e6a2a8c01d
Add test for hash based routing
2016-07-04 16:19:17 -07:00
Ben Drucker
37976c86f5
Add a routing test using proxyquire to short-circuit history handlers
...
* proxyquire (pq) replaces choo's sheet-router/history with a mock
* pq-universal replaces pq w/ pqify in the browser
* magic!
2016-07-04 16:19:17 -07:00
Ben Drucker
fb38d151c6
Add test for default freezing + noFreeze option
2016-07-04 16:19:17 -07:00
Ben Drucker
c3293b5953
Remove dead check for strict prev/current state equality
...
* Barracks will always return a new object
https://github.com/yoshuawuyts/barracks/blob/11d3c6d1822beadce0251279f9bc8370c569ea5e/index.js#L144
2016-07-04 16:19:17 -07:00
Ben Drucker
30a228b3e0
Update onError hook test to only expect err argument
2016-07-04 16:19:17 -07:00
Ben Drucker
e0783320f7
Add tests and fixes for rehydration
...
* Barracks must get an initial state or state.location is undefined
* Replaces document.addEventListener w/ pkg handling existing ready doc
2016-07-04 16:19:12 -07:00
Yoshua Wuyts
83fd7f0839
docs: fix missing toc section
2016-07-04 23:08:25 +02:00
Yoshua Wuyts
68f7188a32
Merge pull request #117 from yoshuawuyts/restructure-docs
...
docs: restructure
2016-07-04 23:04:13 +02:00
Yoshua Wuyts
ce9f2b4990
docs: restructure
2016-07-04 23:02:39 +02:00
Ben Drucker
e2f0c5429c
Add tests for onError, onAction, and onState hooks from barracks
2016-07-04 08:07:54 -07:00
Ben Drucker
180ea8ae10
Remove all the "should" grammar from tests
2016-07-04 08:07:54 -07:00
Ben Drucker
57030b4e0e
Update browser tests for new router fn arguments
...
See 6407188ee9
2016-07-04 08:07:54 -07:00
Ben Drucker
3fc66acdc3
Add test confirming toString() works with min-document elements
2016-07-04 08:07:54 -07:00
Ben Drucker
5f4fda6646
Generate test coverage via electron with tape-istanbul
2016-07-04 08:07:54 -07:00
Ben Drucker
6f97b1c468
Add test:electron script for all tests
2016-07-04 08:07:54 -07:00
Ben Drucker
0a191566d6
Fix effect test: barracks requires a callback
2016-07-04 08:07:54 -07:00
Ben Drucker
cdabc4d85f
Return outerHTML from toString if available, fall back to toString()
2016-07-04 08:07:54 -07:00
Yoshua Wuyts
5807cdda7b
Merge pull request #116 from timwis/rename-action-param-to-data
...
Rename action param to data
2016-07-04 11:32:50 +02:00
Yoshua Wuyts
f76e48d786
Merge pull request #118 from sotojuan/doc-links
...
Use relative links to examples
2016-07-04 11:01:21 +02:00
Juan Soto
3322a983a5
Use relative links to examples
2016-07-03 15:23:16 -04:00
timwis
d19e67322a
Rename action param -> data in examples
2016-07-03 12:37:43 -04:00
timwis
6954bc5084
Rename action param -> data in index.js
2016-07-03 12:37:43 -04:00
timwis
bba9ef4d46
Rename action param -> data in docs
2016-07-03 12:37:43 -04:00
Yoshua Wuyts
a8d87441b2
Merge pull request #110 from yoshuawuyts/yo-yoify
...
Yo yoify
2016-07-02 23:10:28 +02:00
Yoshua Wuyts
e0fd6ef81f
script: add yo-yoify to the mix
2016-07-02 23:05:16 +02:00
Yoshua Wuyts
f1b59ca117
Merge pull request #111 from yoshuawuyts/change-view-arguments
...
Change view arguments
2016-07-02 22:59:56 +02:00
Yoshua Wuyts
6407188ee9
router: change order of arguments
...
fixup! freeze state & rename app ns to location
2016-07-02 22:54:35 +02:00
Yoshua Wuyts
2dab891c65
examples: tmp fix mailbox
...
Closes GH-96
2016-07-02 16:15:51 +02:00