diff --git a/ajax/libs/lettering.js/0.6.1/jquery.lettering.min.js b/ajax/libs/lettering.js/0.6.1/jquery.lettering.min.js new file mode 100644 index 000000000..43d7a18a6 --- /dev/null +++ b/ajax/libs/lettering.js/0.6.1/jquery.lettering.min.js @@ -0,0 +1,2 @@ +/* Lettering.JS 0.6.1 by Dave Rupert - http://daverupert.com */ +(function($){function injector(t,splitter,klass,after){var a=t.text().split(splitter),inject='';if(a.length){$(a).each(function(i,item){inject+=''+item+''+after});t.empty().append(inject)}}var methods={init:function(){return this.each(function(){injector($(this),'','char','')})},words:function(){return this.each(function(){injector($(this),' ','word',' ')})},lines:function(){return this.each(function(){var r="eefec303079ad17405c889e092e105b0";injector($(this).children("br").replaceWith(r).end(),r,'line','')})}};$.fn.lettering=function(method){if(method&&methods[method]){return methods[method].apply(this,[].slice.call(arguments,1))}else if(method==='letters'||!method){return methods.init.apply(this,[].slice.call(arguments,0))}$.error('Method '+method+' does not exist on jQuery.lettering');return this}})(jQuery); \ No newline at end of file diff --git a/ajax/libs/lettering.js/package.json b/ajax/libs/lettering.js/package.json new file mode 100644 index 000000000..5167fcb3e --- /dev/null +++ b/ajax/libs/lettering.js/package.json @@ -0,0 +1,22 @@ +{ + "name": "lettering.js", + "filename": "jquery.lettering.min.js", + "version": "0.6.1", + "description": "A lightweight, easy to use Javascript injector for radical Web Typography", + "homepage": "http://letteringjs.com/", + "keywords": [ + "typography" + ], + "maintainers" : [ + { + "name": "Dave Rupert", + "web": "http://daverupert.com" + } + ], + "repositories": [ + { + "type": "git", + "url": "https://github.com/davatron5000/Lettering.js" + } + ] +}