Skip to content

Commit

Permalink
Rewrote embed code example to use 'u,m,b,e,d,j,s' variables instead o…
Browse files Browse the repository at this point in the history
…f 'd,i,s,c,o,v,e,r,y'. Untested.
  • Loading branch information
morgant committed Jun 7, 2018
1 parent 90fd672 commit b7eff12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/umbed.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
* Example:
*
* <script>
* (function (u,m,b,e,d) { i[c]=i[c]||function(){(i[c].e=i[c].e||[]).push(arguments)};
* v=d.getElementsByTagName(s)[0]; e=d.createElement(s); e.src=o; e.async=0; v.parentNode.insertBefore(e,v);
* })(document,window,'script','UMbed','https://discoverymap.com/assets/webmap_embed.js');
* (function (u,m,b,e,d,j,s) { m[e]=m[e]||function(){(m[e].s=m[e].s||[]).push(arguments)};
* j=u.getElementsByTagName(b)[0]; s=u.createElement(b); s.src=d; s.async=0; j.parentNode.insertBefore(s,j);
* })(document,window,'script','UMbed','https://example.com/path/to/umbed.js');
* UMbed({
* container_id: 'umbed_target',
* container_css: "width: 50%; height: 50%;",
Expand Down

0 comments on commit b7eff12

Please sign in to comment.