-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #132 from alpheios-project/incr-3.4.x-update-build
Update dependencies (incr-3.4.x)
- Loading branch information
Showing
6 changed files
with
2,548 additions
and
2,248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
<!-- Basic Development demo, using Components from the CDN --> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>Alpheios Embedded Library Developer Test Page</title> | ||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/style/style-components.min.css" /> | ||
<script src="https://cdn.auth0.com/js/lock/11.14.0/lock.js"></script> | ||
<script src="../dist/auth0/env-embed.js"></script> | ||
<style> | ||
.customenabled { | ||
color: green; | ||
} | ||
.customdisabled { | ||
color: red; | ||
} | ||
|
||
</style> | ||
</head> | ||
|
||
<body> | ||
<script type="text/javascript"> | ||
document.addEventListener("DOMContentLoaded", function(event) { | ||
import ('https://cdn.jsdelivr.net/npm/[email protected]/dist/alpheios-embedded.min.js').then(embedLib => { | ||
window.AlpheiosEmbed.importDependencies({ | ||
mode: 'custom', | ||
libs: { components: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/alpheios-components.min.js' }, | ||
}).then(Embedded => { | ||
new Embedded( | ||
{ | ||
clientId: 'embed-lib-index-demo', | ||
disabledSelector:".customignore", | ||
enabledClass: 'customenabled', | ||
disabledClass: 'customdisabled', | ||
popupInitialPos: { | ||
left: '150px', | ||
top: '150px' | ||
}, | ||
toolbarInitialPos: { | ||
top: '5vh', | ||
right: '5vw' | ||
}, | ||
}).activate(); | ||
}).catch(e => { | ||
console.error(`Import of an embedded library dependencies failed: ${e}`) | ||
}) | ||
}).catch(e => { | ||
console.error(`Import of an embedded library failed: ${e}`) | ||
}) | ||
}); | ||
</script> | ||
<h4>Greek</h4> | ||
<div class="alpheios-enabled" id="block1" xml:lang="grc"> | ||
<p>τά ταῖν ταῖν τοῦ</p> | ||
<p>εγώ εμένα ἐμαυτοῦ ταύταις</p> | ||
<p>ένα δύο τρία</p> | ||
<p>όμορφος νέος γλυκός</p> | ||
<p>συνεχής πλατύς οξύς</p> | ||
<p>ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον</p> | ||
<p>πρόσφυμα ξηρή </p> | ||
<p>σκληρή ζώνη ινώδους συνδετικού ιστού που συνδέει συνήθως μύες με οστά</p> | ||
<p>A word with missing gender: ἥρωϊ</p> | ||
<p>Δαναὸς ἀφίκτωρ λεπτοψαμάθων</p> | ||
</div> | ||
|
||
<h4>Latin</h4> | ||
<div class="alpheios-enabled" id="block2" lang="lat"> | ||
<p>fero ferre tuli latus ferant missing-word</p> | ||
<p>sum sunt</p> | ||
<p>mare cupidinibus cepit differ</p> | ||
<p>a bene placito</p> | ||
<p>ab ovo usque ad mala</p> | ||
<p>caeli beatum videre</p> | ||
<p class="customignore">Ignore This</p> | ||
</div> | ||
|
||
<h4>Arabic</h4> | ||
<div class="alpheios-enabled" id="block3" lang="ara" dir="rtl"> | ||
1 اَلدٌّنيَا دَارُ مَمَرٍ لاَ دَارُ مَقَرٍ * سُلطَان بِلاَ عَدلٍ كَنَهرٍ | ||
</div> | ||
|
||
<h4>Persian</h4> | ||
<div class="alpheios-enabled" id="block4" lang="per" dir="rtl"> | ||
آبادائیدن | ||
به نام خداوند جان و خرد | ||
کزین برتر اندیشه برنگذرد | ||
خداوند نام و خداوند جای | ||
خداوند روزی ده رهنمای | ||
خداوند کیوان و گردان سپهر | ||
فروزنده ماه و ناهید و مهر | ||
ز نام و نشان و گمان برترست | ||
نگارندهٔ بر شده پیکرست | ||
به بینندگان آفریننده را | ||
نبینی مرنجان دو بیننده را | ||
نیابد بدو نیز اندیشه راه | ||
که او برتر از نام و از جایگاه | ||
سخن هر چه زین گوهران بگذرد | ||
نیابد بدو راه جان و خرد | ||
</div> | ||
|
||
<h4>Ge'ez</h4> | ||
<div class="alpheios-enabled" id="block5" lang="gez" dir="ltr"> | ||
ይትባረክ፡ እግዚአብሔር፡ አምላከ፡ እስራኤል፡ አምላክ፡ ለኵሉ፡ መንፈስ፡ ወለኵሉ፡ ዘሥጋ፡ ወይቤሎ፡ እግዚአብሔር፡ ለእዝራ፡ አእምር፡ ወጠይቅ፡ | ||
</div> | ||
|
||
<h4>Traditional Chinese</h4> | ||
<div class="alpheios-enabled" id="block6" lang="zh-Hant" dir="ltr"> | ||
天地玄黃,宇宙洪荒。日月盈昃,辰宿列張。寒來暑往,秋收冬藏。閏余成歲,律呂調陽。 | ||
</div> | ||
|
||
<h4>Simplified Chinese</h4> | ||
<div class="alpheios-enabled" id="block7" lang="zh-Hans" dir="ltr"> | ||
天地玄黄,宇宙洪荒。日月盈昃,辰宿列张。寒来暑往,秋收冬藏。闰余成岁,律吕调阳。 | ||
</div> | ||
|
||
<h4>Chinese Test cases</h4> | ||
<div class="alpheios-enabled" lang="zh-Hant" dir="ltr"> | ||
子曰學 | ||
</div> | ||
</body> | ||
</html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.