| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 define("mojo/public/js/validator", [ | 5 define("mojo/public/js/validator", [ |
| 6 "mojo/public/js/codec", | 6 "mojo/public/js/codec", |
| 7 ], function(codec) { | 7 ], function(codec) { |
| 8 | 8 |
| 9 var validationError = { | 9 var validationError = { |
| 10 NONE: 'VALIDATION_ERROR_NONE', | 10 NONE: 'VALIDATION_ERROR_NONE', |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 return err; | 406 return err; |
| 407 } | 407 } |
| 408 return validationError.NONE; | 408 return validationError.NONE; |
| 409 } | 409 } |
| 410 | 410 |
| 411 var exports = {}; | 411 var exports = {}; |
| 412 exports.validationError = validationError; | 412 exports.validationError = validationError; |
| 413 exports.Validator = Validator; | 413 exports.Validator = Validator; |
| 414 return exports; | 414 return exports; |
| 415 }); | 415 }); |
| OLD | NEW |