-
Recent Posts
- Centrodestra e centrosinistra
- Chili NEXT on github
- Vital Bugs
- I18n gone crazy
- Yet Another EventManager Class in PHP (5.3)
- Submit Form on Enter Key
- Yet Another Singleton Class in PHP (5.3)
- Yet Another EventManager Class in PHP (<5.3)
- Yet Another Singleton Class in PHP (<5.3)
- jQuery Window Name Transport Plugin
- How to use RegExp replace in Eclipse
- Infojobs sirve?
- Tag based architecture
- Life is too short
hi, thanks for creating this fastest highlighting plugin for jquery, i\’m using chilli 2.2.
here\’s the content of my body
var test = {}; for(var x=0;x3) test[x] = x;ChiliBook.recipeFolder = "SOMEWHERE/";
ChiliBook.automatic = false;
$( function() {
$( \'#highlight\' )
.one( \'click\', function() {
var time1 = new Date();
var $chili = $( \'#jq\' ).chili();
var time2 = new Date();
var delta = time2 - time1;
var spans = $chili.find( \'span\' ).length;
var rate = Math.round( spans / delta * 100 ) / 100;
$( \'#highlight\' ).html(
\'highlight done in \' + delta + \' milliseconds\'
+ \' with \' + spans + \' spans\'
+ \' at a rate of \' + rate * 1000 + \' span/sec\'
);
} )
.show()
;
} );
and here\’s the content of my javascript script:
$(function() {
ChiliBook.recipeFolder = \”/r/js/jqc/\”;
ChiliBook.automatic = false;
ChiliBook.lineNumbers = true;
$( \’#test1 > pre > code\’ ).chili();
$( \’#test2 > pre > code\’ ).chili();
$( \’#test3 > pre > code\’ ).chili();
});
the ajax of loading html.js and js.js was working just fine, but it seems that there are no syntax highlighting completed.. it still show black on white..
i wonder was there anything wrong with it..
please reply if you\’re not busy ^^
Thank you in advance
Regards,
Kiswono P
GB