vendor/assets/javascripts/i18n/defaults-zh_TW.js in bootstrap-select-wrapper-rails-1.6.3 vs vendor/assets/javascripts/i18n/defaults-zh_TW.js in bootstrap-select-wrapper-rails-1.9.4

- old
+ new

@@ -1,17 +1,37 @@ -/*! - * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/) - * - * Copyright 2013-2014 bootstrap-select - * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) - */ -(function ($) { - $.fn.selectpicker.defaults = { - noneSelectedText: '沒有選取任何項目', - noneResultsText: '沒有找到符合的結果', - countSelectedText: '已經選取{0}個項目', - maxOptionsText: ['超過限制 (最多選擇{n}項)', '超過限制(最多選擇{n}組)'], - selectAllText: '選取全部', - deselectAllText: '全部取消', - multipleSeparator: ', ' - }; -}(jQuery)); +/*! + * Bootstrap-select v1.9.4 (http://silviomoreto.github.io/bootstrap-select) + * + * Copyright 2013-2016 bootstrap-select + * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) + */ + +(function (root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module unless amdModuleId is set + define(["jquery"], function (a0) { + return (factory(a0)); + }); + } else if (typeof exports === 'object') { + // Node. Does not work with strict CommonJS, but + // only CommonJS-like environments that support module.exports, + // like Node. + module.exports = factory(require("jquery")); + } else { + factory(jQuery); + } +}(this, function (jQuery) { + +(function ($) { + $.fn.selectpicker.defaults = { + noneSelectedText: '沒有選取任何項目', + noneResultsText: '沒有找到符合的結果', + countSelectedText: '已經選取{0}個項目', + maxOptionsText: ['超過限制 (最多選擇{n}項)', '超過限制(最多選擇{n}組)'], + selectAllText: '選取全部', + deselectAllText: '全部取消', + multipleSeparator: ', ' + }; +})(jQuery); + + +}));