Skip to content

Commit 8d1fb1e

Browse files
committed
add editorconfig
1 parent 4e21fb7 commit 8d1fb1e

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_size = 2
8+
indent_style = space
9+
insert_final_newline = true

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Raises `CashDrawerError()``
165165

166166
## Thanks
167167

168-
+ Part of code from [@taoyuan](https://github.com/taoyuan)
168+
+ [Tao Yuan](https://github.com/taoyuan)
169169
+ [Jose Vera](https://github.com/jor3l)
170170
+ [Sébastien Vidal](https://github.com/Psychopoulet)
171171
+ [Yu Yongwoo](https://github.com/uyu423)

printer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ Printer.prototype.hardware = function(hw){
278278
* @return printer instance
279279
*/
280280
Printer.prototype.barcode = function(code, type, width, height, position, font){
281-
type = type || 'EAN13'; // default type is EAN13, may a good choice ?
281+
type = type || 'EAN13'; // default type is EAN13, may a good choice ?
282282
var convertCode = String(code), parityBit = '';
283283
if(typeof type === 'undefined' || type === null){
284284
throw new TypeError('barcode type is required');

0 commit comments

Comments
 (0)