dependencyLib.min.js 1.4 KB

12345678
  1. /*!
  2. * dependencyLib.min.js
  3. * http://github.com/RobinHerbots/jquery.inputmask
  4. * Copyright (c) 2010 - 2015 Robin Herbots
  5. * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
  6. * Version: 3.2.1-55
  7. */
  8. !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){function b(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1}function c(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?f[toString.call(a)]||"object":typeof a}function d(a){this[0]=a}function e(a){return new d(a)}for(var f={},g="Boolean Number String Function Array Date RegExp Object Error".split(" "),h=0;h<g.length;h++)f["[object "+g[h]+"]"]=g[h].toLowerCase();return d.prototype={on:function(){return a.fn.on.apply(a(this[0]),arguments),this},off:function(){return a.fn.off.apply(a(this[0]),arguments),this},trigger:function(){return a.fn.trigger.apply(a(this[0]),arguments),this},triggerHandler:function(){return a.fn.triggerHandler.apply(a(this[0]),arguments),this}},e.isFunction=function(a){return"function"===c(a)},e.noop=function(){},e.parseJSON=function(a){return JSON.parse(a+"")},e.isArray=Array.isArray,e.inArray=function(a,c,d){return null==c?-1:b(c,a,d)},e.valHooks=void 0,e.extend=a.extend,e.each=a.each,e.map=a.map,e.Event=a.Event,e._data=a._data,e.data=a.data,window.dependencyLib=e,e});