Re: Safe to use %% lines?
Pedro Melo <[email protected]> Tue, 22 Jan 2013 14:48:16 +0000
| Newsgroups | gmane.comp.web.mason.user |
|---|---|
| Message-ID | <CACCxPi2BEdgOL+c1yRGyD7KTG3sX8zRODCp=1DYmrn39ADix+A@mail.gmail.com> |
Hi, On Tue, Jan 22, 2013 at 12:35 PM, Allan Engelhardt <[email protected]>wrote: > For Mason 2, Mason::Compilation implements %% lines which do not appear to > be documented in Mason::Manual::Syntax. They whack the rest of the line > into the class header (_add_to_class_block) as opposed to the current > method. Is it “safe” to use these lines, for a definition of safe that > roughly means ‘this functionality is unlikely to go away in the future’ or > should I just code my components properly and stop hacking around? I'm really not sure… I never used that, and didn't noticed that it was possible. what's the benefit over placing your code inside <%class></%class>? Bye, -- Pedro Melo @pedromelo http://www.simplicidade.org/ http://about.me/melo xmpp:[email protected] mailto:[email protected] ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Mason-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mason-users