22 Commits

Author SHA1 Message Date
Veeck
1560f1f0dd Update Integration page (#2612)
* Show boolean value of complex tests also on the integration test page

* Fix formatting for video tests

* Cleanup integration page layout

* Update dependencies
2020-10-28 22:11:28 +01:00
Aditya Zope
3ccc7f1036 Add valid chars test for the property of metadata (#2601)
* Add check for metadata.property to be lowercase

* Improve test for metadata.property values

* Refactor to keep polyfill test block
2020-09-08 10:23:44 +02:00
Markel F
7981322718 Require minimal values for metadata (#2551)
* Throw warning if metadata is not present

* Some extra comments added

* Change to error and tests fixed

* Change some test names
2020-05-03 09:13:50 +02:00
Veeck
2318c1307d Use eslint:recommended, cleanup warnings (#2527)
* Use eslint:recommended, cleanup warnings

* Update mkdirp
2020-04-03 08:40:09 +02:00
Tomer Hadad
9fb1097f64 fix issue #2520 - set scriptGlobalName causing an exception (#2521)
* fix issue #2520 - set scriptGlobalName causing an exception

* fix tests

Co-authored-by: tomer <tomer@securedtouch.com>
2020-03-23 11:33:46 +01:00
Veeck
39bb2bff4d Replace expect.js with chai (#2449)
* Replace expect.js with chai.js

* Update lock file

* Update dependencies

* Re-add correct test

* Re-add incorrect tests so we see if travis works :-)

* Test against the classNames, not the documentElement

* Fix remaining errors, update dependencies
2019-10-27 21:55:45 +01:00
rejas
c47441be1f Cleanups after switch to gulp, move some legacy files into own directory for reference, store some test files in tmp directory 2019-05-16 11:55:53 +02:00
Mike Reinstein
d43ead3fac option to specify global var name to attach modernizr to #2362 (#2363)
* add option to specificy global variable name to attach modernizr to #2362

* add tests for scriptGlobalName #2362

* add command line option for script global name #2362
2018-08-13 09:18:24 -07:00
Veeck
e2c27dcd32 Update jsdoc (#2346)
* Clean up some doc tags

* Replace memberOf with memberof, undo any other changes in html5shiv/printshiv to get back to pristine state

* Small cleanups

* Add custom tags to jsdoc config

* Cleanup jsdoc tags

* Cleanup jsdoc tags

* Add inch config file to exclude html5shivs

* Update inch yml

* Use inch.json instead

* Dont inch the lib folder

* Cleanup jsdoc tags

* More jsdoc cleanups

* Move inch config into one file

* Add comma-dangle rule to eslint

* Cleanup grunt file tasks a little

* Remove some leftover async:false

* Review fixes

* Fix seplling error

* More DOC cleanups

* Fix compile error

* Whitelines/spaces cleanup

* Add eslint rule against multiple whitelines, fix those occurences

* Remove unused (and disabled) eslint entries, sort alphabetically

* Ignored file is not with".min"

* Add task for generating and reporting the coverage from istanbul

* Update eslint dependency

* Small JSdoc cleanups

* Remove unused eslint hint

* Add optional tag back to parameter

* Rname memberof -> memberOf, makes html5shivs original again
2018-07-28 19:15:36 +02:00
Josh Soref
0ebc6e0277 Spelling (#2267)
* spelling: arguments

* spelling: because

* spelling: component

* spelling: constructor

* spelling: despite

* spelling: expandoid

* spelling: explicitly

* spelling: falsy

* spelling: family

* spelling: indicates

* spelling: injected

* spelling: javascript

* spelling: jquery

* spelling: minimum

* spelling: occasionally

* spelling: official

* spelling: overridden

* spelling: paths

* spelling: positive

* spelling: quirksmode

* spelling: separate

* spelling: simultaneously

* spelling: synchronously

* spelling: undefined

* spelling: xobject

* spelling: chromium

* spelling: define

* spelling: default

* spelling: specifier
2018-05-28 11:42:05 +02:00
Veeck
1956f0b40d Update eslint (#2304)
* html5shiv files are excluded in grunt task already

* Fix some indendation errors

* Remove orphaned jshint files

* Use eslint-plugin-jsdoc for jsdoc

* Update eslint, remove incompatible google preset

* Update eslint-plugin-jsdoc, fix some new warnings
2018-05-23 15:58:24 +02:00
patrick kettner
6b26daeee8 convert jshint and jscs to eslint (#2044) 2016-07-31 20:47:05 +04:00
patrick kettner
6a9c4e1277 allow for setClasses to be included via cli flag (#2043) 2016-07-31 15:05:47 +04:00
Patrick Kettner
126088e5ed dont cause the cli test to create a file that I keep accidentally adding 2016-01-17 21:12:29 -08:00
Patrick Kettner
2d54fd7696 fix cli crash introduced in #1830 2016-01-14 19:21:49 -08:00
greenkeeperio-bot
2373539b12 chore(package): update grunt-jscs to version 2.3.0
http://greenkeeper.io/
2015-11-26 02:37:23 -08:00
Patrick Kettner
36043a3d97 update jsdoc to be saner 2015-05-14 19:58:40 -04:00
Patrick Kettner
9b9903953a improve documentation for src functions
- added JSDOC for consistency to a number of src functions
- remove a number of functions used in a single location
- programmatically generate Modernizr.options
2015-05-11 12:06:20 -04:00
Patrick Kettner
8dcb59763b include tests in jscs updates 2015-04-23 01:29:29 -04:00
Patrick Kettner
637fc8842b fix classPrefix in minified code 2015-04-02 23:51:13 -04:00
Patrick Kettner
cd9f5d4743 fix replace removals in universal builder 2015-02-27 18:44:35 -05:00
Patrick Kettner
ca56efa06b migrate testing from qunit to mocha 2015-02-24 00:03:11 -05:00