##// END OF EJS Templates
authn: Generate the form default values manually....
authn: Generate the form default values manually. When using colander.flatten(data) it adds colander.null for each missing form field. But this is not correct. What we want here is a dict wich contains only the keys/values from request.params that match a form field.

File last commit:

r1:854a839a default
r291:3526ca25 default
Show More
gss_test.js
17 lines | 460 B | application/javascript | JavascriptLexer
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function() {
"use strict";
var mode = CodeMirror.getMode({indentUnit: 2}, "text/x-gss");
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), "gss"); }
MT("atComponent",
"[def @component] {",
"[tag foo] {",
" [property color]: [keyword black];",
"}",
"}");
})();