News for hackers. Stuff that matters.
Re:Enterprise Javascript is... by DougWebb on Tuesday October 19, 2010 @09:50AM (#1807087)
Namespacing seems fine, but to torture the declaration syntax as shown on the site in order to get the Java-like com.domain.package.class.method() syntax is wrong. Just use underscores in the name rather than periods and use the syntax properly.
Re:Enterprise Javascript is... by toolate on Tuesday October 19, 2010 @08:13PM (#1809397)
Not to mention, the next library you load will clobber the `com` variable.