Comparing version 0.3.27 to 0.3.28
@@ -61,5 +61,2 @@ // Generated by CoffeeScript 1.6.2 | ||
fieldHash = this._fieldHash(payload); | ||
if (options.hard) { | ||
return load(next); | ||
} | ||
return options.model._memos.call(fieldHash, currentHash, this._memoOps, next, function(next) { | ||
@@ -66,0 +63,0 @@ method = _this._request[payload.method]; |
// Generated by CoffeeScript 1.6.2 | ||
(function() { | ||
var Validator, _ref, | ||
var Validator, factory, _ref, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
factory = require("./decor/factory"); | ||
Validator = (function(_super) { | ||
@@ -26,3 +28,3 @@ __extends(Validator, _super); | ||
Validator.prototype.validate = function(model, next) { | ||
return next(); | ||
return this.rootField._validator.validate(model, next); | ||
}; | ||
@@ -46,3 +48,5 @@ | ||
Validator.prototype._createFieldDecorator = function(field) {}; | ||
Validator.prototype._createFieldDecorator = function(field) { | ||
return factory.create(field); | ||
}; | ||
@@ -49,0 +53,0 @@ return Validator; |
{ | ||
"name": "linen", | ||
"version": "0.3.27", | ||
"version": "0.3.28", | ||
"description": "Linen (line-in) maps API's to [bindable](/classdojo/bindable.js) `objects`, and `collections`. At [classdojo](http://classdojo.com), we use `linen` to abstract our API from front-end, so we don't necessarily depend on any sort of API while developing new components. This allows us to rapidly build prototypes which can be wired up later.", | ||
@@ -44,4 +44,5 @@ "main": "./lib/index.js", | ||
"hoist": "0.0.6", | ||
"outcome": "0.0.18" | ||
"outcome": "0.0.18", | ||
"comerr": "0.0.6" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8116741
159
243424
8
+ Addedcomerr@0.0.6
+ Addedcomerr@0.0.6(transitive)