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:
parent
3999d50cea
commit
92f9cc1d5f
@ -1,3 +1,5 @@
|
||||
/* global wordCountL10n */
|
||||
var wpWordCount;
|
||||
(function($,undefined) {
|
||||
wpWordCount = {
|
||||
|
||||
@ -34,7 +36,7 @@
|
||||
setTimeout( function() { t.block = 0; }, 2000 );
|
||||
}, 1 );
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
$(document).bind( 'wpcountwords', function(e, txt) {
|
||||
wpWordCount.wc(txt);
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* global mejs, _wpmejsSettings */
|
||||
(function ($) {
|
||||
// add mime-type aliases to MediaElement plugin support
|
||||
mejs.plugins.silverlight[0].types.push('video/x-ms-wmv');
|
||||
|
Loading…
Reference in New Issue
Block a user