babelacc

compare different implementations of the text alternative computation  https://p.ce9e.org/babelacc/
git clone https://git.ce9e.org/babelacc.git

commit
137f082c77cfa4a9377dffec1e449208d308b0f1
parent
e7a4956a4a946fa8cf19ff757a4e568c08d077f2
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2018-02-05 12:39
build

Diffstat

M babel.js 22 +++++++++++++---------

1 files changed, 13 insertions, 9 deletions


diff --git a/babel.js b/babel.js

@@ -14625,15 +14625,6 @@ var run = function(html) {
14625 14625 	}));
14626 14626 };
14627 14627 
14628    -1 location.search.substr(1).split('&').forEach(function(part) {
14629    -1 	var p = part.split('=');
14630    -1 	if (p[0] === 'input') {
14631    -1 		var html = decodeURIComponent(p[1].replace(/\+/g, ' '));
14632    -1 		form.input.value = html;
14633    -1 		run(html);
14634    -1 	}
14635    -1 });
14636    -1 
14637 14628 // https://stackoverflow.com/questions/454202
14638 14629 var resize = function(event) {
14639 14630 	/* 0-timeout to get the already changed text */
@@ -14645,4 +14636,17 @@ var resize = function(event) {
14645 14636 form.input.addEventListener('keydown', resize);
14646 14637 resize({target: form.input});
14647 14638 
   -1 14639 try {
   -1 14640 	eval('alert("This tools requires a browser that supports CSP. Please update!")');
   -1 14641 } catch (error) {
   -1 14642 	location.search.substr(1).split('&').forEach(function(part) {
   -1 14643 		var p = part.split('=');
   -1 14644 		if (p[0] === 'input') {
   -1 14645 			var html = decodeURIComponent(p[1].replace(/\+/g, ' '));
   -1 14646 			form.input.value = html;
   -1 14647 			run(html);
   -1 14648 		}
   -1 14649 	});
   -1 14650 }
   -1 14651 
14648 14652 },{"../lib/accdc":1,"../lib/axs":2,"aria-api":9,"axe-core":14}]},{},[15]);