Comparing version 0.6.3 to 0.6.5
@@ -8,4 +8,4 @@ (function (exportName) { | ||
* zswang (http://weibo.com/zswang) | ||
* @version 0.6.3 | ||
* @date 2016-02-29 | ||
* @version 0.6.5 | ||
* @date 2016-03-01 | ||
*/ | ||
@@ -1012,2 +1012,3 @@ function createSchema() { | ||
Schema.register('enums', enums); | ||
/*<function name="encodeUTF8">*/ | ||
/** | ||
@@ -1017,2 +1018,9 @@ * 对字符串进行 utf8 编码 | ||
* param {string} str 原始字符串 | ||
'''<example>''' | ||
* @example encodeUTF8():base | ||
```js | ||
console.log(jstrs.encodeUTF8('汉')); | ||
// > æ± | ||
``` | ||
'''</example>''' | ||
*/ | ||
@@ -1025,2 +1033,4 @@ function encodeUTF8(str) { | ||
} | ||
/*</function>*/ | ||
/*<function name="decodeUTF8">*/ | ||
/** | ||
@@ -1030,2 +1040,9 @@ * 对 utf8 字符串进行解码 | ||
* @param {string} str 编码字符串 | ||
'''<example>''' | ||
* @example decodeUTF8():base | ||
```js | ||
console.log(jstrs.decodeUTF8('æ±')); | ||
// > 汉 | ||
``` | ||
'''</example>''' | ||
*/ | ||
@@ -1039,2 +1056,3 @@ function decodeUTF8(str) { | ||
} | ||
/*</function>*/ | ||
/** | ||
@@ -1041,0 +1059,0 @@ * 将字符串转换为字节数组 |
@@ -8,4 +8,4 @@ (function (exportName) { | ||
* zswang (http://weibo.com/zswang) | ||
* @version 0.6.3 | ||
* @date 2016-02-29 | ||
* @version 0.6.5 | ||
* @date 2016-03-01 | ||
*/ | ||
@@ -949,2 +949,3 @@ function createSchema() { | ||
Schema.register('enums', enums); | ||
/*<function name="encodeUTF8">*/ | ||
/** | ||
@@ -954,2 +955,9 @@ * 对字符串进行 utf8 编码 | ||
* param {string} str 原始字符串 | ||
'''<example>''' | ||
* @example encodeUTF8():base | ||
```js | ||
console.log(jstrs.encodeUTF8('汉')); | ||
// > æ± | ||
``` | ||
'''</example>''' | ||
*/ | ||
@@ -962,2 +970,4 @@ function encodeUTF8(str) { | ||
} | ||
/*</function>*/ | ||
/*<function name="decodeUTF8">*/ | ||
/** | ||
@@ -967,2 +977,9 @@ * 对 utf8 字符串进行解码 | ||
* @param {string} str 编码字符串 | ||
'''<example>''' | ||
* @example decodeUTF8():base | ||
```js | ||
console.log(jstrs.decodeUTF8('æ±')); | ||
// > 汉 | ||
``` | ||
'''</example>''' | ||
*/ | ||
@@ -976,2 +993,3 @@ function decodeUTF8(str) { | ||
} | ||
/*</function>*/ | ||
/** | ||
@@ -978,0 +996,0 @@ * 将字符串转换为字节数组 |
@@ -5,3 +5,3 @@ { | ||
"description": "Binary data packing and unpacking.", | ||
"version": "0.6.3", | ||
"version": "0.6.5", | ||
"homepage": "http://github.com/zswang/jpacks", | ||
@@ -43,4 +43,5 @@ "main": "jpacks.js", | ||
"uglify-js": "^2.4.15", | ||
"jdists": "^1.0.9", | ||
"jshint": "^2.8.0" | ||
"jdists": "^1.3.8", | ||
"jshint": "^2.8.0", | ||
"jstrs": "^0.0.1" | ||
}, | ||
@@ -47,0 +48,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111689
3525
7