Skip to content

Commit

Permalink
New readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Malthehave committed Oct 3, 2019
1 parent 76e57f1 commit f7d0d6d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/widget.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/widget.js.map

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"url": "https://github.com/Malthehave/musaeus-app-js-widget/issues"
},
"homepage": "https://github.com/Malthehave/musaeus-app-js-widget#readme"
}
}
8 changes: 8 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Musaeus - JS Widget

![](https://musaeus.dk/static/media/Logo+Namelogo+name512w.226a0cca.svg)

#H1 header
The JS code used to inject services from Musaeus to client website
Want to learn more?
Contact: [[email protected]](mailto:[email protected] "[email protected]")
4 changes: 2 additions & 2 deletions src/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ var script = document.currentScript ||
/*Polyfill*/ Array.prototype.slice.call(document.getElementsByTagName('script')).pop();
var params = (script.getAttribute('plugin-data') || '').split(/, */);

url = "http://127.0.0.1:8000/" + params[0]; // Set the url
// url = "https://musaeus-app.herokuapp.com/" + params[0]; // Set the url
// url = "http://127.0.0.1:8000/" + params[0]; // Set the url
url = "https://musaeus-app.herokuapp.com/" + params[0]; // Set the url

// Function to add a script to the dom
function addScript(src, callback) {
Expand Down

0 comments on commit f7d0d6d

Please sign in to comment.