Sha256: 2bc25af5ef6f5efc42a612d31bf8462548e1e0a06f888e5d980ed7200dab18bc

Contents?: true

Size: 1.12 KB

Versions: 36

Compression:

Stored size: 1.12 KB

Contents

// SC.Validator = SC.Object.extend(
//   fieldValueForObject: function(object, form, view) { return object; },
//   
//   objectForFieldValue: function(value, form, view) { return value; },
//   
//   validate: function(form, field) { return true; },
// 
//   validateError: function(form, field) { 
//     return SC.$error(
//       "Invalid.General(%@)".loc(field.get('fieldValue')),
//       field.get('fieldKey')) ; 
//   },
// 
//   validateChange: function(form, field, oldValue) { 
//     return this.validate(form,field) ? SC.VALIDATE_OK : this.validateError(form, field);
//   },
// 
//   validateSubmit: function(form, field) { 
//     return this.validate(form,field) ? SC.VALIDATE_OK : this.validateError(form, field);
//   },
// 
//   validatePartial: function(form, field) { 
//     if (!field.get('isValid')) {
//       return this.validate(form,field) ? SC.VALIDATE_OK : this.validateError(form, field);
//     } else return SC.VALIDATE_NO_CHANGE ;
//   },
//   
//   validateKeyDown: function(form, field,charStr) { return true; },
// 
//   attachTo: function(form,field) { },
// 
//   detachFrom: function(form, field) {}
// 
// }) ;

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
sproutcore-1.4.5 lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.5-java lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.4-java lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.4 lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.3.1 lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.3-java lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.3 lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.2-java lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.2 lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.1-java lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.1 lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.0-java lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.0 lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.0.rc.5 lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.0.rc.4 lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.0.rc.3 lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.0.rc.2 lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.4.0.rc lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.0.1049.pre.2 lib/frameworks/sproutcore/frameworks/datejs/validators/datejs.js
sproutcore-1.0.1049.pre.1 frameworks/sproutcore/frameworks/datejs/validators/datejs.js