Skip to content

Commit

Permalink
override SDK via options
Browse files Browse the repository at this point in the history
  • Loading branch information
Iliyass committed Nov 12, 2019
1 parent acdfed4 commit 143b5ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion embedo.js
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@
if (!type || !props) {
return;
}
var sdk = Embedo.utils.replacer(Embedo.defaults.SOURCES[type.toLowerCase()].SDK, {
var sdk = props.SDK || Embedo.utils.replacer(Embedo.defaults.SOURCES[type.toLowerCase()].SDK, {
locale: props.locale || window.navigator.language || 'en_US'
});

Expand Down
Loading

0 comments on commit 143b5ae

Please sign in to comment.