chart renderer missing end }

When trying to duplicate the example Ext.chart.series.Pie an copying the renderer function, the last } is missing in the code view. If I add it manually the the entire entry disappear. I am using version 1.2.3 build 52