Skip to content

Commit beef500

Browse files
committed
Stable Version 1.1.1.
Fixes #9
1 parent 845e233 commit beef500

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
##### 1.1.1 - 27 March 2015
2+
3+
###### Backwards compatible bug fixes
4+
- #9 - Custom defined rule is not called on multiple attributes - thanks to @gtarcea for the PR!
5+
16
##### 1.1.0 - 27 March 2015
27

38
###### Other

dist/js-data-schema.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* js-data-schema
3-
* @version 1.1.0 - Homepage <https://github.com/js-data/js-data-schema/>
3+
* @version 1.1.1 - Homepage <https://github.com/js-data/js-data-schema/>
44
* @author Jason Dobry <[email protected]>
55
* @copyright (c) 2013-2015 Jason Dobry
66
* @license MIT <https://github.com/js-data/js-data-schema/blob/master/LICENSE>
@@ -595,7 +595,7 @@ return /******/ (function(modules) { // webpackBootstrap
595595
var rule = _this.parent.rules[ruleKey] || defaultRules[ruleKey];
596596
// Asynchronous rules get added to the queue
597597
if (rule.async) {
598-
ruleQueue[ruleKey] = (function (r, key, val, rVal) {
598+
ruleQueue[ruleKey + "_" + ruleValue] = (function (r, key, val, rVal) {
599599
return function (next) {
600600
r(val, rVal, function (err) {
601601
next(null, { err: err, key: key });

dist/js-data-schema.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js-data-schema.min.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "js-data-schema",
33
"description": "Define and validate rules, datatypes and schemata in Node and in the browser.",
4-
"version": "1.1.0",
4+
"version": "1.1.1",
55
"homepage": "http://www.js-data.io/docs/js-data-schema",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)