r105709 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105708‎ | r105709 | r105710 >
Date:20:38, 9 December 2011
Author:yonishostak
Status:ok (Comments)
Tags:
Comment:
AFTv5: fixed aft_debug?
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/modules/ext.articleFeedbackv5/ext.articleFeedbackv5.startup.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/modules/ext.articleFeedbackv5/ext.articleFeedbackv5.startup.js
@@ -7,7 +7,7 @@
88 *
99 * @param any Output message
1010 */
11 -var aft5_debug = function( any ) {
 11+aft5_debug = function( any ) {
1212 if ( typeof console != 'undefined' ) {
1313 console.log( any );
1414 }
@@ -15,7 +15,7 @@
1616
1717 /*** Main entry point ***/
1818 jQuery( function( $ ) {
19 -
 19+
2020 // Load check, is this page ArticleFeedbackv5-enabled ?
2121 // Keep in sync with ApiArticleFeedbackv5.php
2222 if (

Comments

#Comment by Catrope (talk | contribs)   20:27, 12 December 2011

If this doesn't work, try window.aft5_debug .

Status & tagging log