dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Datatable: Unify `padding` with `.wikitable`"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.template.mustache.js
diff --git
a/resources/src/mediawiki.template.mustache.js
b/resources/src/mediawiki.template.mustache.js
index
c3139a2
..
de519cb
100644
(file)
--- a/
resources/src/mediawiki.template.mustache.js
+++ b/
resources/src/mediawiki.template.mustache.js
@@
-1,5
+1,5
@@
/* global Mustache */
/* global Mustache */
-( function (
mw, $
) {
+( function () {
// Register mustache compiler
mw.template.registerCompiler( 'mustache', {
compile: function ( src ) {
// Register mustache compiler
mw.template.registerCompiler( 'mustache', {
compile: function ( src ) {
@@
-21,7
+21,7
@@
render: function ( data, partialTemplates ) {
var partials = {};
if ( partialTemplates ) {
render: function ( data, partialTemplates ) {
var partials = {};
if ( partialTemplates ) {
- /
* eslint-disable-next-line no-restricted-properties */
+ /
/ eslint-disable-next-line jquery/no-each-util
$.each( partialTemplates, function ( name, template ) {
partials[ name ] = template.getSource();
} );
$.each( partialTemplates, function ( name, template ) {
partials[ name ] = template.getSource();
} );
@@
-32,4
+32,4
@@
}
} );
}
} );
-}(
mediaWiki, jQuery
) );
+}() );