Skip to content

Commit 899ea4f

Browse files
author
Damian Dulisz
committed
Simplified the importing improvements
1 parent 761bc5e commit 899ea4f

File tree

5 files changed

+14
-13
lines changed

5 files changed

+14
-13
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,11 @@ props: {
488488
# serve with hot reload at localhost:8080
489489
npm run dev
490490

491-
# build for production with minification
492-
npm run build
491+
# lib distribution build with minification
492+
npm run bundle
493+
494+
# build the docs into gh-pages
495+
npm run docs
493496

494497
# run unit tests
495498
npm run test

lib/Multiselect.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
</span>
6161
</li>
6262
</template>
63-
<li v-show="filteredOptions.length === 0 && search.length > 0">
63+
<li v-show="filteredOptions.length === 0 && search.length">
6464
<span class="multiselect__option">
6565
<slot name="noResult">No elements found. Consider changing the search query.</slot>
6666
</span>

lib/vue-multiselect.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/vue-multiselect.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
* (c) 2016 Damian Dulisz
44
* Released under the MIT License.
55
*/
6-
import _Multiselect from './Multiselect'
7-
import _multiselectMixin from './multiselectMixin'
8-
import _pointerMixin from './pointerMixin'
6+
import Multiselect from './Multiselect'
7+
import multiselectMixin from './multiselectMixin'
8+
import pointerMixin from './pointerMixin'
99

10-
export default _Multiselect
10+
export default Multiselect
1111

12-
export var Multiselect = _Multiselect
13-
export var multiselectMixin = _multiselectMixin
14-
export var pointerMixin = _pointerMixin
12+
export { Multiselect, multiselectMixin, pointerMixin }

0 commit comments

Comments
 (0)