From 246907abac16095634c849653fc29ffdc2ae3825 Mon Sep 17 00:00:00 2001 From: Michael Dale Date: Thu, 12 Nov 2009 09:59:09 +0000 Subject: [PATCH] * replaced global $mw with mw ($ in front of a var should mean jQuery object) --- js2/apiProxyPage.js | 2 +- .../example_usage/Add_Media_Wizard.html | 2 +- js2/mwEmbed/libAddMedia/remoteSearchDriver.js | 6 +- .../searchLibs/archiveOrgSearch.js | 6 +- .../libAddMedia/searchLibs/flickrSearch.js | 4 +- .../libAddMedia/searchLibs/mediaWikiSearch.js | 2 +- js2/mwEmbed/libEmbedVideo/embedVideo.js | 33 ++-- js2/mwEmbed/libEmbedVideo/nativeEmbed.js | 5 +- js2/mwEmbed/libMwApi/mw.proxy.js | 2 +- js2/mwEmbed/libTimedText/mvTextInterface.js | 71 +++++---- js2/mwEmbed/mv_embed.js | 144 +++++++++--------- js2/mwEmbed/skins/ctrlBuilder.js | 6 +- js2/mwEmbed/skins/kskin/kskin.js | 31 ++-- js2/mwEmbed/skins/mvpcf/styles.css | 2 +- js2/mwEmbed/tests/testLang.js | 4 +- js2/remoteMwEmbed.js | 6 +- 16 files changed, 171 insertions(+), 155 deletions(-) diff --git a/js2/apiProxyPage.js b/js2/apiProxyPage.js index 79590cc82b..7e37959a10 100644 --- a/js2/apiProxyPage.js +++ b/js2/apiProxyPage.js @@ -8,7 +8,7 @@ * Since this is proxy server set a pre-append debug flag to know which debug msgs are coming from where */ -$mw.conf['debug_pre'] = 'Proxy'; +mw.conf['debug_pre'] = 'Proxy'; if( !mwApiProxyConfig ) var mwApiProxyConfig = {}; diff --git a/js2/mwEmbed/example_usage/Add_Media_Wizard.html b/js2/mwEmbed/example_usage/Add_Media_Wizard.html index 5e9f8935a9..05c4811235 100644 --- a/js2/mwEmbed/example_usage/Add_Media_Wizard.html +++ b/js2/mwEmbed/example_usage/Add_Media_Wizard.html @@ -14,7 +14,7 @@