/*! * Distpicker v1.3.2 * https://github.com/tshi0912/city-picker * * Copyright (c) 2014-2019 Tao Shi * Released under the MIT license * * Date: 2021-12-01T11:49:57+08:00 */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as anonymous module. define('ChineseDistricts', [], factory); } else { // Browser globals. factory(); } })(function () { var ChineseDistricts = {}; $.ajax({ url: 'area/get_data', async: false, dataType: 'json', success: function (data) { ChineseDistricts = data; } }); if (typeof window !== 'undefined') { window.ChineseDistricts = ChineseDistricts; } return ChineseDistricts; });