topical media & game development

talk show tell print

lib-jquery-plugin-charts-include-js-lib-ycodaslider-2.0.rc2-lib-chili-java.js / js



  /*
  ===============================================================================
  Chili is the jQuery code highlighter plugin
  ...............................................................................
                                                 Copyright 2007 / Andrea Ercolino
  -------------------------------------------------------------------------------
  LICENSE: http://www.opensource.org/licenses/mit-license.php
  WEBSITE: http://noteslog.com/chili/
  ===============================================================================
  */
  
  {
  	steps: {
                    mlcom  : { exp: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// }
                  , com    : { exp: /\/\/.*/ }
                  , string : { exp: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/ }
                  , number : { exp: /(?:\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b)|(?:0x[a-f0-9]+)\b/ }
                  , meta   : { exp: /(?!\@interface\b)\@[$\w]+\b/ }
                  , keyword: { exp: /\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|false|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|null|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|transient|true|try|void|volatile|while)\b/ }
          }
  }
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.