Skip to content

Commit

Permalink
Minified dist files.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlgj committed Jun 30, 2015
1 parent d1ec0e6 commit e6c4fb6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions dist/schema-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ var schemaForm = angular.module('schemaForm', deps);

angular.module('schemaForm').provider('sfPath',
[function() {

// When building with browserify it's objectpath,
// otherwise it's just objectpath.
var ObjectPath = window.ObjectPath || objectpath;

var sfPath = {parse: ObjectPath.parse};

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

0 comments on commit e6c4fb6

Please sign in to comment.