Skip to content

Commit

Permalink
Version up + readme comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwaliszko committed Aug 26, 2015
1 parent e3fdbbe commit f759a09
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,13 @@ Default value is *'change keyup'* (for more information check `eventType` parame
ea.settings.dependencyTriggers = 'change'; // mute some excessive activity if you wish,
// or turn it off entirely (set to undefined)
```
Alternatively, to enforce re-binding of already attached validation handlers, use following construction:
```JavaScript
<script>
ea.settings.apply({
dependencyTriggers: 'new set of events'
});
```

#####<a id="how-to-boost-web-console-verbosity-for-debug-purposes">How to boost web console verbosity for debug purposes?</a>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.4.0.0")]
[assembly: AssemblyFileVersion("2.4.0.0")]
[assembly: AssemblyVersion("2.4.1.0")]
[assembly: AssemblyFileVersion("2.4.1.0")]
2 changes: 1 addition & 1 deletion src/ExpressiveAnnotations.MvcWebSample/Models/Query.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public int[] EarlyYears

public List<int> AvailableDonations
{
get { return new List<int> {1, 1, 2, 3, 5, 8, 13}; }
get { return new List<int> {1, 4, 9, 16, 25, 36, 49}; }
}

[Display(ResourceType = typeof (Resources), Name = "GoAbroad")]
Expand Down
4 changes: 2 additions & 2 deletions src/ExpressiveAnnotations.MvcWebSample/Views/Home/Home.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@
return date.getTime(); // return milliseconds
});
ea.addValueParser('ArrayParser', function(value, field) { // provide your custom parsing mechanism of the field value at client side
// parameters: value - raw data string extracted by default from DOM element
// field - DOM element name for which parser was invoked
// parameters: value - raw data string extracted by default from DOM element
// field - DOM element name for which parser was invoked
var array = $(':input[name="' + field + '"]').serializeArray();
return array.length === 0
? null // if array is empty, return null for RequiredIf to complain
Expand Down
2 changes: 1 addition & 1 deletion src/expressive.annotations.validate.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* expressive.annotations.validate.js - v2.6.0
/* expressive.annotations.validate.js - v2.6.1
* Client-side component of ExpresiveAnnotations - annotation-based conditional validation library.
* https://github.com/JaroslawWaliszko/ExpressiveAnnotations
*
Expand Down

0 comments on commit f759a09

Please sign in to comment.