Browse Source

revert commit (rebase fail...)

Dustin Utecht 6 years ago
parent
commit
2a3c31332f

+ 1 - 1
src/bootstrap-table.js

@@ -2799,7 +2799,7 @@ $.fn.bootstrapTable.columnDefaults = BootstrapTable.COLUMN_DEFAULTS
 $.fn.bootstrapTable.locales = BootstrapTable.LOCALES
 $.fn.bootstrapTable.methods = allowedMethods
 $.fn.bootstrapTable.utils = Utils
-$.fn.bootstrapTable.constants = Constants
+
 // BOOTSTRAP TABLE INIT
 // =======================
 

+ 1 - 1
src/constants/index.js

@@ -407,7 +407,7 @@ export default {
   COLUMN_DEFAULTS,
 
   EVENTS,
-  bootstrapVersion,
+
   LOCALES: {
     en: EN,
     'en-US': EN

+ 1 - 2
src/extensions/filter-control/bootstrap-table-filter-control.js

@@ -5,7 +5,6 @@
  */
 
 const Utils = $.fn.bootstrapTable.utils
-const Constants = $.fn.bootstrapTable.constants
 const UtilsFilterControl = {
   getOptionsFromSelectControl (selectControl) {
     return selectControl.get(selectControl.length - 1).options
@@ -517,7 +516,7 @@ const bootstrap = {
       clear: 'fa-trash icon-clear'
     }
   }
-}[Constants.bootstrapVersion]
+}[Utils.bootstrapVersion]
 
 $.extend($.fn.bootstrapTable.defaults, {
   filterControl: false,