解决格式化问题

重命名
This commit is contained in:
Zhicheng Wang 2016-05-13 15:06:35 +08:00
parent 74547be9e2
commit 9dccc57409
2 changed files with 11 additions and 12 deletions

View File

@ -803,19 +803,18 @@ figure.image-display
一共有这些文件: 一共有这些文件:
quickstart/ts/typings/typings.d.1.ts
+makeTabs(` +makeTabs(`
quickstart/ts/app/app.component.ts, quickstart/ts/app/app.component.ts,
quickstart / ts / app / main.ts, quickstart/ts/app/main.ts,
quickstart / ts / index.html, quickstart/ts/index.html,
quickstart / ts / package.1.json, quickstart/ts/package.1.json,
quickstart / ts / tsconfig.1.json, quickstart/ts/tsconfig.1.json,
quickstart / ts / typings.1.json, quickstart/ts/typings.1.json,
quickstart / ts / styles.1.css, quickstart/ts/styles.1.css,
quickstart / ts / system.config.1.js` quickstart/ts/system.config.1.js`
,null, ,null,
`app/app.component.ts, `app/app.component.ts,
app / main.ts, app/main.ts,
index.html, index.html,
package.json, package.json,
tsconfig.json, tsconfig.json,

View File

@ -1,6 +1,6 @@
(function () { (function () {
var targets = document.querySelectorAll('p, li, h1, h2, h3, h4, h5, h6, header, a, button, small'); var nodes = document.querySelectorAll('p, li, h1, h2, h3, h4, h5, h6, header, a, button, small');
_.each(targets, function (node) { _.each(nodes, function (node) {
if (isTranslationResult(node)) { if (isTranslationResult(node)) {
var prevNode = node.previousElementSibling; var prevNode = node.previousElementSibling;
if (prevNode && isOriginalEnglish(prevNode.innerText) && !prevNode.classList.contains('nav-list-item')) { if (prevNode && isOriginalEnglish(prevNode.innerText) && !prevNode.classList.contains('nav-list-item')) {