"newcap": true,
"node": true,
"quotmark": "single",
- "strict": false,
+ "strict": true,
"undef": true,
"unused": true
}
/* global HTMLLint, minify */
(function(){
+ 'use strict';
function byId(id) {
return document.getElementById(id);
*/
(function(global) {
+ 'use strict';
function isPresentationalElement(tag) {
return (/^(?:b|i|big|small|hr|blink|marquee)$/).test(tag);
(function(global){
+ 'use strict';
var log, HTMLParser;
if (global.console && global.console.log) {
/* global ActiveXObject, DOMDocument */
(function(global){
+ 'use strict';
// Regular Expressions for parsing tags and attributes
var startTag = /^<([\w:-]+)((?:\s*[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,
/* global test, ok, equal */
(function(global){
+ 'use strict';
var minify = global.minify || require('../dist/htmlminifier.js').minify,
HTMLLint = HTMLLint || require('../dist/htmlminifier.js').HTMLLint,
/* global test, ok, equal */
(function(global){
+ 'use strict';
var minify = global.minify || require('../dist/htmlminifier.js').minify,
input,