From 731bff8bcbfe686d12bb7b3b89c0224c1af4ffd3 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Tue, 23 Dec 2008 13:36:42 +0000 Subject: demos: removed legacy demos folders - functional, real-world --- demos/functional/js/jquery.chili.pack.js | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 demos/functional/js/jquery.chili.pack.js (limited to 'demos/functional/js/jquery.chili.pack.js') diff --git a/demos/functional/js/jquery.chili.pack.js b/demos/functional/js/jquery.chili.pack.js deleted file mode 100644 index 2e18c066e..000000000 --- a/demos/functional/js/jquery.chili.pack.js +++ /dev/null @@ -1,12 +0,0 @@ -/* -=============================================================================== -Chili is the jQuery code highlighter plugin -............................................................................... -LICENSE: http://www.opensource.org/licenses/mit-license.php -WEBSITE: http://noteslog.com/chili/ - - Copyright 2007 / Andrea Ercolino -=============================================================================== -*/ - -(function($){ChiliBook={version:"1.9",automatic:true,automaticSelector:"code",codeLanguage:function(a){var b=$(a).attr("class");return b?b:''},metadataSelector:"object.chili",recipeLoading:true,recipeFolder:"",stylesheetLoading:true,stylesheetFolder:"",defaultReplacement:'$$',replaceSpace:" ",replaceTab:"    ",replaceNewLine:" 
",recipes:{},queue:{},preFixCopy:document.selection&&document.selection.createRange,preContent:"",preElement:null};$.metaobjects=function(c){c=$.extend({context:document,clean:true,selector:'object.metaobject'},c);function jsValue(a){eval('value = '+a+";");return a}return $(c.selector,c.context).each(function(){var b={target:this.parentNode};$('> param[@name=metaparam]',this).each(function(){$.extend(b,jsValue(this.value))});$('> param',this).not('[@name=metaparam]').each(function(){var a=this.name,value=jsValue(this.value);$(b.target).each(function(){this[a]=value})});if(c.clean){$(this).remove()}})};$.fn.chili=function(r){var s=$.extend({},ChiliBook,r||{});function cook(k,l){function prepareStep(a,b){var c=(typeof b.exp=="string")?b.exp:b.exp.source;o.push({stepName:a,exp:"("+c+")",length:1+(c.replace(/\\./g,"%").replace(/\[.*?\]/g,"%").match(/\((?!\?)/g)||[]).length,replacement:(b.replacement)?b.replacement:s.defaultReplacement})}function knowHow(){var b=1;var c=[];for(var i=0;i-1);a=a.replace(/\]*?\>/ig,b);var c=document.createElement('
');c.innerHTML=a;a=c.innerText.replace(new RegExp(b,"g"),'\r\n');return a}$("body").bind("copy",function(){if(''!=ChiliBook.preContent){window.clipboardData.setData('Text',preformatted(ChiliBook.preContent));event.returnValue=false}}).bind("mousedown",function(){ChiliBook.preContent=""}).bind("mouseup",function(){ChiliBook.preElement=null})}})})(jQuery);
\ No newline at end of file
-- 
cgit v1.2.3