1
1
/*!
2
- * newforms-bootstrap 1.1.0 - https://github.com/insin/newforms-bootstrap
2
+ * newforms-bootstrap 1.1.1 - https://github.com/insin/newforms-bootstrap
3
3
* MIT Licensed
4
4
*/
5
5
! function ( e ) { if ( "object" == typeof exports && "undefined" != typeof module ) module . exports = e ( ) ; else if ( "function" == typeof define && define . amd ) define ( [ ] , e ) ; else { var o ; "undefined" != typeof window ?o = window :"undefined" != typeof global ?o = global :"undefined" != typeof self && ( o = self ) , o . BootstrapForm = e ( ) } } ( function ( ) { var define , module , exports ; return ( function e ( t , n , r ) { function s ( o , u ) { if ( ! n [ o ] ) { if ( ! t [ o ] ) { var a = typeof require == "function" && require ; if ( ! u && a ) return a ( o , ! 0 ) ; if ( i ) return i ( o , ! 0 ) ; var f = new Error ( "Cannot find module '" + o + "'" ) ; throw f . code = "MODULE_NOT_FOUND" , f } var l = n [ o ] = { exports :{ } } ; t [ o ] [ 0 ] . call ( l . exports , function ( e ) { var n = t [ o ] [ 1 ] [ e ] ; return s ( n ?n :e ) } , l , l . exports , e , t , n , r ) } return n [ o ] . exports } var i = typeof require == "function" && require ; for ( var o = 0 ; o < r . length ; o ++ ) s ( r [ o ] ) ; return s } ) ( { 1 :[ function ( require , module , exports ) {
@@ -24,7 +24,7 @@ var noobj = {}
24
24
25
25
var warn = function ( ) { }
26
26
27
- if ( "production" !== "production " ) {
27
+ if ( "production" !== "development " ) {
28
28
warn = function ( message ) { for ( var args = [ ] , $__0 = 1 , $__1 = arguments . length ; $__0 < $__1 ; $__0 ++ ) args . push ( arguments [ $__0 ] ) ;
29
29
var index = 0
30
30
console . warn ( '[newforms-bootstrap] Warning: ' + message . replace ( / % s / g, function ( ) { return args [ index ++ ] ; } ) )
@@ -345,28 +345,28 @@ function calculateColumnProps(childProps, options) {
345
345
} )
346
346
347
347
if ( needColSizeIndexes . length === 0 ) {
348
- ( "production" !== "production " ? warn (
348
+ ( "production" !== "development " ? warn (
349
349
'[Row %s] All Cols/Fields already have %s column units specified, so ' +
350
350
'you don\'t need to use autoColumns.' ,
351
351
rowNum , colProp
352
352
) : null )
353
353
}
354
354
else if ( availableCols < 0 ) {
355
- ( "production" !== "production " ? warn (
355
+ ( "production" !== "development " ? warn (
356
356
'[Row %s] Too many %s column units specified - widths and offsets ' +
357
357
'added up to %s.' ,
358
358
rowNum , colProp , 12 - availableCols
359
359
) : null )
360
360
}
361
361
else if ( availableCols === 0 ) {
362
- ( "production" !== "production " ? warn (
362
+ ( "production" !== "development " ? warn (
363
363
'[Row %s] There are no %s column units left to distribute to the %s ' +
364
364
'Cols/Fields which needthem.' ,
365
365
rowNum , colProp , needColSizeIndexes . length
366
366
) : null )
367
367
}
368
368
else if ( availableCols < needColSizeIndexes . length ) {
369
- ( "production" !== "production " ? warn (
369
+ ( "production" !== "development " ? warn (
370
370
'[Row %s] There are more Cols/Fields needing column widths ' +
371
371
'(%s) than there are %s column units remaining to distribute (%s).' ,
372
372
rowNum , needColSizeIndexes . length , colProp , availableCols
0 commit comments