Skip to content

Commit 74778c5

Browse files
committed
Changed loadTemplates method to private, started documentation updates
1 parent e023b53 commit 74778c5

File tree

5 files changed

+49
-11
lines changed

5 files changed

+49
-11
lines changed

dist/assets/js/plugins/storeLocator/jquery.storelocator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
}
170170

171171
// Load the templates and continue from there
172-
this.loadTemplates();
172+
this._loadTemplates();
173173
},
174174

175175
/**
@@ -264,7 +264,7 @@
264264
/**
265265
* Load templates via Handlebars templates in /templates or inline via IDs
266266
*/
267-
loadTemplates: function () {
267+
_loadTemplates: function () {
268268
var source;
269269
var _this = this;
270270
var templateError = '<div class="bh-sl-error">Error: Could not load plugin templates. Check the paths and ensure they have been uploaded. Paths will be wrong if you do not run this from a web server.</div>';

0 commit comments

Comments
 (0)