<commit_before><!DOCTYPE html>
<!--[if lt IE 7]>      <html lang="en-GB-oed" class="ie6 noJS"> <![endif]-->
<!--[if IE 7]>         <html lang="en-GB-oed" class="ie7 noJS"> <![endif]-->
<!--[if IE 8]>         <html lang="en-GB-oed" class="ie8 noJS"> <![endif]-->
<!--[if IE 9]>         <html lang="en-GB-oed" class="ie9 noJS"> <![endif]-->
<!--[if gt IE 9]><!--> <html lang="en-GB-oed" class="noJS"> <!--<![endif]-->
<head>
<!-- This website is written by a guy who claims to have lots of specialised technical skills, but this website only partially demonstrates them.  This website is a vehicle for about 100,000 words, please read some of them. -->
<title>Unit test for jQuery-biblio.</title>
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<meta name="viewport" content="width=device-width, maximum-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="en-GB-oed" />
<meta name="Author" content="<NAME>" />
<meta name="Description" content="I have read up on Drupal, here are some notes." />

<link rel="stylesheet" type="text/css" href="http://owenberesford.me.uk/resource/reach-positional" />
<script type="text/javascript" src="http://owenberesford.me.uk/asset/es5-shim.js" ></script>
<script type="text/javascript" src="http://owenberesford.me.uk/asset/jquery-1.11.1" ></script>
<script type="text/javascript" src="http://owenberesford.me.uk/asset/jquery-ui.min" ></script>
<script type="text/javascript" src="http://owenberesford.me.uk/asset/jquery.columniser"></script>
<script type="text/javascript" src="http://owenberesford.me.uk/asset/jquery-wresize-0.1.1"></script>
<script type="text/javascript" src="http://owenberesford.me.uk/asset/correction" ></script>
<script type="text/javascript" src="../script/jquery-biblio.js"></script>
<script type="text/javascript" src="../3rdparty/qunit-1.11.0.js" ></script>
<link rel="stylesheet" type="text/css" href="../3rdparty/qunit-1.11.0.css" />
<script type="text/javascript" >
function biblio_test() {
	return test("API test for jQuery-biblio", test_impl);	
}

function test_impl() {
	"use strict";
	var opts={
			debug:1,	
			tocEdit:1,
			width:1500,
				};
	expect(6);
// add config from here
// http://api.qunitjs.com/QUnit.config/
	
	ok( typeof jQuery.fn.biblio ==='function', "module loaded");
	ok( jQuery().jquery === '1.11.1', "jquery loaded");

// pls note this is called in a completely different fashion to the first test script
	var countOL=$('#biblio ol').length;
	var countH=$('#biblio h4').length;
	var countLI=$('fieldset.h4_menu > .h4_lean li').length;

	var $unit = $(document).biblio( opts);

	ok( typeof $unit ==='object', "Have an object" );
	ok(countOL < $('#biblio ol').length, "Code made at least one OL" );
	ok(countH < $('#biblio h4').length, "Code made at least one H4" );
	ok(countLI < $('fieldset.h4_menu > .h4_lean li').length, "Code made at least one LI" );
	

// further tests are best done via the static demo.
// can't test hidden callbacks, as they are hidden
//
//would like to add tests for a variety of input documents.
// 'cus that is likely to break things
}

$('document').ready(biblio_test);
</script>

</head>
<body id="body">
<div class="h4_page">
<div class="after_menu">
<div id="qunit"></div>
<div id="qunit-fixture"></div>

<article>
<div class="blocker">
<div class="lotsOfWords">
<div class="pullout" id="notice">
<h3>Qunit biblio unit-test.</h3> 
  Please refer to the actual <a href="./static.html" title="Load the real unit test,">static demo</a>, and the <a href="http://owenberesford.me.uk/resource/jquery-biblio" title="goto the dev notes article for this project." >dev notes</a> article.  
</div>
<p>There have been a number of iterations on Drupal.  My notes go back to Drupal6.  Drupal 7 added a few new features (please see <sup><a href="https://www.drupal.org/about/new-in-drupal-7" target="_blank">1</a></sup> ); and is the “current one”.  Drupal8 breaks backwards compatibility, but has finally joined the &gt;1980s by going OO and using namespaces.  Drupal8 also supports HTML5 and mobile.  Whilst I understand inertia on big projects, I find it hard to take lack of support for these things seriously.<br />
There is a catalogue that lists Drupal sites <sup><a href="http://www.drupalsites.net/" target="_blank">2</a></sup>, this is useful for looking at features for Drupal.  <a href="http://blog.drupalpartners.com/a-very-merry-drupal-holiday-poem" target="_blank">Seasonal fluff</a> that showed up on my linkedin.</p>


