Named the initialising function.

Given the plugin’s function the name $.crs(), so it can now be called
on demand.
This commit is contained in:
QuintinS 2014-08-29 12:15:40 +02:00
parent 0c49dba088
commit ca30d770e5

View File

@ -6,7 +6,10 @@
* @url https://github.com/benkeen/country-region-dropdowns
* @licence MIT
*/
(function() {
(function($) {
$.crs = function() {
"use strict";
var _countryClass = "crs-country";
@ -412,4 +415,6 @@
// when the page has loaded, run our init function
_contentLoaded(window, _init);
}
})();