From 2e59fd83ac407e254747dc8e6be24989066dab39 Mon Sep 17 00:00:00 2001 From: Jaroslaw Waliszko Date: Wed, 14 Oct 2015 23:52:52 +0200 Subject: [PATCH] Version up, doc regenerated, js tests adjusted to pass when run with latest dependencies. --- README.md | 24 +++++++++++++----- doc/api/api.chm | Bin 163779 -> 172695 bytes .../Properties/AssemblyInfo.cs | 4 +-- .../Views/Home/Home.cshtml | 6 ++--- .../Properties/AssemblyInfo.cs | 4 +-- src/expressive.annotations.validate.js | 6 ++--- src/expressive.annotations.validate.test.js | 5 ++-- src/test.html | 8 ++++++ 8 files changed, 37 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index cb2d657..b9a2d79 100644 --- a/README.md +++ b/README.md @@ -145,14 +145,15 @@ Priority - Gets or sets the hint, available for any concerned external others of its kind, i.e. ExpressiveAttribute. Value is optional and not set by default, which means that execution order is undefined. ErrorMessage - Gets or sets an explicit error message string. A difference to default - behavior is awareness of new format specifiers, given in curly brackets, - used to extract values of specified fields, e.g. {field}, {field.field} - within current model context. Braces can be escaped by double-braces, - i.e. to output a { use {{ and to output a } use }}. The same logic works - for messages provided in resources. + behavior is awareness of new format items, i.e. {fieldPath[:indicator]}. + Given in curly brackets, can be used to extract values of specified + fields, e.g. {field}, {field.field}, within current model context or + display names of such fields, e.g. {field:n}. Braces can be escaped by + double-braces, i.e. to output a { use {{ and to output a } use }}. The + same logic works for messages provided in resources. ``` -Full API documentation *(probably not useful at all, since the note above covers almost exhaustively what is actually needed to work with EA)* generated with [Sandcastle](https://sandcastle.codeplex.com/) (with the support of [SHFB](http://shfb.codeplex.com/)), can be downloaded in the form of compiled HTML help file from [here](doc/api/api.chm?raw=true) (only C# API, no JavaScript there). +Full API documentation *(probably not much useful, since the note above covers almost exhaustively what is actually needed to work with EA)* generated with [Sandcastle](https://sandcastle.codeplex.com/) (with the support of [SHFB](http://shfb.codeplex.com/)), can be downloaded in the form of compiled HTML help file from [here](doc/api/api.chm?raw=true) (only C# API, no JavaScript there). #####Implementation @@ -405,12 +406,21 @@ If you need to handle value string extracted from DOM field in any non built-in ```JavaScript + + + + + +