Commit a4d49e9d authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Fix crash in IE8 when loading a class into view.

Caused by the fact that IE8 doesn't allow the reserved keyword 'enum' to
be used inside a member expression, like so:

    someObj.enum

So I had to rewrite it like so:

    someObj["enum"]

IE9 and other browsers didn't have a problem with that.
parent dc037415
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -23,8 +23,8 @@ Ext.define('Docs.view.cls.Header', {
                '<tpl if="singleton">',
                    '<span>singleton</span>',
                '</tpl>',
                '<tpl if="enum">',
                    '<span>enum of <b>{enum.type}</b></span>',
                '<tpl if="values[\'enum\']">',
                    '<span>enum of <b>{[values["enum"].type]}</b></span>',
                '</tpl>',
                '{[this.renderAliases(values.aliases)]}',
                '{[this.renderMetaTags(values.meta)]}',