Skip to content

Commit e6c4fb6

Browse files
committed
Minified dist files.
1 parent d1ec0e6 commit e6c4fb6

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

dist/schema-form.js

+7-2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ var schemaForm = angular.module('schemaForm', deps);
3333

3434
angular.module('schemaForm').provider('sfPath',
3535
[function() {
36+
37+
// When building with browserify it's objectpath,
38+
// otherwise it's just objectpath.
39+
var ObjectPath = window.ObjectPath || objectpath;
40+
3641
var sfPath = {parse: ObjectPath.parse};
3742

3843
// if we're on Angular 1.2.x, we need to continue using dot notation
@@ -853,8 +858,8 @@ angular.module('schemaForm').provider('sfErrorMessage', function() {
853858
303: 'Additional properties not allowed',
854859
304: 'Dependency failed - key must exist',
855860
// Array errors
856-
400: 'Array is too short ({{value.length}}), minimum {{schema.maxItems}}',
857-
401: 'Array is too long ({{value.length}}), maximum {{schema.minItems}}',
861+
400: 'Array is too short ({{value.length}}), minimum {{schema.minItems}}',
862+
401: 'Array is too long ({{value.length}}), maximum {{schema.maxItems}}',
858863
402: 'Array items are not unique',
859864
403: 'Additional items not allowed',
860865
// Format errors

0 commit comments

Comments
 (0)