@bmlt-enabled/croutonjs 4.0.5 → 4.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bmlt-enabled/croutonjs",
3
- "version": "4.0.5",
3
+ "version": "4.1.2",
4
4
  "description": "Shows BMLT information is a customizable tabbed web view.",
5
5
  "main": "crouton.js",
6
6
  "directories": {
package/examples/nz.html DELETED
@@ -1,28 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="UTF-8">
5
- <link rel="stylesheet" type="text/css" href="../crouton.min.css" />
6
- <script type="text/javascript" src="../crouton.min.js"></script>
7
- <script type="text/javascript">
8
- var crouton = new Crouton({
9
- "root_server": "https://nzna.org/bmlt/main_server",
10
- "service_body": [ 2 ],
11
- "recurse_service_bodies": true,
12
- "language": "en-NZ",
13
- "meeting_data_template": "<div class=\"meeting-name\">{{this.meeting_name}}</div><div class=\"location-text\">{{this.location_text}}</div><div class=\"location-text\">{{this.location_neighborhood}}</div><div class=\"meeting-address\">{{this.formatted_address}}</div><div class=\"location-information\">{{this.formatted_location_info}}</div>"
14
- });
15
- crouton.render();
16
- crouton.meetingCount(function(res) {
17
- document.getElementById("meeting-count").innerHTML = "Meeting count: " + res;
18
- });
19
- crouton.groupCount(function(res) {
20
- document.getElementById("group-count").innerHTML = "Group count: " + res;
21
- });
22
- </script>
23
- </head>
24
- <body>
25
- <span id="meeting-count"></span>, <span id="group-count"></span>
26
- <div id="bmlt-tabs"></div>
27
- </body>
28
- </html>
package/sample.html DELETED
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <link rel="stylesheet" type="text/css" href="crouton.min.css" />
7
- <script type="text/javascript" src="crouton.min.js"></script>
8
- <script type="text/javascript">
9
- var crouton = new Crouton({
10
- "root_server": "https://bmlt.sezf.org/main_server",
11
- "service_body": [ 44 ],
12
- });
13
- crouton.render();
14
- crouton.meetingCount(function(res) {
15
- document.getElementById("meeting-count").innerHTML = "Meeting count: " + res;
16
- });
17
- crouton.groupCount(function(res) {
18
- document.getElementById("group-count").innerHTML = "Group count: " + res;
19
- });
20
- </script>
21
- </head>
22
- <body>
23
- <span id="meeting-count"></span>, <span id="group-count"></span>
24
- <div id="bmlt-tabs"></div>
25
- </body>
26
- </html>
@@ -1,27 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@bmlt-enabled/croutonjs/crouton.min.css" />
7
- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@bmlt-enabled/croutonjs/crouton.min.js"></script>
8
- <script type="text/javascript">
9
- var crouton = new Crouton({
10
- "root_server": "https://bmlt.sezf.org/main_server",
11
- "service_body": [ 44 ],
12
- "template_path": "https://cdn.jsdelivr.net/npm/@bmlt-enabled/croutonjs/templates"
13
- });
14
- crouton.render();
15
- crouton.meetingCount(function(res) {
16
- document.getElementById("meeting-count").innerHTML = "Meeting count: " + res;
17
- });
18
- crouton.groupCount(function(res) {
19
- document.getElementById("group-count").innerHTML = "Group count: " + res;
20
- });
21
- </script>
22
- </head>
23
- <body>
24
- <span id="meeting-count"></span>, <span id="group-count"></span>
25
- <div id="bmlt-tabs"></div>
26
- </body>
27
- </html>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/templates/m1.png DELETED
Binary file
package/templates/m2.png DELETED
Binary file
package/templates/m3.png DELETED
Binary file
package/templates/m4.png DELETED
Binary file
package/templates/m5.png DELETED
Binary file
Binary file