Mercurial > urweb
comparison src/settings.sig @ 1433:66092ce45a76
Ignore JavaScript events in Effectize; allow extra spaces for 'jsFunc'; eat carriage returns at line ends in .urp files
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 10 Mar 2011 20:22:03 -0500 |
parents | 802c179dac1f |
children | 2f5fd248588d |
comparison
equal
deleted
inserted
replaced
1432:7d024767b024 | 1433:66092ce45a76 |
---|---|
72 val isServerOnly : ffi -> bool | 72 val isServerOnly : ffi -> bool |
73 | 73 |
74 (* Which FFI functions may be run in JavaScript? (JavaScript function names included) *) | 74 (* Which FFI functions may be run in JavaScript? (JavaScript function names included) *) |
75 val setJsFuncs : (ffi * string) list -> unit | 75 val setJsFuncs : (ffi * string) list -> unit |
76 val jsFunc : ffi -> string option | 76 val jsFunc : ffi -> string option |
77 val allJsFuncs : unit -> (ffi * string) list | |
77 | 78 |
78 datatype pattern_kind = Exact | Prefix | 79 datatype pattern_kind = Exact | Prefix |
79 datatype action = Allow | Deny | 80 datatype action = Allow | Deny |
80 type rule = { action : action, kind : pattern_kind, pattern : string } | 81 type rule = { action : action, kind : pattern_kind, pattern : string } |
81 | 82 |