Diff
checker
Texte
Texte
Images
Documents
Excel
Dossiers
Legal
Enterprise
Application de bureau
Prix
Se connecter
Télécharger Diffchecker Desktop
Comparer le texte
Trouver la différence entre deux fichiers texte
Outils
Historique
Éditeur live
Masquer les espaces
Cacher identiques
Sans retour à la ligne
Vue
Divisé
Unifié
Niveau de précision
Intelligent
Mot
Caractère
Styles de texte
Modifier l’apparence
Coloration syntaxique
Choisir la syntaxe
Ignorer
Transformer le texte
Aller au premier écart
Modifier l'entrée
Diffchecker Desktop
La façon la plus sécurisée d'utiliser Diffchecker. Obtenez l'application Diffchecker Desktop : vos diffs ne quittent jamais votre ordinateur !
Obtenir Desktop
Untitled diff
Créé
il y a 8 ans
Le diff n'expire jamais
Effacer
Exporter
Partager
Les deux textes sont identiques
Il n'y a aucune différence entre ces deux textes
0 suppressions
Lignes
Total
Supprimé
Caractères
Total
Supprimé
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
24 lignes
Copier tout
0 ajouts
Lignes
Total
Ajouté
Caractères
Total
Ajouté
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
24 lignes
Copier tout
"use strict";
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _reactHelmet = _interopRequireDefault(require("react-helmet"));
var _reactHelmet = _interopRequireDefault(require("react-helmet"));
exports.onRenderBody = function (_ref, pluginOptions) {
exports.onRenderBody = function (_ref, pluginOptions) {
var setHeadComponents = _ref.setHeadComponents,
var setHeadComponents = _ref.setHeadComponents,
setHtmlAttributes = _ref.setHtmlAttributes,
setHtmlAttributes = _ref.setHtmlAttributes,
setBodyAttributes = _ref.setBodyAttributes;
setBodyAttributes = _ref.setBodyAttributes;
var helmet = _reactHelmet.default.renderStatic(); // These action functions were added partway through the Gatsby 1.x cycle.
var helmet = _reactHelmet.default.renderStatic(); // These action functions were added partway through the Gatsby 1.x cycle.
if (setHtmlAttributes) {
if (setHtmlAttributes) {
setHtmlAttributes(helmet.htmlAttributes.toComponent());
setHtmlAttributes(helmet.htmlAttributes.toComponent());
}
}
if (setBodyAttributes) {
if (setBodyAttributes) {
setBodyAttributes(helmet.bodyAttributes.toComponent());
setBodyAttributes(helmet.bodyAttributes.toComponent());
}
}
setHeadComponents([helmet.title.toComponent(), helmet.link.toComponent(), helmet.meta.toComponent(), helmet.noscript.toComponent(), helmet.script.toComponent(), helmet.style.toComponent()]);
setHeadComponents([helmet.title.toComponent(), helmet.link.toComponent(), helmet.meta.toComponent(), helmet.noscript.toComponent(), helmet.script.toComponent(), helmet.style.toComponent()]);
};
};
Différences enregistrées
Texte d'origine
Ouvrir un fichier
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _reactHelmet = _interopRequireDefault(require("react-helmet")); exports.onRenderBody = function (_ref, pluginOptions) { var setHeadComponents = _ref.setHeadComponents, setHtmlAttributes = _ref.setHtmlAttributes, setBodyAttributes = _ref.setBodyAttributes; var helmet = _reactHelmet.default.renderStatic(); // These action functions were added partway through the Gatsby 1.x cycle. if (setHtmlAttributes) { setHtmlAttributes(helmet.htmlAttributes.toComponent()); } if (setBodyAttributes) { setBodyAttributes(helmet.bodyAttributes.toComponent()); } setHeadComponents([helmet.title.toComponent(), helmet.link.toComponent(), helmet.meta.toComponent(), helmet.noscript.toComponent(), helmet.script.toComponent(), helmet.style.toComponent()]); };
Texte modifié
Ouvrir un fichier
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _reactHelmet = _interopRequireDefault(require("react-helmet")); exports.onRenderBody = function (_ref, pluginOptions) { var setHeadComponents = _ref.setHeadComponents, setHtmlAttributes = _ref.setHtmlAttributes, setBodyAttributes = _ref.setBodyAttributes; var helmet = _reactHelmet.default.renderStatic(); // These action functions were added partway through the Gatsby 1.x cycle. if (setHtmlAttributes) { setHtmlAttributes(helmet.htmlAttributes.toComponent()); } if (setBodyAttributes) { setBodyAttributes(helmet.bodyAttributes.toComponent()); } setHeadComponents([helmet.title.toComponent(), helmet.link.toComponent(), helmet.meta.toComponent(), helmet.noscript.toComponent(), helmet.script.toComponent(), helmet.style.toComponent()]); };
Trouver la différence