41 Commits

Author SHA1 Message Date
WickyNilliams
2f339f1e29 2.1.6 2017-03-14 11:44:52 +00:00
Jorrit Schippers
fd32412a4b Cleanup NPM package 2017-03-09 08:15:07 +01:00
WickyNilliams
72552c7223 add bundle-collapser to package.json 2017-03-09 00:32:57 +00:00
WickyNilliams
0887598a4f 2.1.5 2017-03-09 00:24:48 +00:00
WickyNilliams
aed9851f7c use non-umd file as entry point 2017-03-09 00:19:54 +00:00
WickyNilliams
3476562f54 2.1.4 2017-03-08 18:06:16 +00:00
WickyNilliams
c97eaea59c 2.1.3 2017-03-08 18:01:08 +00:00
WickyNilliams
77d7576669 commit build artefacts 2017-03-08 17:59:42 +00:00
WickyNilliams
15f83e3f6f automate release process 2017-03-08 17:39:27 +00:00
WickyNilliams
876361118e update grunt and all plugins 2017-03-08 17:02:33 +00:00
WickyNilliams
9ae6f82745 use karma as test runner, update tests for latest jasmine 2017-03-08 16:26:30 +00:00
WickyNilliams
fcee4efd7e use commonjs modules and browserify to bundle
tests currently broken
2017-03-08 14:52:47 +00:00
WickyNilliams
e463b7ffac bump version to v2.1.2 2014-08-04 21:52:11 +01:00
WickyNilliams
72cc77fb87 bumping to version 2.1.1 2014-05-07 22:49:04 +03:00
Thorsten Lorenz
c553a549d5 adding main field to package.json
- without a main field neither nodejs nor browserify are able to resolve enquire
- adding the field allows me to require('enquire') in my code
2014-02-27 14:11:40 -05:00
WickyNilliams
e357232c9f bump version for umd support 2013-09-13 18:51:31 +01:00
WickyNilliams
e6f139ee9a fix banner and bump version numbers 2013-09-13 18:49:23 +01:00
WickyNilliams
6c328541b9 swap grunt-contrib-concat for grunt-rigger for simplicity 2013-07-18 19:48:08 +01:00
WickyNilliams
96d03d3fac increment all version numbers ahead of new tag, fix #60 2013-06-10 19:06:59 +01:00
WickyNilliams
cdf7475b48 shouldDegrade functionality reinstated 2013-05-13 21:13:40 +01:00
WickyNilliams
f6ee234fb6 drop alpha from version number 2013-04-16 21:35:39 +01: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
f21051e605 be explicit with grunt version number, that'll also teach me 2013-03-03 21:49:59 +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
6e74c67e9d use correct event names for attachEvent #23 2012-11-23 13:26:45 +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
74dac84923 adding travis CI build 2012-11-06 22:50:02 +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
83a67a7ad0 no longer caches media query list object because of issue with polyfill #8 2012-09-25 15:32:43 +01:00
WickyNilliams
80d07fdfe9 jasmine via grunt task. component.json for bower 2012-09-22 01:58:58 +01:00
WickyNilliams
b7851a756a Better handler callback support
Callbacks are now executed in the context of the handler that was
registered, allowing for handler objects with internal state etc much
greater functionality. Duck typing FTW!
2012-09-12 21:05:01 +01:00
WickyNilliams
24839ad31d primarily a fix for issue #4 but also some code cleanup
now allows for short-circuiting media queries on incapable browsers
where mobile-first design has been pursued, tested IE6-8
2012-09-11 12:01:09 +01:00
Nick Williams
3f282f5093 added simpler register signature for when only supplying match function 2012-08-28 20:24:54 +01:00
Nick Williams
82101bcd32 fix up read me to point to project page 2012-08-24 21:09:32 +01:00
Nick Williams
9d81806921 Fully removed grunt-jasmine-task dependency 2012-08-04 13:57:23 +01:00
Nick Williams
5c499c3b7f file shuffle
moved intro & outro to their own folder to simplify grunt config.
corrected repo info in package.json
2012-08-02 20:01:10 +01:00
Nick Williams
710f1131e1 Build!
Setup grunt build task, minification, jasmine integration in
preparation for getting unit tests in place
2012-08-02 19:35:32 +01:00