Changes

m
debug log
Line 1: Line 1:  +
console.log('sm2 loaded');
 
$(window).load(function(){
 
$(window).load(function(){
 +
console.log('sm2 init');
 
/**
 
/**
 
  * Prepares file links so that SoundManager 2 can modify them.
 
  * Prepares file links so that SoundManager 2 can modify them.
Line 8: Line 10:     
  if (mw.loader.getState('ext.wfSoundManager2Button') === null) {
 
  if (mw.loader.getState('ext.wfSoundManager2Button') === null) {
 +
console.log('sm2 install');
 
/**
 
/**
 
  * Complex code that is added upon "SoundManager 2" (SM2) installation.
 
  * Complex code that is added upon "SoundManager 2" (SM2) installation.
15

edits