Edgewall Software

Changes between Version 54 and Version 55 of ProcessorBazaar


Ignore:
Timestamp:
Jan 23, 2007, 5:31:24 AM (17 years ago)
Author:
Matthew Good
Comment:

the "js" processor is unnecessary since using #!js already works, as does using #! with any recognized file-extension

Legend:

Unmodified
Added
Removed
Modified
  • ProcessorBazaar

    v54 v55  
    266266[[BR]]''Version:'' 0.0.1 Tested on trac 0.10 but should work on older versions
    267267----
    268 === javascript ===
    269 A javascript syntax processor that uses the same Mimeview code as the pascal processor.
    270 
    271 Usage:
    272 {{{
    273 {{{
    274 #!js
    275 var func = function() {
    276   this.obj = new Object();
    277   this.flag = true;
    278   return 49;
    279 }
    280 }}}
    281 }}}
    282 Will produce:
    283 {{{
    284 #!text/x-javascript
    285 var func = function() {
    286   this.obj = new Object();
    287   this.flag = true;
    288   return 49;
    289 }
    290 }}}
    291 [[BR]]''Download:'' [attachment:js-0.1.py]
    292 [[BR]]''By:'' wadsworth
    293 [[BR]]''Version:'' 0.1 Tested on Trac 0.10.1
    294268
    295269== Requests ==