Opened 12 years ago

Last modified 12 years ago

#8781 closed enhancement

[dojox.image] LightboxNano can be reduced some — at Version 1

Reported by: dante Owned by: cb1kinobi
Priority: low Milestone: 1.3
Component: Dojox Version: 1.3.0b2
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by dante)

None of the _private members that are null need to exist in the declare call if you are only checking truthyness or populating it as part of the buildup. they can remain inline for comments but stripped from a build if you wrap them in the doc syntax:

/*=====
    // member: String
    //   blal blah
    member: null
=====*/

}}}}

this will make the overall size smaller. Also, in 1.3/trunk there is dojo.create which could be utilized in some places you are using dojo.doc.createElement.

Change History (1)

comment:1 Changed 12 years ago by dante

Description: modified (diff)
Note: See TracTickets for help on using tickets.