Swtiched to using console.log if present so that when errors occur inside of modules...
authorTrevor Parscal <tparscal@users.mediawiki.org>
Tue, 29 Mar 2011 22:08:57 +0000 (22:08 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Tue, 29 Mar 2011 22:08:57 +0000 (22:08 +0000)
commitf8c7a87b621ed74d671f9ffa2852347d4efe08a6
tree7e9e298b4197681de1abe2eaab38f659111f8341
parentabac725359ccdb3ceb8e564d3373966e9946759d
Swtiched to using console.log if present so that when errors occur inside of modules they are shown, even if you aren't in debug mode. This helps avoid the common pitfall of forgetting to export a symbol to the global space, because in debug mode everything is exported to the global space whereas in production mode it's wrapped in a closure.
resources/mediawiki/mediawiki.js