(function() {
	'use strict';

	function definition(abstractHandler) {
		var regexMatchType = /^text\/.+/;

		function HandlerText() {}

		HandlerText.prototype = {
			validate: function(type) {
				return regexMatchType.test(type);
			},
			process: function(dependency) {
				provide(function() { return dependency.source; });
			}
		};

		return new (HandlerText.extends(abstractHandler));
	}

	provide([ '/demand/abstract/handler' ],definition);
}());
(function() {
	'use strict';

	function definition(abstractHandler) {
		var regexMatchType = /^text\/.+/;

		function HandlerText() {}

		HandlerText.prototype = {
			validate: function(type) {
				return regexMatchType.test(type);
			},
			process: function(dependency) {
				provide(function() { return dependency.source; });
			}
		};

		return new (HandlerText.extends(abstractHandler));
	}

	provide([ '/demand/abstract/handler' ], definition);
}());
add space