Skip to content

Commit

Permalink
Merge pull request #323 from harena-lab/development
Browse files Browse the repository at this point in the history
fix (translator): adjusts in the markdown to HTML conversion
  • Loading branch information
santanche authored Jan 8, 2022
2 parents 0ee2e9a + fbf9e73 commit d9b6007
Show file tree
Hide file tree
Showing 66 changed files with 127 additions and 28 deletions.
Binary file added src/adonisjs/public/author/images/character.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 47 additions & 0 deletions src/adonisjs/public/author/images/character.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/adonisjs/public/author/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
<script src="/infra/dcc-rest-proxy.js"></script>
<script src="/infra/dcc-basic.js"></script>

<script src="/lib/showdown-2-0-0/showdown.min.js"></script>
<script src="/lib/showdown/showdown.min.js"></script>
<script src="/translator/translator.js"></script>
<script src="/translator/item-templates.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion src/adonisjs/public/author/partials/template-min.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<script src="/infra/dcc-rest-proxy.js"></script>
<script src="/infra/dcc-basic.js"></script>

<script src="/lib/showdown-2-0-0/showdown.min.js"></script>
<script src="/lib/showdown/showdown.min.js"></script>
<script src="/translator/translator.js"></script>
<script src="/translator/item-templates.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion src/adonisjs/public/context/playground/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<link rel="stylesheet" href="../../infra/css/common-player.css">
<link rel="stylesheet" href="../../infra/css/common-author.css">

<script src="../../lib/showdown-2-0-0/showdown.min.js"></script>
<script src="../../lib/showdown/showdown.min.js"></script>

<script src="../../config/config-standalone.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion src/adonisjs/public/dccs/components/control/dcc-compute.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ class DCCCompute extends DCCBase {
static filterAssignedVariables (compiledSet) {
let variables = []
for (let s of compiledSet)
if (s[0] != null && !varibles.include(s[0]))
if (s[0] != null && !variables.includes(s[0]))
variables.push(s[0])
return variables
}
Expand Down
3 changes: 2 additions & 1 deletion src/adonisjs/public/dccs/components/visual/dcc-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ class DCCButton extends DCCBlock {
// === presentation setup (DCC Block)
await this._applyRender(html,
(this._xstyle == 'out-image') ? 'title' : 'innerHTML', null, null,
(this.xstyle && this.xstyle == 'in') ? true : false)
true)
// (this.xstyle && this.xstyle == 'in') ? true : false)

// === post presentation setup
// <TODO> provisory
Expand Down
1 change: 0 additions & 1 deletion src/adonisjs/public/dccs/playground/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
<script src="../../dccs/base/property-dcc.js"></script>
<script src="../../dccs/base/dcc-base.js"></script>


<script src="../../dccs/components/control/dcc-timer.js"></script>
<script src="../../dccs/base/dcc-visual.js"></script>
<script src="../../dccs/components/visual/dcc-monitor.js"></script>
Expand Down
5 changes: 5 additions & 0 deletions src/adonisjs/public/lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
## Plugins CDN - jsDelivr
https://www.jsdelivr.com

## Showdown

* version 1.9.1
https://www.jsdelivr.com/package/npm/showdown

## Blockly

### Library
Expand Down
3 changes: 0 additions & 3 deletions src/adonisjs/public/lib/showdown-2-0-0/showdown.min.js

This file was deleted.

1 change: 0 additions & 1 deletion src/adonisjs/public/lib/showdown-2-0-0/showdown.min.js.map

This file was deleted.

3 changes: 3 additions & 0 deletions src/adonisjs/public/lib/showdown/showdown.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/adonisjs/public/lib/showdown/showdown.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/adonisjs/public/modules/capsule.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<script src="../infra/dcc-common-server-proxy.js"></script>
<script src="../infra/dcc-common-server-address.js"></script>

<script src="../lib/showdown-2-0-0/showdown.min.js"></script>
<script src="../lib/showdown/showdown.min.js"></script>

<script src="../translator/translator.js"></script>
<script src="../translator/item-templates.js"></script>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit d9b6007

Please sign in to comment.