<h3 id="toc0"> Audience</h3><commit_msg>Add better descriptions.<commit_after><!DOCTYPE html>
<!--[if lt IE 7]>      <html lang="en-GB-oed" class="ie6 noJS"> <![endif]-->
<!--[if IE 7]>         <html lang="en-GB-oed" class="ie7 noJS"> <![endif]-->
<!--[if IE 8]>         <html lang="en-GB-oed" class="ie8 noJS"> <![endif]-->
<!--[if IE 9]>         <html lang="en-GB-oed" class="ie9 noJS"> <![endif]-->
<!--[if gt IE 9]><!--> <html lang="en-GB-oed" class="noJS"> <!--<![endif]-->
<head>
<!-- This website is written by a guy who claims to have lots of specialised technical skills, but this website only partially demonstrates them.  This website is a vehicle for about 100,000 words, please read some of them. -->
<title>Unit test for jQuery-biblio.</title>
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<meta name="viewport" content="width=device-width, maximum-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="en-GB-oed" />
<meta name="Author" content="<NAME>" />
<meta name="Description" content="I have read up on Drupal, here are some notes." />

<link rel="stylesheet" type="text/css" href="http://owenberesford.me.uk/resource/reach-positional" />
<script type="text/javascript" src="http://owenberesford.me.uk/asset/es5-shim.js" ></script>
<script type="text/javascript" src="http://owenberesford.me.uk/asset/jquery-1.11.1" ></script>
<script type="text/javascript" src="http://owenberesford.me.uk/asset/jquery-ui.min" ></script>
<script type="text/javascript" src="http://owenberesford.me.uk/asset/jquery.columniser"></script>
<script type="text/javascript" src="http://owenberesford.me.uk/asset/jquery-wresize-0.1.1"></script>
<script type="text/javascript" src="http://owenberesford.me.uk/asset/correction" ></script>
<script type="text/javascript" src="../script/jquery-biblio.js"></script>
<script type="text/javascript" src="../3rdparty/qunit-1.11.0.js" ></script>
<link rel="stylesheet" type="text/css" href="../3rdparty/qunit-1.11.0.css" />
<script type="text/javascript" >
function biblio_test() {
	return test("API test for jQuery-biblio", test_impl);	
}

function test_impl() {
	"use strict";
	var opts={
			debug:1,	
			tocEdit:1,
			width:1500,
				};
	expect(6);
// add config from here
// http://api.qunitjs.com/QUnit.config/
	
	ok( typeof jQuery.fn.biblio ==='function', "module loaded");
	ok( jQuery().jquery === '1.11.1', "jquery loaded");

// pls note this is called in a completely different fashion to the first test script
	var countOL=$('#biblio ol').length;
	var countH=$('#biblio h4').length;
	var countLI=$('fieldset.h4_menu > .h4_lean li').length;

	var $unit = $(document).biblio( opts);

	ok( typeof $unit ==='object', "Have an object" );
	ok(countOL < $('#biblio ol').length, "Code made at least one OL" );
	ok(countH < $('#biblio h4').length, "Code made at least one H4" );
	ok(countLI < $('fieldset.h4_menu > .h4_lean li').length, "Code made at least one LI in the menu" );
	

// further tests are best done via the static demo.
// can't test hidden callbacks, as they are hidden
//
//would like to add tests for a variety of input documents.
// 'cus that is likely to break things
}

$('document').ready(biblio_test);
</script>

</head>
<body id="body">
<div class="h4_page">
<div class="after_menu">
<div id="qunit"></div>
<div id="qunit-fixture"></div>

<article>
<div class="blocker">
<div class="lotsOfWords">
<div class="pullout" id="notice">
<h3>Qunit biblio unit-test.</h3> 
  Please refer to the actual <a href="./static.html" title="Load the real unit test,">static demo</a>, and the <a href="http://owenberesford.me.uk/resource/jquery-biblio" title="goto the dev notes article for this project." >dev notes</a> article.  
</div>
<p>There have been a number of iterations on Drupal.  My notes go back to Drupal6.  Drupal 7 added a few new features (please see <sup><a href="https://www.drupal.org/about/new-in-drupal-7" target="_blank">1</a></sup> ); and is the “current one”.  Drupal8 breaks backwards compatibility, but has finally joined the &gt;1980s by going OO and using namespaces.  Drupal8 also supports HTML5 and mobile.  Whilst I understand inertia on big projects, I find it hard to take lack of support for these things seriously.<br />
There is a catalogue that lists Drupal sites <sup><a href="http://www.drupalsites.net/" target="_blank">2</a></sup>, this is useful for looking at features for Drupal.  <a href="http://blog.drupalpartners.com/a-very-merry-drupal-holiday-poem" target="_blank">Seasonal fluff</a> that showed up on my linkedin.</p>


<h3 id="toc0"> Audience</h3>
{'fraction_non_alphanumeric': 0.18518518518518517, 'fraction_numerical': 0.015951054299136895, 'mean_word_length': 4.465074626865672, 'pattern_counts': {'":': 0, '<': 175, '<?xml version=': 0, '>': 171, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3196132', 'n_tokens_mistral': 3219, 'n_tokens_neox': 3090, 'n_words': 896}