Commit ad051b9f ad051b9fe11ae4ab4107d5db747ac9ce6fe1c406 by Nicolas Perriault

jshint coverage for casper own tests

1 parent 043c25fd
......@@ -19,6 +19,7 @@
"predef" : [
"exports",
"phantom",
"window"
"window",
"require"
]
}
......
......@@ -3,6 +3,7 @@ modules/vendors
modules/events.js
modules/querystring.js
samples/**
tests/**
tests/clitests/**
tests/testdir/**
tmp
./*.js
......
/**
* CasperJS local HTTP test server
*/
/*global phantom casper patchRequire*/
/*global phantom, casper, patchRequire, require:true*/
var require = patchRequire(require);
var colorizer = require('colorizer').create('Colorizer');
......
(function() {
"use strict";
var elem = document.createElement('div');
elem.setAttribute('id', 'include1');
elem.appendChild(document.createTextNode('include1'));
......
(function() {
"use strict";
var elem = document.createElement('div');
elem.setAttribute('id', 'include2');
elem.appendChild(document.createTextNode('include2'));
......