| author | ymh <ymh.work@gmail.com> |
| Fri, 14 Mar 2014 13:16:10 +0100 | |
| changeset 611 | fa66f4bb1563 |
| parent 602 | e16a97fb364a |
| permissions | -rw-r--r-- |
| 602 | 1 |
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"]}); |