Yoshua Wuyts
9e51db20d2
Merge pull request #153 from yoshuawuyts/badge
...
badges: add
2016-07-11 22:36:13 +02:00
Yoshua Wuyts
b6d7ff5c61
Merge branch 'master' into badge
2016-07-11 22:35:13 +02:00
Yoshua Wuyts
face99e004
Merge pull request #156 from yoshuawuyts/mv-irc-badge
...
docs: mv IRC to big menu thingy
2016-07-11 22:34:48 +02:00
Yoshua Wuyts
57b6ec588b
docs: mv IRC to big menu thingy
2016-07-10 18:38:27 +02:00
Yoshua Wuyts
1b1326946d
badges: add
2016-07-10 16:42:33 +02:00
Yoshua Wuyts
d917e59aa4
test: fix broken hooks test
2016-07-10 15:04:26 +02:00
Tim Wisniewski
7c0fd896bf
Docs: Correct code sample in models per #143 ( #150 )
...
thx @slaskis!
2016-07-10 09:02:18 -04:00
Yoshua Wuyts
1601d1cc72
docs: fix budo script
2016-07-09 13:42:20 +02:00
Yoshua Wuyts
745aa25017
3.0.2
2016-07-08 13:46:23 +02:00
Yoshua Wuyts
0da5b762f8
Merge pull request #144 from yoshuawuyts/view-name
...
onAction: prefix views with view
2016-07-08 13:45:41 +02:00
Yoshua Wuyts
3cb9364c3d
onAction: prefix views with view
2016-07-08 12:24:14 +02:00
Tim Wisniewski
5fc2cab1f0
Correct model namespace example ( #143 )
2016-07-08 06:13:39 -04:00
Yoshua Wuyts
9e48e8efc2
Merge pull request #139 from traducer/subscriptions
...
updated readme example for subscriptions and send method
2016-07-07 12:21:45 +02:00
traducer
4bea3b53f0
updated readme example for subscriptions, sending data from inside a model expects exactly 3 arguments
2016-07-07 09:55:05 +00:00
Yoshua Wuyts
1033c20a80
Merge pull request #136 from bradsimantel/mailbox-dependency-fix
...
Add pathname-match dependency to mailbox example
2016-07-06 23:42:48 +02:00
Brad Simantel
d9a14130b3
Add pathname-match dependency to mailbox example
...
The pathname-match module is being required in the pathname element, but wasn't actually included as a dependency.
2016-07-06 14:35:46 -07:00
Yoshua Wuyts
8d84d8bc93
Merge pull request #134 from yoshuawuyts/awesome-choo
...
docs: add awesome-choo
2016-07-06 23:21:29 +02:00
Yoshua Wuyts
f5f8d01c0b
index: add raf guard
2016-07-06 23:15:54 +02:00
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