Gary Chambers avatar Gary Chambers committed f3735af

Updated Blanket.js test coverage tool

Comments (0)

Files changed (1)

lib/blanket-0.9.7.min.js

+function insertHelpers(e,t,n){function i(t){n[e.range[0]]=t;for(var r=e.range[0]+1;r<e.range[1];r++)n[r]=""}if(!e.range)return;e.parent=t,e.source=function(){return n.slice(e.range[0],e.range[1]).join("")};if(e.update&&typeof e.update=="object"){var r=e.update;Object.keys(r).forEach(function(e){i[e]=r[e]}),e.update=i}else e.update=i}function normalizeBackslashes(e){return e.replace(/\\/g,"/")}function matchPatternAttribute(e,t){if(typeof t=="string"){if(t.indexOf("[")===1){var n=t.slice(1,t.length-1).split(",");return n.some(function(t){return e.indexOf(normalizeBackslashes(t))>-1})}if(t.indexOf("//")===1){var r=t.match(new RegExp("^/(.*?)/(g?i?m?y?)$")),i=new RegExp(r[0],r[1]);return i.test(e)}return e.indexOf(normalizeBackslashes(t))>-1}if(t instanceof Array)return t.some(function(t){return e.indexOf(normalizeBackslashes(t))>-1});if(t instanceof RegExp)return t.test(e)}function collectPageScripts(){var e=Array.prototype.slice,t=e.call(document.scripts),n=[],r=[],i=blanket.getFilter();return i?n=e.call(document.scripts).filter(function(t){return e.call(t.attributes).filter(function(e){return e.nodeName=="src"&&matchPatternAttribute(e.nodeValue,i)}).length==1}):n=e.call(document.querySelectorAll("script[data-cover]")),r=n.map(function(t){return e.call(t.attributes).filter(function(e){return e.nodeName=="src"})[0].nodeValue.replace(".js","")}),r}typeof QUnit!="undefined"&&(QUnit.config.autostart=!1),function(e){"use strict";function y(e,t){if(!e)throw new Error("ASSERT: "+t)}function b(e,t){return a.slice(e,t)}function w(e){return"0123456789".indexOf(e)>=0}function E(e){return"0123456789abcdefABCDEF".indexOf(e)>=0}function S(e){return"01234567".indexOf(e)>=0}function x(e){return e===" "||e==="	"||e==="
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.