Test Case for zjrJS.Doc.hashCode() - Stable Test Suite for zjrJS

This information lives on a webpage hosted at the following web address: 'https://www.omegajunior.net/code/zjrjs/stable.php'.

Showing whether zjrJS.Doc.hashCode() actually works.

Used zjrJS Version:

Stable Minified version 20141202t2322 of zjrJS.


 

Preconditions
Javascript must be allowed to run on this page.
zjrJS must be at least version 20141202t2322.

Successful When...
In the form, after pressing the 'hashCode' button, the Output box displays the hash for any input provided. The default input 'the quick brown fox' should yield a hash of '1302335171'.
Input
Actions
Output

Test Code:

          var test=({
	run: function () {"use strict";
		if ( !test.require( "zjrJS.Doc.hashCode", "function" ) ) {
			return false;
		}
		var one = window.document.forms.one.elements;
		one.output.value = zjrJS.Doc.hashCode(one.input.value);
		one = null;
		return false;
	}
});
        

Download:

Download zjrJS’ latest stable build (20141202t2322) minified (7.1KB).

Download zjrJS’ latest stable build (20141202t2322) (11.9KB).

Clicky Analytics