Sha256: 59de8962edb1370e90a0ea7dd7d8bf86faff5900fc1cdc6c0f8ec6c85eecc4c0
Contents?: true
Size: 1.01 KB
Versions: 31
Compression:
Stored size: 1.01 KB
Contents
/** * Script: * Fuel.template.js - Template to build custom Fuel for Lighter.js. * * License: * MIT-style license. * * Author: * Jose Prado * * Copyright: * Copyright (©) 2009 [Jose Prado](http://pradador.com/). * */ Fuel.myFuel = new Class ({ Extends: Fuel, language: '', initialize: function(lighter, options) { /** Set of keywords in CSV form. Add multiple keyword hashes for differentiate keyword sets. */ this.keywords = new Hash({ /*keywords: { csv: "keyword1, keyword2, keyword3", alias: 'keywords' },*/ }), /** Set of RegEx patterns to match */ this.patterns = new Hash({ //'slashComments': {pattern: this.common.slashComments, alias: 'comments'}, }); /** Script Delimiters. Remove or set to null if not applicable. */ this.delimiters = new Hash({ start: this.strictRegExp('startTag1', 'startTag2'), end: this.strictRegExp('endTag1') }); // Call parent constructor AFTER instance variables are set. this.parent(lighter, options); } });
Version data entries
31 entries across 16 versions & 1 rubygems