angular-barcode
Advanced tools
Comparing version 1.2.2 to 1.2.3
{ | ||
"name": "angular-barcode", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "An angular directive for lindell's JsBarcode", | ||
@@ -5,0 +5,0 @@ "main": "dist/barcode.js", |
@@ -83,5 +83,5 @@ 'use strict'; | ||
lineColor: scope.bcLineColor || defaults.lineColor, | ||
width: parseInt(scope.bcWidth, 10) || defaults.width, | ||
height: parseInt(scope.bcHeight, 10) || defaults.height, | ||
displayValue: (scope.bcDisplayValue === 'true') || defaults.displayValue, | ||
width: parseInt(scope.bcWidth, 10), | ||
height: parseInt(scope.bcHeight, 10), | ||
displayValue: scope.bcDisplayValue, | ||
fontOptions: scope.bcFontOptions || defaults.fontOptions, | ||
@@ -91,10 +91,10 @@ font: scope.bcFont || defaults.font, | ||
textPosition: scope.bcTextPosition || defaults.textPosition, | ||
textMargin: parseInt(scope.bcTextMargin, 10) || defaults.textMargin, | ||
fontSize: parseInt(scope.bcFontSize, 10) || defaults.fontSize, | ||
textMargin: parseInt(scope.bcTextMargin, 10), | ||
fontSize: parseInt(scope.bcFontSize, 10), | ||
background: scope.bcBackground || defaults.background, | ||
margin: parseInt(scope.bcMargin, 10) || defaults.margin, | ||
marginTop: parseInt(scope.bcMarginTop, 10) || defaults.marginTop, | ||
marginBottom: parseInt(scope.bcMarginBottom, 10) || defaults.marginBottom, | ||
marginLeft: parseInt(scope.bcMarginLeft, 10) || defaults.marginLeft, | ||
marginRight: parseInt(scope.bcMarginRight, 10) || defaults.marginRight, | ||
margin: parseInt(scope.bcMargin, 10), | ||
marginTop: parseInt(scope.bcMarginTop, 10), | ||
marginBottom: parseInt(scope.bcMarginBottom, 10), | ||
marginLeft: parseInt(scope.bcMarginLeft, 10), | ||
marginRight: parseInt(scope.bcMarginRight, 10), | ||
valid: scope.bcValid || defaults.valid | ||
@@ -101,0 +101,0 @@ }) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
103475