1jvm.VMLCircleElement = function(config, style){ 2 jvm.VMLCircleElement.parentClass.call(this, 'oval', config, style); 3}; 4 5jvm.inherits(jvm.VMLCircleElement, jvm.VMLShapeElement); 6 7jvm.VMLCircleElement.prototype.applyAttr = function(attr, value){ 8 switch (attr) { 9 case 'r': 10 this.node.style.width = value*2+'px'; 11 this.node.style.height = value*2+'px'; 12 this.applyAttr('cx', this.get('cx') || 0); 13 this.applyAttr('cy', this.get('cy') || 0); 14 break; 15 case 'cx': 16 if (!value) return; 17 this.node.style.left = value - (this.get('r') || 0) + 'px'; 18 break; 19 case 'cy': 20 if (!value) return; 21 this.node.style.top = value - (this.get('r') || 0) + 'px'; 22 break; 23 default: 24 jvm.VMLCircleElement.parentClass.prototype.applyAttr.call(this, attr, value); 25 } 26};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.