Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
nlemoine committed Apr 29, 2022
1 parent 120d783 commit 86ca74c
Show file tree
Hide file tree
Showing 676 changed files with 4,826 additions and 12,628 deletions.
165 changes: 0 additions & 165 deletions acf-country.php

This file was deleted.

11 changes: 0 additions & 11 deletions assets/css/acf-country.scss

This file was deleted.

1 change: 0 additions & 1 deletion assets/dist/css/acf-country.css

This file was deleted.

1 change: 1 addition & 0 deletions assets/dist/field-cd53e1c9130359085192.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
1 change: 0 additions & 1 deletion assets/dist/js/acf-country.js

This file was deleted.

3 changes: 3 additions & 0 deletions assets/dist/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"field.js": "field-cd53e1c9130359085192.js"
}
95 changes: 0 additions & 95 deletions assets/js/acf-country.js

This file was deleted.

12 changes: 12 additions & 0 deletions assets/src/js/field.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
(($, undefined) => {

// Needed for conditional logic
const Field = acf.models.SelectField.extend({
type: 'country',
});
acf.registerFieldType(Field);
acf.registerConditionForFieldType('contains', 'country');
acf.registerConditionForFieldType('selectEqualTo', 'country');
acf.registerConditionForFieldType('selectNotEqualTo', 'country');

})(jQuery);
2 changes: 0 additions & 2 deletions assets/vendor/select2/.gitignore

This file was deleted.

Loading

0 comments on commit 86ca74c

Please sign in to comment.