Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
feat: 3.0 API now is fixed. reday to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazeyu committed Jan 13, 2018
1 parent c698c90 commit 32a7b6d
Show file tree
Hide file tree
Showing 24 changed files with 3,561 additions and 3,561 deletions.
1,554 changes: 777 additions & 777 deletions ghpages/docs/ast/source/config/configMgr.js.json

Large diffs are not rendered by default.

1,570 changes: 785 additions & 785 deletions ghpages/docs/ast/source/config/configValidater.js.json

Large diffs are not rendered by default.

3,098 changes: 1,549 additions & 1,549 deletions ghpages/docs/ast/source/elementMgr.js.json

Large diffs are not rendered by default.

828 changes: 414 additions & 414 deletions ghpages/docs/ast/source/index.js.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ghpages/docs/file/src/config/configMgr.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
myDefine: [],
},
display: {
antialias: 2,
superSample: 2,
width: 150,
height: 300,
position: 'right',
Expand Down
2 changes: 1 addition & 1 deletion ghpages/docs/file/src/config/configValidater.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
myDefine: PropTypes.array,
}),
display: PropTypes.shape({
antialias: PropTypes.number,
superSample: PropTypes.number,
width: PropTypes.number,
height: PropTypes.number,
scale: PropTypes.number,
Expand Down
4 changes: 2 additions & 2 deletions ghpages/docs/file/src/elementMgr.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@
newElem.innerHTML = htmlTemplate;
let newCanvasElem = document.createElement('canvas');
newCanvasElem.setAttribute('id', config.name.canvas);
newCanvasElem.setAttribute('width', config.display.width * config.display.antialias);
newCanvasElem.setAttribute('height', config.display.height * config.display.antialias);
newCanvasElem.setAttribute('width', config.display.width * config.display.superSample);
newCanvasElem.setAttribute('height', config.display.height * config.display.superSample);
newCanvasElem.style.setProperty('position', 'fixed');
newCanvasElem.style.setProperty('width', config.display.width);
newCanvasElem.style.setProperty('height', config.display.height);
Expand Down
2 changes: 1 addition & 1 deletion ghpages/docs/file/src/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
* @param {Number} [userConfig.model.hHeadPos = 0.5] Horizontal position of model's head 模型头部横坐标
* @param {Number} [userConfig.model.vHeadPos = 0.618] Vertical position of model's head 模型头部纵坐标
* @param {Array} [userConfig.model.myDefine = []] User's custom Defines which will override LDefine 自定义的LDefine
* @param {Number} [userConfig.display.antialias = 2] Antialiasing grade 抗锯齿级别
* @param {Number} [userConfig.display.superSample = 2] rate for super sampling rate 超采样等级
* @param {Number} [userConfig.display.width = 150] Width to the canvas which shows the model canvas的长度
* @param {Number} [userConfig.display.height = 300] Height to the canvas which shows the model canvas的高度
* @param {String} [userConfig.display.position = 'right'] Left of right side to show 显示位置:左或右
Expand Down
8 changes: 4 additions & 4 deletions ghpages/docs/index.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions ghpages/docs/source.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,34 +120,34 @@
<td data-ice="filePath"><span><a href="file/src/config/configMgr.js.html#errorLines=68">src/config/configMgr.js</a></span></td>
<td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-configApplyer">configApplyer</a></span></td>
<td class="coverage"><span data-ice="coverage">66 %</span><span data-ice="coverageCount" class="coverage-count">2/3</span></td>
<td style="display: none;" data-ice="size">1634 byte</td>
<td style="display: none;" data-ice="size">1636 byte</td>
<td style="display: none;" data-ice="lines">86</td>
<td style="display: none;" data-ice="updated">2018-01-07 15:09:56 (UTC)</td>
<td style="display: none;" data-ice="updated">2018-01-07 16:18:15 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/config/configValidater.js.html#errorLines=13,65">src/config/configValidater.js</a></span></td>
<td data-ice="identifier" class="identifiers">-</td>
<td class="coverage"><span data-ice="coverage">33 %</span><span data-ice="coverageCount" class="coverage-count">1/3</span></td>
<td style="display: none;" data-ice="size">1818 byte</td>
<td style="display: none;" data-ice="size">1820 byte</td>
<td style="display: none;" data-ice="lines">73</td>
<td style="display: none;" data-ice="updated">2018-01-07 15:09:56 (UTC)</td>
<td style="display: none;" data-ice="updated">2018-01-07 16:18:20 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/elementMgr.js.html">src/elementMgr.js</a></span></td>
<td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-createElement">createElement</a></span>
<span><a href="variable/index.html#static-variable-currWebGL">currWebGL</a></span></td>
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">3/3</span></td>
<td style="display: none;" data-ice="size">2604 byte</td>
<td style="display: none;" data-ice="size">2608 byte</td>
<td style="display: none;" data-ice="lines">93</td>
<td style="display: none;" data-ice="updated">2018-01-07 15:58:33 (UTC)</td>
<td style="display: none;" data-ice="updated">2018-01-07 16:18:33 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/index.js.html">src/index.js</a></span></td>
<td data-ice="identifier" class="identifiers"><span><a href="function/index.html#static-function-L2Dwidget">L2Dwidget</a></span></td>
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">1/1</span></td>
<td style="display: none;" data-ice="size">4429 byte</td>
<td style="display: none;" data-ice="size">4441 byte</td>
<td style="display: none;" data-ice="lines">95</td>
<td style="display: none;" data-ice="updated">2018-01-07 15:48:38 (UTC)</td>
<td style="display: none;" data-ice="updated">2018-01-07 16:17:55 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/lib/Live2DFramework.js.html#errorLines=1011,103,1032,1055,110,1109,1128,1138,1149,1166,117,1174,1181,1188,1235,124,1252,1272,1294,1304,131,1314,1321,1328,1335,1342,1349,1356,1363,1372,138,1381,1388,145,154,162,169,176,211,230,251,268,286,303,337,353,412,42,433,444,461,470,477,486,537,550,559,578,586,593,600,608,615,622,629,636,643,650,658,666,673,68,680,688,698,710,717,726,73,733,741,748,756,764,772,779,786,795,80,806,820,827,834,850,857,870,883,89,891,956,96,968,978">src/lib/Live2DFramework.js</a></span></td>
Expand Down
4 changes: 2 additions & 2 deletions ghpages/lib/clL2D.0.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ghpages/lib/clL2D.0.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ghpages/lib/clL2D.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ghpages/lib/clL2D.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ghpages/lib/stats.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/clL2D.0.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/clL2D.0.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/clL2D.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/clL2D.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/stats.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/config/configMgr.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const defaultConfig = {
myDefine: [],
},
display: {
antialias: 2,
superSample: 2,
width: 150,
height: 300,
position: 'right',
Expand Down
2 changes: 1 addition & 1 deletion src/config/configValidater.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const configPropTypes = {
myDefine: PropTypes.array,
}),
display: PropTypes.shape({
antialias: PropTypes.number,
superSample: PropTypes.number,
width: PropTypes.number,
height: PropTypes.number,
scale: PropTypes.number,
Expand Down
4 changes: 2 additions & 2 deletions src/elementMgr.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ function createElement(){
newElem.innerHTML = htmlTemplate;
let newCanvasElem = document.createElement('canvas');
newCanvasElem.setAttribute('id', config.name.canvas);
newCanvasElem.setAttribute('width', config.display.width * config.display.antialias);
newCanvasElem.setAttribute('height', config.display.height * config.display.antialias);
newCanvasElem.setAttribute('width', config.display.width * config.display.superSample);
newCanvasElem.setAttribute('height', config.display.height * config.display.superSample);
newCanvasElem.style.setProperty('position', 'fixed');
newCanvasElem.style.setProperty('width', config.display.width);
newCanvasElem.style.setProperty('height', config.display.height);
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function L2Dwidget(){};
* @param {Number} [userConfig.model.hHeadPos = 0.5] Horizontal position of model's head 模型头部横坐标
* @param {Number} [userConfig.model.vHeadPos = 0.618] Vertical position of model's head 模型头部纵坐标
* @param {Array} [userConfig.model.myDefine = []] User's custom Defines which will override LDefine 自定义的LDefine
* @param {Number} [userConfig.display.antialias = 2] Antialiasing grade 抗锯齿级别
* @param {Number} [userConfig.display.superSample = 2] rate for super sampling rate 超采样等级
* @param {Number} [userConfig.display.width = 150] Width to the canvas which shows the model canvas的长度
* @param {Number} [userConfig.display.height = 300] Height to the canvas which shows the model canvas的高度
* @param {String} [userConfig.display.position = 'right'] Left of right side to show 显示位置:左或右
Expand Down

0 comments on commit 32a7b6d

Please sign in to comment.