jshint coverage for casper own tests
Showing
5 changed files
with
7 additions
and
7 deletions
1 | /** | 1 | /*global phantom, casper, patchRequire, require:true*/ |
2 | * CasperJS local HTTP test server | ||
3 | */ | ||
4 | |||
5 | /*global phantom casper patchRequire*/ | ||
6 | 2 | ||
7 | var require = patchRequire(require); | 3 | var require = patchRequire(require); |
8 | var colorizer = require('colorizer').create('Colorizer'); | 4 | var colorizer = require('colorizer').create('Colorizer'); | ... | ... |
1 | (function() { | 1 | (function() { |
2 | "use strict"; | ||
2 | var elem = document.createElement('div'); | 3 | var elem = document.createElement('div'); |
3 | elem.setAttribute('id', 'include1'); | 4 | elem.setAttribute('id', 'include1'); |
4 | elem.appendChild(document.createTextNode('include1')); | 5 | elem.appendChild(document.createTextNode('include1')); | ... | ... |
1 | (function() { | 1 | (function() { |
2 | "use strict"; | ||
2 | var elem = document.createElement('div'); | 3 | var elem = document.createElement('div'); |
3 | elem.setAttribute('id', 'include2'); | 4 | elem.setAttribute('id', 'include2'); |
4 | elem.appendChild(document.createTextNode('include2')); | 5 | elem.appendChild(document.createTextNode('include2')); | ... | ... |
-
Please register or sign in to post a comment