Skip to content

Commit

Permalink
Added lodash as a dev dependency. (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtkendall authored Apr 13, 2022
1 parent 4cd475b commit 3173faa
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions dist/js/field.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,12 @@
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/

/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"resolve-url-loader": "^5.0.0",
"sass": "^1.50.0",
"sass-loader": "^12.1.0",
"vue-loader": "^16.2.0"
"vue-loader": "^16.2.0",
"lodash": "^4.17.21"
},
"dependencies": {
"animated-scroll-to": "^1.2.2",
Expand Down
3 changes: 2 additions & 1 deletion resources/js/components/Tags/TagsInput.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script>
import { h } from 'vue';
import { throttle } from 'lodash';
export default {
props: {
Expand All @@ -26,7 +27,7 @@ export default {
},
created() {
this.throttledGetSuggested = window._.throttle(this.getSuggested, 400);
this.throttledGetSuggested = throttle(this.getSuggested, 400);
},
computed: {
Expand Down

0 comments on commit 3173faa

Please sign in to comment.