NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item2489: WysiwygPlugin Constants should use export instead of aliasing it to some WC module

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Enhancement New Extension WysiwygPlugin  
FoswikiTrunk:WysiwygPlugin/lib/Foswiki/Plugins/WysiwygPlugin/Constants.pm has a hack at the end to alias its own module to WC:: so other plugins can use $WC::CONSTANT or WC::function, instead of the fully qualified name Foswiki::Plugins::WysiwygPlugin::Constants::CONSTANT.

Even though this works fine, it's hackish, and would be much more cleaner using the EXPORT mechanism.

Rem: one would have to benchmark it to ensure EXPORT will not slow things down, or at least not too much

-- OlivierRaginel - 10 Dec 2009


ItemTemplate edit

Summary WysiwygPlugin Constants should use export instead of aliasing it to some WC module
ReportedBy OlivierRaginel
Codebase 1.0.8, trunk
SVN Range
AppliesTo Extension
Component WysiwygPlugin
Priority Enhancement
CurrentState New
WaitingFor
Checkins
TargetRelease patch
ReleasedIn
Topic revision: r1 - 10 Dec 2009, OlivierRaginel
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads