@vacayou/tripfusion-js-sdk 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.html CHANGED
@@ -1,4 +1,12 @@
1
- <!doctype html><html><head><script id="tripfusion-sdk" src="main.js?client=yo1&propertyId=105"></script><meta name="viewport" content="width=device-width,initial-scale=1"></head><body><script>window.addEventListener("load", function () {
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <script id="tripfusion-sdk" src="main.js?client=yo1&propertyId=105"></script>
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ </head>
7
+ <body>
8
+ <script>
9
+ window.addEventListener("load", function () {
2
10
  var demoLink = document.createElement("a");
3
11
  demoLink.href =
4
12
  "?tripfusion=true&offerId=76";
@@ -31,4 +39,11 @@
31
39
  demoLink.innerHTML = "Append items to existing booking";
32
40
  document.body.appendChild(demoLink);
33
41
  document.body.appendChild(document.createElement("br"));
34
- });</script><h1>Tripfusion JS SDK Demo</h1><h3>JS handler</h3><button onclick="book()">Book Now</button><br/><h3>Link handlers with different options</h3></body></html>
42
+ });
43
+ </script>
44
+ <h1>Tripfusion JS SDK Demo</h1>
45
+ <h3>JS handler</h3>
46
+ <button onClick="book()">Book Now</button><br />
47
+ <h3>Link handlers with different options</h3>
48
+ </body>
49
+ </html>