This project is archived and is in readonly mode.

#345 ✓invalid
chessmani

Class options: initialize, documentation

Reported by chessmani | August 29th, 2008 @ 05:27 PM | in 2.0 (closed)

Hi there. The documentation doesn't mention that you can add initialize in options. From Class.js:


if (this.options && this.options.initialize) this.options.initialize.call(this);

I discovered this from a piece of code I saw from http://www.virtualaction.net/wor... where initialize was added as an option.

Comments and changes to this ticket

  • chessmani

    chessmani August 29th, 2008 @ 05:36 PM

    • Title changed from “Class options: initialize” to “Class options: initialize, documentation”
    • Tag changed from 1.2, docs to 1.2, core, docs
  • Jan Kassens

    Jan Kassens August 29th, 2008 @ 06:26 PM

    • State changed from “new” to “open”
  • Valerio

    Valerio June 14th, 2009 @ 03:07 AM

    • State changed from “open” to “invalid”
    • Tag changed from 1.2, core, docs to docs

    There's a reason the documentation doesnt mention it: it was intented for internal usage, and will probably be removed in future versions.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Tags

Referenced by

Pages