Passed
Push — master ( 89d1f0...c413c6 )
by Guangyu
10:50 queued 12s
created

admin/js/angular/qrcode_UTF8.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 9
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
mnd 0
bc 0
fnc 1
dl 0
loc 9
rs 10
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
1
//---------------------------------------------------------------------
2
//
3
// QR Code Generator for JavaScript UTF8 Support (optional)
4
//
5
// Copyright (c) 2011 Kazuhiko Arase
6
//
7
// URL: http://www.d-project.com/
8
//
9
// Licensed under the MIT license:
10
//  http://www.opensource.org/licenses/mit-license.php
11
//
12
// The word 'QR Code' is registered trademark of
13
// DENSO WAVE INCORPORATED
14
//  http://www.denso-wave.com/qrcode/faqpatent-e.html
15
//
16
//---------------------------------------------------------------------
17
18
!function(qrcode) {
19
20
  //---------------------------------------------------------------------
21
  // overwrite qrcode.stringToBytes
22
  //---------------------------------------------------------------------
23
24
  qrcode.stringToBytes = qrcode.stringToBytesFuncs['UTF-8'];
25
26
}(qrcode);
27