Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: harvesthq/chosen-package
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: namely/chosen-js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 6 commits
  • 8 files changed
  • 2 contributors

Commits on Sep 18, 2024

  1. Chosen build to chosen-package

    chosen-package committed Sep 18, 2024
    Copy the full SHA
    e7f4dcb View commit details
  2. Create package.json

    danyliak authored Sep 18, 2024
    Copy the full SHA
    86c2912 View commit details
  3. Chosen build to chosen-package

    chosen-package committed Sep 18, 2024
    Copy the full SHA
    77b3f44 View commit details
  4. Create package.json

    danyliak authored Sep 18, 2024
    Copy the full SHA
    33b29e1 View commit details
  5. Chosen build to chosen-package

    chosen-package committed Sep 18, 2024
    Copy the full SHA
    2e08b9a View commit details
  6. Update README.md

    danyliak authored Sep 18, 2024
    Copy the full SHA
    89042f8 View commit details
Showing with 45 additions and 53 deletions.
  1. +9 −0 README.md
  2. +0 −42 bower.json
  3. +1 −1 chosen.css
  4. +19 −6 chosen.jquery.js
  5. +2 −2 chosen.jquery.min.js
  6. +1 −1 chosen.min.css
  7. +12 −0 chosen.proto.js
  8. +1 −1 chosen.proto.min.js
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# This is an autogenerated package from the forked https://github.com/namely/chosen
To apply any changes, please edit the source code (CoffeeScript files), build them with Grunt, and publish with sh script. More information is inside the source code readme.

# Deprecated

#### This version of Chosen is not currently under active development while we decide on its future direction.

---

# Chosen

Chosen is a library for making long, unwieldy select boxes more user friendly.
42 changes: 0 additions & 42 deletions bower.json

This file was deleted.

2 changes: 1 addition & 1 deletion chosen.css
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ by Patrick Filler for Harvest, http://getharvest.com
Version 1.8.7
Full source at https://github.com/harvesthq/chosen
Copyright (c) 2011-2019 Harvest http://getharvest.com
Copyright (c) 2011-2024 Harvest http://getharvest.com
MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
This file is generated by `grunt build`, do not edit it by hand.
25 changes: 19 additions & 6 deletions chosen.jquery.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*!
Chosen, a Select Box Enhancer for jQuery and Prototype
by Patrick Filler for Harvest, http://getharvest.com
Version 1.8.7
Full source at https://github.com/harvesthq/chosen
Copyright (c) 2011-2024 Harvest http://getharvest.com
MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
This file is generated by `grunt build`, do not edit it by hand.
*/

(function() {
var $, AbstractChosen, Chosen, SelectParser,
bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
@@ -904,7 +916,7 @@
this.clear_backstroke();
this.show_search_field_default();
this.search_field_scale();
return this.search_field.blur();
return this.search_field.trigger('blur');
};

Chosen.prototype.activate_field = function() {
@@ -914,7 +926,7 @@
this.container.addClass("chosen-container-active");
this.active_field = true;
this.search_field.val(this.search_field.val());
return this.search_field.focus();
return this.search_field.trigger('focus');
};

Chosen.prototype.test_active_click = function(evt) {
@@ -987,7 +999,7 @@
}
this.container.addClass("chosen-with-drop");
this.results_showing = true;
this.search_field.focus();
this.search_field.trigger('focus');
this.search_field.val(this.get_search_field_value());
this.winnow_results();
return this.form_field_jq.trigger("chosen:showing_dropdown", {
@@ -1045,7 +1057,7 @@
if (target.length) {
this.result_highlight = target;
this.result_select(evt);
return this.search_field.focus();
return this.search_field.trigger('focus');
}
};

@@ -1096,7 +1108,7 @@
Chosen.prototype.choice_destroy = function(link) {
if (this.result_deselect(link[0].getAttribute("data-option-array-index"))) {
if (this.active_field) {
this.search_field.focus();
this.search_field.trigger('focus');
} else {
this.show_search_field_default();
}
@@ -1224,7 +1236,8 @@
};

Chosen.prototype.get_search_text = function() {
return $.trim(this.get_search_field_value());
var ref;
return (ref = this.get_search_field_value()) != null ? ref.trim() : void 0;
};

Chosen.prototype.escape_html = function(text) {
Loading