JSHint fixes for word-count.js and wp-mediaelement.js. see #25187.

git-svn-id: https://develop.svn.wordpress.org/trunk@26209 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2013-11-15 06:51:23 +00:00
parent 3999d50cea
commit 92f9cc1d5f
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,5 @@
/* global wordCountL10n */
var wpWordCount;
(function($,undefined) { (function($,undefined) {
wpWordCount = { wpWordCount = {
@ -34,7 +36,7 @@
setTimeout( function() { t.block = 0; }, 2000 ); setTimeout( function() { t.block = 0; }, 2000 );
}, 1 ); }, 1 );
} }
} };
$(document).bind( 'wpcountwords', function(e, txt) { $(document).bind( 'wpcountwords', function(e, txt) {
wpWordCount.wc(txt); wpWordCount.wc(txt);

View File

@ -1,3 +1,4 @@
/* global mejs, _wpmejsSettings */
(function ($) { (function ($) {
// add mime-type aliases to MediaElement plugin support // add mime-type aliases to MediaElement plugin support
mejs.plugins.silverlight[0].types.push('video/x-ms-wmv'); mejs.plugins.silverlight[0].types.push('video/x-ms-wmv');