| author | ymh <ymh.work@gmail.com> |
| Thu, 10 Apr 2014 17:30:29 +0200 | |
| changeset 630 | 36ef50b63372 |
| parent 602 | e16a97fb364a |
| permissions | -rw-r--r-- |
YUI.add("widget-skin",function(e,t){var n="boundingBox",r="contentBox",i="skin",s=e.ClassNameManager.getClassName;e.Widget.prototype.getSkinName=function(e){var t=this.get(r)||this.get(n),o,u;return e=e||s(i,""),u=new RegExp("\\b"+e+"(\\S+)"),t&&t.ancestor(function(e){return o=e.get("className").match(u),o}),o?o[1]:null}},"@VERSION@",{requires:["widget-base"]});