@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
1 lines • 1.22 kB
JavaScript
module.exports=function(e){var r={};function o(t){if(r[t])return r[t].exports;var n=r[t]={exports:{},id:t,loaded:!1};return e[t].call(n.exports,n,n.exports,o),n.loaded=!0,n.exports}return o.m=e,o.c=r,o.p="",o(0)}({0:function(t,n,e){t.exports=e(1017)},3:function(t,n){t.exports=function(){throw Error("define cannot be used indirect")}},982:function(t,n){t.exports=require("../main")},1017:function(t,n,e){var r;e(3),e=[e(982)],void 0===(n="function"==typeof(r=function(){var n=window.kendo,f=void 0,t=window,e=t.Math,o=e.min,i=e.max,u=t.parseFloat,r=n.jQuery,d,l,c="%",p="px",x=/(\d+)(\.?)(\d*)%/,v=/(\d+)(\.?)(\d*)px/,a="string",g;function m(t){var n=t.value;var e=t.min;var r=t.max;return i(o(u(n),u(r)),u(e))}function y(t){if(t&&!r(t).is("body")&&t.scrollHeight>t.clientHeight)return n.support.scrollbar();return 0}function h(t,n){if(s(t))return u(t);else return u(t)/n*100}function s(t){return typeof t===a&&x.test(t)}function w(t){return typeof t===a&&v.test(t)}function P(t){return u(t)+c}function b(t){return u(t)+p}(0,r.extend)(n.ui.editor,{ResizingUtils:{constrain:m,getScrollBarWidth:y,calculatePercentageRatio:h,inPercentages:s,inPixels:w,toPercentages:P,toPixels:b}})})?r.apply(n,e):r)||(t.exports=n)}});