WickyNilliams
98f197e7e4
clean up tests
2017-03-08 17:05:56 +00:00
WickyNilliams
929d6ae946
rely on jshintrc instead of inline comments
2017-03-08 17:04:17 +00:00
WickyNilliams
9ae6f82745
use karma as test runner, update tests for latest jasmine
2017-03-08 16:26:30 +00:00
WickyNilliams
4df78af380
upgrade build to grunt 0.4.0 ensure compatibility with node 0.10.0
2013-03-20 20:14:33 +00:00
WickyNilliams
0a60519550
fix for #40 , match now fired if matching on load
2013-03-11 19:19:52 +00:00
WickyNilliams
8a23fb3709
first pass of streamlining asset loading
2013-02-15 01:18:45 +00:00
WickyNilliams
af62183630
removed dependency on browser resize events
...
works in modern browsers, needs testing with matchMedia (and
addListener) polyfills. breaking changes to API
2013-01-04 23:00:28 +00:00
WickyNilliams
1564de8b6d
remove attachEvent support #25
...
attachEvent is only supported by IE <9, so is useless as these browsers
do not support CSS3 media queries. Also, code to support this contained
a logical error causing issues when listening in IE9
2012-12-18 19:31:59 +00:00
WickyNilliams
5abf316f95
refine previous commit, remove responsibility for assess from MediaQuery and give to MediaQueryDispatch
2012-11-23 12:41:32 +00:00
WickyNilliams
d7092405c4
handlers now run as they are registered if listening plus automated functional test suite!
2012-11-22 13:44:11 +00:00
WickyNilliams
4a48b45155
handlers turned on immediately if listening and query is already matched
2012-11-02 13:52:58 +00:00
WickyNilliams
2deb576d78
browser events now propagated to callbacks #16
...
also updated component.json's main property to only have one js file as
per most recent spec
2012-10-23 19:40:56 +01:00
WickyNilliams
2b34d4b0d2
unregistration ahoy! #9
...
handlers/queries can now be unregistered, handlers can supply a destroy
callback for final cleanup at this point
2012-10-01 14:07:51 +01:00
WickyNilliams
9b0841b104
tests, glorious tests! #2
...
tests galore, most angles covered. next up - grunt integration for
build time testing :)
2012-09-21 21:59:21 +01:00
Nick Williams
1d480bdf80
Unit tests ahoy!
...
Disabled grunt jasmine task as it seemed a bit buggy (was running tests
twice?), so for now tests require a manual run.
QueryHandler is now unit tested.
Skeletal structure of rest of unit tests mapped out
2012-08-04 13:54:11 +01:00