Skip to content

Commit

Permalink
Merge pull request #128 from alpheios-project/incr-3.3.-paideia
Browse files Browse the repository at this point in the history
Rebuild embed with paideia alpheios-core
  • Loading branch information
irina060981 authored Jun 29, 2021
2 parents 0fd4009 + 9a4fbc4 commit 7d65e3c
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 7 deletions.
55 changes: 55 additions & 0 deletions demo/index-paideia.html

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
disabledSelector:".customignore",
enabledClass: 'customenabled',
disabledClass: 'customdisabled',
languageOptions: {
lexiconsShort: {
lat: [ 'https://github.com/alpheios-project/paidea-glossary' ]
}
},
popupInitialPos: {
left: '150px',
top: '150px'
Expand Down
8 changes: 5 additions & 3 deletions dist/alpheios-embedded.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/alpheios-embedded.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/alpheios-embedded.min.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions src/embedded.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ export class Embedded {
overrideHelp = false,
simpleMode = false,
arethusaTbRefreshRetryCount = 5,
arethusaTbRefreshDelay = 200
arethusaTbRefreshDelay = 200,
languageOptions = {}
} = {}) {
this.clientId = clientId

Expand Down Expand Up @@ -171,7 +172,8 @@ export class Embedded {
overrideHelp: overrideHelp,
configServiceUrl: 'https://config.alpheios.net/v1/config',
arethusaTbRefreshRetryCount: arethusaTbRefreshRetryCount,
arethusaTbRefreshDelay: arethusaTbRefreshDelay
arethusaTbRefreshDelay: arethusaTbRefreshDelay,
languageOptions
})
// Environment-specific initializations
if (this.authEnv) {
Expand Down

0 comments on commit 7d65e3c

Please sign in to comment.