This code:
It works fine in Firefox, but IE says at line 2, char 23, "expected identifier". I have no idea what that means. Line 2, char 23, is right about in the middle of my second "function". Please help me!Code:var Class = function (class) { return Object (function () { var props = new Object (); props.inherit = true; props.super = function (class) { return function () { class.apply (props,arguments); }; }; if (typeof this.inherit != "undefined") { props.private = this.private; props.public = this.public; } else { props.private = new Object (); props.public = this; } class.apply (props,arguments); }); };
Thanks,
Stephen



Reply With Quote


Bookmarks