conflict_resolution
stringlengths
27
16k
<<<<<<< var matchTextWithWord = require( "./stringProcessing/matchTextWithWord.js" ); var keywordCount = matchTextWithWord( this.config.text, this.config.keyword ); ======= var keywordMatches = this.preProcessor.__store.cleanTextSomeTags.match( this.keywordRegex ); var keywordCount = 0; if ( keywordMatches !==...
<<<<<<< it('that when converting an integer to a decimal, if an error occurs, returns a ' + 'BigNumber NaN instance if returnNaNOnError is set to true', () => { expect( ( cur .integerToDecimal(bigNumber('123'), 'howdy', { returnNaNOnError: true }) ).isNaN() ).to.equal(true); ...
<<<<<<< import { forEach } from "lodash-es"; import { filter } from "lodash-es"; import { memoize } from "lodash-es"; ======= var forEach = require( "lodash/forEach" ); var filter = require( "lodash/filter" ); var flattenDeep = require( "lodash/flattenDeep" ); let regexFromDoubleArray = null; let regexFromDoubleArra...
<<<<<<< export { default as Collapsible, CollapsibleStateless, StyledIconsButton, StyledContainer, StyledContainerTopLevel, wrapInHeading, } from "./Collapsible"; ======= export { default as ArticleList } from "./ArticleList"; export { default as Card, FullHeightCard } from "./Card"; export { default as CardBa...
<<<<<<< import SingleH1Assessment from "./assessments/seo/SingleH1Assessment"; ======= import { createAnchorOpeningTag } from "./helpers/shortlinker"; /** * Returns the text length assessment to use, based on whether recalibration has been * activated or not. * * @param {boolean} useRecalibration If the recalibr...
<<<<<<< [ "absurder", "absurd" ], // A word whose -t ending should be stemmed. [ "grondt", "grond" ], // A word whose -te ending needs to be stemmed. [ "zwikte", "zwik" ], // A word whose -ten ending needs to be stemmed. [ "zwikten", "zwik" ], // A word whose -de ending needs to be stemmed. [ "vlienderde", "vl...
<<<<<<< [ "absurder", "absurd" ], // A word that does not need to undergo vowel doubling after suffix -en deletion. [ "dommeriken", "dommerik" ], ]; ======= [ "absurder", "absurd" ], // A noun with diminutive suffix -je. [ "plaatje", "plaat" ], // A noun with diminutive suffix -je. [ "momentje", "moment" ], ...
<<<<<<< this.assessor.assess( this.paper ); // Pass the assessor result through to the formatter ======= this.pageAnalyzer.runQueue(); // Set the assessor if ( isUndefined( this.assessor ) ) { this.assessor = new Assessor( this.i18n ); } this.assessor.assess( this.paper ); >>>>>>> this.pageAnalyzer.run...
<<<<<<< // Italian papers import italianPaper1 from "./it/italianPaper1"; import italianPaper2 from "./it/italianPaper2"; import italianPaper3 from "./it/italianPaper3"; ======= // Spanish papers import spanishPaper1 from "./es/spanishPaper1"; import spanishPaper2 from "./es/spanishPaper2"; import spanishPaper3 from...
<<<<<<< // Indonesian papers import indonesianPaper1 from "./id/indonesianPaper1"; import indonesianPaper2 from "./id/indonesianPaper2"; import indonesianPaper3 from "./id/indonesianPaper3"; ======= // Dutch papers import dutchPaper1 from "./nl/dutchPaper1"; import dutchPaper2 from "./nl/dutchPaper2"; import dutchP...
<<<<<<< import { createComponentWithIntl } from "@yoast/helpers"; import SearchResultDetail from "../SearchResultDetail.js"; ======= import { createComponentWithIntl } from "@yoast/components"; import SearchResultDetail from "../src/SearchResultDetail"; >>>>>>> import { createComponentWithIntl } from "@yoast/helpers...
<<<<<<< export { default as questionCircle } from "./question-circle.svg"; export { default as times } from "./times.svg"; ======= export { default as questionCircle } from "./question-circle.svg"; export { default as eye } from "./eye.svg"; >>>>>>> export { default as questionCircle } from "./question-circle.svg"; ...
<<<<<<< import SendConfirmBox from './SpendConfirmBox'; ======= import FeeChange from '../../components/FeeChange'; import SendConfirmBox from './SendConfirmBox'; >>>>>>> import SendConfirmBox from './SpendConfirmBox'; import FeeChange from '../../components/FeeChange'; <<<<<<< this.sendConfirmBox = this.crea...
<<<<<<< import { YoastButton, SvgIcon } from "yoast-components"; import { colors, breakpoints } from "@yoast/style-guide"; ======= import { YoastButton, SvgIcon, YoastLinkButton } from "@yoast/components"; import { makeOutboundLink } from "@yoast/helpers"; import { colors, breakpoints } from "@yoast/components/style-...
<<<<<<< label.textContent = text; label.for = type+"Input"; ======= label.innerText = text; label.htmlFor = type+"Input"; >>>>>>> label.textContent = text; label.htmlFor = type+"Input";
<<<<<<< let aboutModal; let editListingModal; ======= let editListindModal; let debugLogModal; >>>>>>> let aboutModal; let editListindModal; let debugLogModal;
<<<<<<< }); app.loadingModal.close(); app.pageNav.navigable = true; Backbone.history.start(); ======= }).fail(() => { app.loadingModal.close(); new SimpleMessageModal() .render() .open('Unable to obtain the server configuration.', 'Is your server running?'); }); >>>>>>> }).fail(() => { app.loadingModa...
<<<<<<< dataFR = require( "../../../../packages/yoastseo/premium-configuration/data/morphologyData-fr-v5.json" ); // eslint-disable-next-line global-require dataRU = require( "../../../../packages/yoastseo/premium-configuration/data/morphologyData-ru-v6.json" ); ======= dataFR = require( "../../../../packages...
<<<<<<< <div>{(this.state.isLoading) ? "Saving.." : ""}</div> ======= <ProgressIndicator totalSteps={this.stepCount} currentStepNumber={this.getCurrentStepNumber()} /> <Step ref='step' currentStep={this.state.currentStepId} components={this.props.components} title={step.title} fields={step.fields} /> >>...
<<<<<<< FEEDBACK_LOOP: { id: 253269, name: 'Feedback Loop', icon: 'spell_holy_dispelmagic', }, ======= // Dot spell for Carafe of Searing Light REFRESHING_AGONY_DOT: { id: 253284, name: 'Refreshing Agony', icon: 'ability_priest_flashoflight', }, // Mana return spell for Carafe of S...
<<<<<<< import de from "../../premium-configuration/data/morphologyData-de-v4.json"; import nl from "../../premium-configuration/data/morphologyData-nl-v4.json"; import es from "../../premium-configuration/data/morphologyData-es-v4.json"; import ru from "../../premium-configuration/data/morphologyData-ru-v6.json"; ===...
<<<<<<< /* eslint-disable complexity */ /** ======= /** >>>>>>> /** <<<<<<< const { icon, className, color, size, iconViewBox } = this.props; let path; /* eslint-disable max-len */ switch ( icon ) { case "angle-down": path = "M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-2...
<<<<<<< var matchKeywordInSubheadings = require( "./researches/matchKeywordInSubheadings.js" ); ======= var getKeywordDensity = require( "./researches/getKeywordDensity.js" ); >>>>>>> var matchKeywordInSubheadings = require( "./researches/matchKeywordInSubheadings.js" ); var getKeywordDensity = require( "./researche...
<<<<<<< export { default as SynonymsInput } from "./SynonymsInput"; ======= export { default as WordList } from "./WordList"; >>>>>>> export { default as SynonymsInput } from "./SynonymsInput"; export { default as WordList } from "./WordList";
<<<<<<< if (fileIsDependency(currentFile)) { sourceMap = acquireSourceMapForDependency(currentFile); } let content; if (sourceMap) { needsSourceMap = true; content = Convert.removeMapFileComments(currentFile.contents); } else { co...
<<<<<<< export { default as eye } from "./eye.svg"; export { default as circle } from "./circle.svg"; ======= export { default as times } from "./times.svg"; export { default as eye } from "./eye.svg"; >>>>>>> export { default as times } from "./times.svg"; export { default as eye } from "./eye.svg"; export { defaul...
<<<<<<< var YoastSEO_args = { ======= var args = { //source to use as feeder for the analyzer and snippetPreview >>>>>>> var YoastSEO_args = { //source to use as feeder for the analyzer and snippetPreview
<<<<<<< expect( assessment.getText() ).toEqual ( "0% of the sentences contain more than 20 words, which is less than or equal to the recommended maximum of 25%." ); ======= expect( assessment.getText() ).toEqual ( "0% of the sentences contain more than 20 words, which is less than the recommended maximum of 25%."...
<<<<<<< import { SvgIcon, getRtlStyle, HelpText } from "@yoast/components"; ======= import HelpText from "yoast-components/composites/Plugin/Shared/components/HelpText"; import { SvgIcon } from "@yoast/components"; import { getDirectionalStyle } from "@yoast/helpers"; >>>>>>> import { SvgIcon, HelpText } from "@yoas...
<<<<<<< const matchTextWithArray = require( "../stringProcessing/matchTextWithArray.js" ); const buildKeywordForms = require( "./buildKeywordForms.js" ); const map = require( "lodash/map" ); const toLower = require( "lodash/toLower" ); ======= const wordMatch = require( "../stringProcessing/matchTextWithWord.js" ); c...
<<<<<<< import sv from "../../premium-configuration/data/morphologyData-sv-v9.json"; ======= import pl from "../../premium-configuration/data/morphologyData-pl-v9.json"; import ar from "../../premium-configuration/data/morphologyData-ar-v9.json"; >>>>>>> import pl from "../../premium-configuration/data/morphologyDat...
<<<<<<< var stripSpaces = require( "./stripSpaces.js" ); var filter = require( "lodash/filter" ); ======= var forEach = require( "lodash/forEach" ); >>>>>>> var stripSpaces = require( "./stripSpaces.js" ); var filter = require( "lodash/filter" ); var forEach = require( "lodash/forEach" ); <<<<<<< sentences.ma...
<<<<<<< it( "returns 1 when a transition word is found in a sentence (Hebrew)", function() { // Transition word: בגלל. mockPaper = new Paper( "ביטלנו את הטיול בגלל הגשם.", { locale: "he_IL" } ); result = transitionWordsResearch( mockPaper ); expect( result.totalSentences ).toBe( 1 ); expect( result.transitio...
<<<<<<< let mockParticiple = new SpanishParticiple( "sentido", "fue un sentido monumental y grandilocuente.", { auxiliaries: [ "fue" ], type: "irregular", language: "es", } ); expect( mockParticiple.directPrecedenceException( mockParticiple._sentencePart, mockParticiple._participle, "es" ) ).toBe( true )...
<<<<<<< ['@babel/plugin-proposal-decorators', { legacy: true }], ['@babel/plugin-proposal-class-properties', { loose: true }], '@babel/plugin-transform-modules-commonjs' ======= ['@babel/plugin-transform-modules-commonjs', {loose: true}] >>>>>>> ['@babel/plugin-proposal-decorators', { l...
<<<<<<< /** * Requests the analyses results from the worker. * * @returns {void} */ analyze() { const { actions, paper } = this.props; ======= analyze( paper = this.props.paper ) { >>>>>>> /** * Requests the analyses results from the worker. * * @returns {void} */ analyze( paper = this.props....
<<<<<<< import arabicDetermineStem from "../morphology/arabic/stem"; ======= import polishDetermineStem from "../morphology/polish/stem"; >>>>>>> import polishDetermineStem from "../morphology/polish/stem"; import arabicDetermineStem from "../morphology/arabic/stem"; <<<<<<< ar: arabicDetermineStem, ======= p...
<<<<<<< // Polish papers import polishPaper1 from "./pl/polishPaper1"; import polishPaper2 from "./pl/polishPaper2"; import polishPaper3 from "./pl/polishPaper3"; ======= // Russian papers import russianPaper1 from "./ru/russianPaper1"; import russianPaper2 from "./ru/russianPaper2"; import russianPaper3 from "./ru...
<<<<<<< function makeDirectories(dirpath, cb) { var isDir = _f.isDir(dirpath); var withCwd = dirpath.split(process.cwd()); var parts = (withCwd.length > 1) ? withCwd[1].split('/') : withCwd[0].split('/'); var dir = path.join( process.cwd(), parts.shift() ); if (parts.length) { ...
<<<<<<< import { convertToRaw } from "draft-js"; import Editor from "draft-js-plugins-editor"; import createMentionPlugin from "draft-js-mention-plugin"; import createSingleLinePlugin from "draft-js-single-line-plugin"; import flow from "lodash/flow"; import debounce from "lodash/debounce"; import isEmpty from "lodash/...
<<<<<<< import ar from "../../premium-configuration/data/morphologyData-ar-v9.json"; ======= import pl from "../../premium-configuration/data/morphologyData-pl-v9.json"; >>>>>>> import pl from "../../premium-configuration/data/morphologyData-pl-v9.json"; import ar from "../../premium-configuration/data/morphologyDat...
<<<<<<< import getWordBoundaries from "./wordBoundaries"; import * as strings from "./strings"; ======= import join from "./join"; >>>>>>> import getWordBoundaries from "./wordBoundaries"; import * as strings from "./strings"; import join from "./join"; <<<<<<< getWordBoundaries, strings, ======= join, >>>>>...
<<<<<<< /* global YoastSEO: true */ YoastSEO = ( "undefined" === typeof YoastSEO ) ? {} : YoastSEO; var isUndefined = require( "lodash/lang/isUndefined" ); var forEach = require( "lodash/collection/forEach" ); var reduce = require( "lodash/collection/reduce" ); ======= >>>>>>> var isUndefined = require( "lodash/lang...
<<<<<<< var stringToRegex = require( "../js/stringProcessing/stringToRegex.js" ); var stripHTMLTags = require( "../js/stringProcessing/stripHTMLTags.js" ); var sanitizeString = require( "../js/stringProcessing/sanitizeString.js" ); ======= var stripSpaces = require( "../js/stringProcessing/stripSpaces.js" ); >>>>>...
<<<<<<< * @param {Object} props The props for the editor * fields. * @param {Object[]} props.replacementVariables The replacement variables * for this edit...
<<<<<<< import "./index.css"; import App from "./App"; ======= // Internal dependencies. import './index.css'; import App from './App'; >>>>>>> // Internal dependencies. import "./index.css"; import App from "./App";
<<<<<<< var passiveVoice = require( "./researches/passiveVoice.js" ); ======= var getSentenceBeginnings = require( "./researches/getSentenceBeginnings.js" ); >>>>>>> var passiveVoice = require( "./researches/passiveVoice.js" ); var getSentenceBeginnings = require( "./researches/getSentenceBeginnings.js" ); <<<<<<< ...
<<<<<<< <FacebookPreview siteName="yosat.com" title="YoastCon Workshops" src="https://yoast.com/app/uploads/2015/06/How_to_choose_keywords_FI.png" /> ======= <FacebookPreview siteName="yoast.com" description="Description to go along with a landscape image." src="https://yoast.com/app/...
<<<<<<< // Yoast dependencies. import { SvgIcon, Button, ScreenReaderText } from "@yoast/components"; import { colors } from "@yoast/components/style-guide"; ======= /* Yoast dependencies */ import { SvgIcon, ScreenReaderText } from "@yoast/components"; import { colors } from "@yoast/style-guide"; import { Button } f...
<<<<<<< metaDesc = this.refObj.pluggable._applyModifications( "data_meta_desc", metaDesc ); // If no meta has been set, generate one. if ( isEmpty( metaDesc ) ) { metaDesc = this.getMetaText(); } if ( !isEmpty( this.opts.metaDescriptionDate ) ) { ======= if ( !isEmpty( this.opts.metaDescriptionDate ) && !i...
<<<<<<< const reject = require( "lodash/reject" ); const isEmpty = require( "lodash/isEmpty" ); ======= import { escapeRegExp } from "lodash-es"; import { reject } from "lodash-es"; import { isEmpty } from "lodash-es"; >>>>>>> import { reject } from "lodash-es"; import { isEmpty } from "lodash-es";
<<<<<<< import PropTypes from "prop-types"; import "./buttons.css"; ======= import Button, { sharedButtonPropTypes, sharedButtonDefaultProps } from "./Button"; import { __ } from "@wordpress/i18n"; >>>>>>> import PropTypes from "prop-types"; import "./buttons.css"; import { __ } from "@wordpress/i18n";
<<<<<<< let sentencePart = this.getSentencePart(); const participle = this.getParticiple(); let language = this.getLanguage(); ======= const sentencePart = this.getSentencePart(); const participleIndex = sentencePart.indexOf( this.getParticiple() ); const language = this.getLanguage(); >>>>>>> const sentenceP...
<<<<<<< ======= this.optionalAttributes = this.parseOptionalAttributes(); >>>>>>> this.optionalAttributes = this.parseOptionalAttributes(); <<<<<<< <Textarea name={this.props.name} id={this.props.name} onChange={this.props.onChange} optionalAttributes={this...
<<<<<<< // Dutch papers import dutchPaper1 from "./nl/dutchPaper1"; import dutchPaper2 from "./nl/dutchPaper2"; import dutchPaper3 from "./nl/dutchPaper3"; ======= // Catalan papers import catalanPaper1 from "./ca/catalanPaper1"; import catalanPaper2 from "./ca/catalanPaper2"; import catalanPaper3 from "./ca/catalan...
<<<<<<< ======= * Returns the metaDescription, includes the date if it is set. * * @returns {string} */ var getMetaDesc = function() { var metaDesc = this.data.metaDesc; if ( !isEmpty( this.opts.metaDescriptionDate ) && !isEmpty( metaDesc ) ) { metaDesc = this.opts.metaDescriptionDate + " - " + this.data.met...
<<<<<<< var findKeywordInPageTitle = require( "./researches/findKeywordInPageTitle.js" ); var getKeywordDensity = require( "./analyses/getKeywordDensity.js" ); var countImages = require( "./analyses/getImageStatistics.js" ); var countLinks = require( "./researches/getLinkStatistics.js" ); ======= var findKeywordInPag...
<<<<<<< let otherAuxiliariesInfinitive = [ "avoir", "aller", "venir", "devoir", "pouvoir", "sembler", "paraître", "paraitre", "mettre", "finir", "d'avoir", "d'aller", "n'avoir", "l'avoir" ]; ======= const otherAuxiliariesInfinitive = [ "avoir", "aller", "venir", "devoir", "pouvoir", "sembler", "paraître", "paraitre...
<<<<<<< this.source = new this.config.source( args, this ); this.plugins = new YoastSEO.Plugins(); this.checkInputs(); ======= this.source = this.config.source; this.callbacks = this.config.callbacks; >>>>>>> this.plugins = new YoastSEO.Plugins(); this.checkInputs(); this.callbacks = this.config.callbacks;
<<<<<<< onClick: ( evt ) => { this.props.onClick( name, evt ) ======= // See github.com/Yoast/wordpress-seo/issues/5530. tooltipStyles: { userSelect: "auto", }, onClick: () => { this.props.onClick( name ) >>>>>>> // See github.com/Yoast/wordpress-seo/issues/5530. ...
<<<<<<< // Plurals ending in -is/-os/-us. [ "vrais", "vrai" ], [ "numéros", "numéro" ], [ "trous", "trou" ], // Exceptions for which -is/-os/-us should not be stemmed. [ "bis", "bis" ], [ "diffus", "diffus" ], [ "clos", "clos" ], ======= // Words with the plural suffix -x. [ "baux", "bau" ], [ "feux", "feu...
<<<<<<< isDescriptionGenerated: this.state.isDescriptionGenerated, onClick: onClick.bind( null, "description" ), onMouseOver: partial( onMouseOver, "description" ), onMouseLeave: partial( onMouseLeave, "description" ), ======= isDescriptionGenerated: isDescriptionGenerated, onMouseUp: onMouseUp.bind...
<<<<<<< isMulti, isSearchable, ======= inputId, >>>>>>> isMulti, isSearchable, inputId, <<<<<<< name={ name } ======= inputId={ inputId } name={ `${ name }[]` } >>>>>>> name={ name } inputId={ inputId } <<<<<<< YoastReactSelect.propTypes = selectProps; YoastReactSelect.defaultPro...
<<<<<<< import FacebookTitle from "./FacebookTitle"; ======= import FacebookDescription from "./FacebookDescription"; >>>>>>> import FacebookTitle from "./FacebookTitle"; import FacebookDescription from "./FacebookDescription"; <<<<<<< <FacebookTitle title={ props.title } /> ======= <FacebookDescription des...
<<<<<<< js.setAttribute('id', 'frozenCookieScript'); js.setAttribute('src', 'https://raw.github.com/Icehawk78/FrozenCookies/master/frozen_cookies.js'); ======= js.setAttribute('src', 'http://icehawk78.github.io/FrozenCookies/frozen_cookies.js'); >>>>>>> js.setAttribute('id', 'frozenCookieScript'); j...
<<<<<<< spell: SPELLS.AVENGING_WRATH, category: Abilities.SPELL_CATEGORIES.COOLDOWNS, ======= spell: SPELLS.AVENGING_WRATH_RET, buffSpellId: SPELLS.AVENGING_WRATH_RET.id, category: Abilities.SPELL_CATEGORIES.SEMI_DEFENSIVE, >>>>>>> spell: SPELLS.AVENGING_WRATH, ...
<<<<<<< var wordCountInText = require( "./researches/wordCountInText.js" ); ======= // assessments var wordCount = require( "./stringProcessing/countWords.js" ); var getLinkStatistics = require( "./analyses/getLinkStatistics.js" ); >>>>>>> // assessments var wordCountInText = require( "./researches/wordCountInText...
<<<<<<< // German papers import germanPaper1 from "./de/germanPaper1"; ======= // French papers import frenchPaper1 from "./fr/frenchPaper1"; import frenchPaper2 from "./fr/frenchPaper2"; import frenchPaper3 from "./fr/frenchPaper3"; >>>>>>> // German papers import germanPaper1 from "./de/germanPaper1"; // French...
<<<<<<< // At this point the desktop view is scrollable: set a CSS class to show the Scroll Hint message. domManipulation.addClass( this.viewElement, "snippet-editor__view--desktop-has-scroll" ); } else { this.setDesktopMode(); } }; /** * When the window is resized, sets the visibilty of the Scroll Hint messa...
<<<<<<< }); describe( "The SnippetPreview format functions", function(){ it( "formats texts to use in the SnippetPreview", function(){ // Makes lodash think this is a valid HTML element var mockElement = []; mockElement.nodeType = 1; var mockApp = { rawData: { snippetTitle: "<span>snippetTitle</span>"...
<<<<<<< import getResults from "../specHelpers/getAssessorResults"; let Assessor = require( "../../js/cornerstone/seoAssessor.js" ); let Paper = require( "../../js/values/Paper.js" ); ======= let Assessor = require( "../../src/cornerstone/seoAssessor.js" ); let Paper = require( "../../src/values/Paper.js" ); >>>>>>>...
<<<<<<< const collectTopicForms = require( "../researches/buildKeywordForms" ).collectForms; ======= const isEqual = require( "lodash/isEqual" ); >>>>>>> const isEqual = require( "lodash/isEqual" ); const collectTopicForms = require( "../researches/buildKeywordForms" ).collectForms; <<<<<<< /** * Check whether ke...
<<<<<<< import arabicFunctionWordsFactory from "../researches/arabic/functionWords.js"; const arabicFunctionWords = arabicFunctionWordsFactory(); ======= import hebrewFunctionWordsFactory from "../researches/hebrew/functionWords.js"; const hebrewFunctionWords = hebrewFunctionWordsFactory(); >>>>>>> import hebrewFunc...
<<<<<<< import Toggle from "../composites/Plugin/Shared/components/Toggle.js" ======= import IconLabelledButton from "../composites/Plugin/Shared/components/IconLabelledButton"; >>>>>>> import Toggle from "../composites/Plugin/Shared/components/Toggle.js" import IconLabelledButton from "../composites/Plugin/Shared/c...
<<<<<<< import Paper from 'material-ui/Paper'; import RaisedButton from 'material-ui/RaisedButton'; import YoastLogo from './YoastLogo'; ======= >>>>>>> import RaisedButton from 'material-ui/RaisedButton'; import YoastLogo from './YoastLogo'; <<<<<<< for ( let stepIndex = 0; stepIndex < stepKeyNamesLength; stepIn...
<<<<<<< import hungarianDetermineStem from "../morphology/hungarian/stem"; ======= import hebrewDetermineStem from "../morphology/hebrew/stem"; >>>>>>> import hungarianDetermineStem from "../morphology/hungarian/stem"; import hebrewDetermineStem from "../morphology/hebrew/stem"; <<<<<<< hu: hungarianDetermineStem...
<<<<<<< assessments.keywordDensity = require( "./assessments/keywordDensity.js" ); ======= assessments.metaDescriptionLength = require( "./assessments/metaDescriptionLength.js" ); >>>>>>> assessments.keywordDensity = require( "./assessments/keywordDensity.js" ); assessments.metaDescriptionLength = require( "./assess...
<<<<<<< const wordMatch = require( "../stringProcessing/matchTextWithWord.js" ); const findTopicFormsInString = require( "./findKeywordFormsInString.js" ).findTopicFormsInString; ======= import wordMatch from "../stringProcessing/matchTextWithWord.js"; >>>>>>> import wordMatch from "../stringProcessing/matchTextWith...
<<<<<<< // Irregular plurals. [ "курицу", "куриц" ], [ "кур", "куриц" ], [ "ребёнок", "ребёнк" ], [ "детей", "ребёнк" ], [ "ребята", "ребёнк" ], [ "уху", "ухо" ], [ "ушами", "ухо" ], ======= // Words that belong to doNotStemSuffix exceptions [ "космодром", "космодром" ], [ "детдом", "детдом" ], [ "альмана...
<<<<<<< expect(analyzeScore[3].text).toBe("The focus keyword doesn&#39;t appear in the first paragraph of the copy, make sure the topic is clear immediately."); ======= expect(analyzeScore[3].text).toBe("The focus keyword doesn't appear in the first paragraph of the copy. Make sure the topic is clear im...
<<<<<<< ======= /** * SoupSpec constructor */ var SoupSpec = function (soupName, features) { this.soupName = soupName; this.features = features; }; >>>>>>> /** * SoupSpec constructor */ var SoupSpec = function (soupName, features) { this.soupName = soupName; this.features = features; }; <<<<<<...
<<<<<<< expect( assessment.getText() ).toBe( "5% of the sentences contain a passive voice, which is less than or equal to the recommended maximum of 10%." ); ======= expect( assessment.getText() ).toBe( "5% of the sentences is written in the passive voice, which is within the recommended range." ); expect( asse...
<<<<<<< ======= const angleRight = ( color ) => "data:image/svg+xml;charset=utf8," + encodeURIComponent( '<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg">' + '<path fill="' + color + '" d="M1152 896q0 26-19 45l-448 448q-19 19-45 19t-45-19-19-45v-896q0-26 19-45t45-19 45 19l...
<<<<<<< /* global YoastSEO: true */ YoastSEO = ( "undefined" === typeof YoastSEO ) ? {} : YoastSEO; var calculateFleschReading = require( "./analyses/calculateFleschReading.js" ); var checkStringForStopwords = require( "./analyses/checkStringForStopwords.js" ); var checkUrlForStopwords = require( "./analyses/checkUrlF...
<<<<<<< var countSentencesFromText = require( "./researches/countSentencesFromText.js" ); var countSentencesFromDescription = require( "./researches/countSentencesFromDescription.js" ); ======= var getSubheadingLength = require( "./researches/getSubheadingLength.js" ); >>>>>>> var countSentencesFromText = require( "...
<<<<<<< var metaText; if(typeof this.refObj.source.formattedData.excerpt !== "undefined"){ metaText = this.refObj.source.formattedData.excerpt.substring(0, analyzerConfig.maxMeta); } if(metaText === ""){ var indexMatches = this.getIndexMatches(); var periodMatches = this.getPerio...
<<<<<<< this._scheduler = new Scheduler(); this._paper = new Paper( "" ); ======= this._scheduler = new Scheduler( { resetQueue: false } ); this._paper = new Paper( "", {} ); this._relatedKeywords = {}; >>>>>>> this._scheduler = new Scheduler(); this._paper = new Paper( "", {} ); this._relatedKe...
<<<<<<< let data, dataDe, dataNL, dataES, dataFR, dataRU, dataIT, dataPT, dataID, dataPL, dataAR, dataSV, dataHE, dataHU, dataTR = {}; ======= let data, dataDe, dataNL, dataES, dataFR, dataRU, dataIT, dataPT, dataID, dataPL, dataAR, dataSV, dataHE, dataHU, dataNB = {}; >>>>>>> let data, dataDe, dataNL, dataES, da...
<<<<<<< "findKeywordInPageTitle": findKeywordInPageTitle, ======= "calculateFleschReading": calculateFleschReading, >>>>>>> "findKeywordInPageTitle": findKeywordInPageTitle, "calculateFleschReading": calculateFleschReading,
<<<<<<< describe( "A test for filtering function words in supported languages", function() { // Function word: nitten const forms = buildStems( "nitten katter", "nb", false ); expect( forms ).toEqual( new TopicPhrase( [ new StemOriginalPair( "katter", "katter" ) ], false ) ); } ); ======= describe( "A te...
<<<<<<< <FacebookSiteName siteName={ props.siteName } /> <FacebookTitle title={ props.title } /> ======= <FacebookSiteAndAuthorNames siteName={ props.siteName } authorName={ props.authorName } /> >>>>>>> <FacebookSiteAndAuthorNames siteName={ props.siteName } authorName={ props.authorName } /> <Facebo...
<<<<<<< ======= const ToggleDiv = styled.div` display: flex; width: 100%; justify-content: space-between; align-items: center; `; >>>>>>>
<<<<<<< console.log( relevantWords ); return getKeywordComponent( relevantWords, keywordLimit ); ======= const keywords = relevantWords.slice( 0, keywordLimit ).map( word => { return isFeatureEnabled( "improvedInternalLinking" ) ? word.getWord() : word.getCombination(); } ); return ( <WordList title={ __( "...
<<<<<<< var paragraphTooLong = require( "./assessments/paragraphTooLongAssessment.js" ); var paragraphTooShort = require( "./assessments/paragraphTooShortAssessment.js" ); ======= var subHeadingLength = require( "./assessments/getSubheadingLengthAssessment.js" ); >>>>>>> var paragraphTooLong = require( "./assessme...
<<<<<<< var findKeywordInPageTitle = require( "./researches/findKeywordInPageTitle.js" ); ======= var getLinkStatistics = require( "./analyses/getLinkStatistics.js" ); var matchKeywordInSubheadings = require( "./researches/matchKeywordInSubheadings.js" ); var getKeywordDensity = require( "./researches/getKeywordDensi...
<<<<<<< assessments.metaDescriptionKeyword = require ( "./assessments/metaDescriptionKeyword.js" ); ======= assessments.imageCount = require( "./assessments/imageCount.js" ); >>>>>>> assessments.metaDescriptionKeyword = require ( "./assessments/metaDescriptionKeyword.js" ); assessments.imageCount = require( "./asses...
<<<<<<< mobileWidth: PropTypes.number, ======= descriptionEditorFieldPlaceholder: PropTypes.string, >>>>>>> descriptionEditorFieldPlaceholder: PropTypes.string, mobileWidth: PropTypes.number,
<<<<<<< class: function(){if (ctx.cellDistance<14) return 'groupLabel groupLabelText small'; else return 'groupLabel groupLabelText'}, ======= class: function () { if (ctx.cellDistance < 14) return 'groupLabel small'; else return 'groupLabel' }, >>>...
<<<<<<< .on('click', function (d) { //createSelectionForSubSetBar( d ); var selection = Selection.fromSubset(d.data.combinedSets); selections.addSelection(selection); selections.setActive(selection); }) .attr({ ...
<<<<<<< import VisComponent from '../../VisComponent'; import vcharts from '../../../vcharts'; ======= import vega from '../../util/vega'; >>>>>>> import VisComponent from '../../VisComponent'; import vega from '../../util/vega'; <<<<<<< super(el); this.chart = vcharts.chart(spec, el, options); ======= ...