File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 2525 < script type ="text/javascript " src ="https://cdnjs.cloudflare.com/ajax/libs/jquery.maskedinput/1.4.1/jquery.maskedinput.js "> </ script >
2626 < script type ="text/javascript " src ="https://cdnjs.cloudflare.com/ajax/libs/ion-rangeslider/2.1.4/js/ion.rangeSlider.js "> </ script >
2727 <!-- Vanilla libs -->
28- < script type ="text/javascript " src ="https://rawgit .com/monterail/ vue-multiselect/ 2.0/lib/vue-multiselect.min.js "> </ script >
28+ < script type ="text/javascript " src ="https://unpkg .com/vue-multiselect@ 2.0.0-beta.13 "> </ script >
2929 < script type ="text/javascript " src ="https://rawgit.com/nosir/cleave.js/master/dist/cleave.min.js "> </ script >
3030 < script type ="text/javascript " src ="https://nosir.github.io/cleave.js/lib/cleave-phone.i18n.js "> </ script >
3131 < script type ="text/javascript " src ="https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/9.0.0/nouislider.js "> </ script >
Original file line number Diff line number Diff line change 4848
4949 mounted () {
5050 this .$nextTick (function () {
51- if ($ .fn .datetimepicker ) {
51+ if (window . $ && window . $ .fn .datetimepicker ) {
5252 $ (this .$el ).datetimepicker (defaults (this .schema .dateTimePickerOptions || {}, {
5353 format: inputFormat
5454 }));
5959 },
6060
6161 beforeDestroy () {
62- if ($ .fn .datetimepicker ){
62+ if (window . $ && window . $ .fn .datetimepicker ){
6363 $ (this .$el ).data (" DateTimePicker" ).destroy ();
6464 }
6565 }
Original file line number Diff line number Diff line change 1111
1212 mounted () {
1313 this .$nextTick (function () {
14- if ($ .fn .mask ) {
14+ if (window . $ && window . $ .fn .mask ) {
1515 $ (this .$el ).unmask ().mask (this .schema .mask , this .schema .maskOptions );
1616 } else {
1717 console .warn (" JQuery MaskedInput library is missing. Please download from https://github.com/digitalBush/jquery.maskedinput and load the script in the HTML head section!" );
2020 },
2121
2222 beforeDestroy () {
23- if ($ .fn .mask )
23+ if (window . $ && window . $ .fn .mask )
2424 $ (this .$el ).unmask ();
2525 }
2626 };
Original file line number Diff line number Diff line change 1818
1919 watch: {
2020 model : function () {
21- if ($ .fn .ionRangeSlider ) {
21+ if (window . $ && window . $ .fn .ionRangeSlider ) {
2222 let valueFrom, valueTo;
2323 if (isArray (this .value )) {
2424 [ valueFrom, valueTo ] = this .value ;
3737
3838 mounted () {
3939 this .$nextTick (function () {
40- if ($ .fn .ionRangeSlider ) {
40+ if (window . $ && window . $ .fn .ionRangeSlider ) {
4141 let valueFrom, valueTo;
4242 if (isArray (this .value )) {
4343 [ valueFrom, valueTo ] = this .value ;
Original file line number Diff line number Diff line change 1717
1818 watch: {
1919 model () {
20- if ($ .fn .spectrum ) {
20+ if (window . $ && window . $ .fn .spectrum ) {
2121 this .picker .spectrum (" set" , this .value );
2222 }
2323 },
3232
3333 mounted () {
3434 this .$nextTick (function () {
35- if ($ .fn .spectrum ) {
35+ if (window . $ && window . $ .fn .spectrum ) {
3636 this .picker = $ (this .$el ).spectrum (" destroy" ).spectrum (defaults (this .schema .colorOptions || {}, {
3737 showInput: true ,
3838 showAlpha: true ,
You can’t perform that action at this time.
0 commit comments