How to use warningMessage method in storybook-root

Best JavaScript code snippet using storybook-root

words.js

Source:words.js Github

copy

Full Screen

1exports.PositiveSearchList = [ 2 "sibling",3 "councilperson",4 "anchorwoman",5 "assemblywoman",6 "bagwoman",7 "bondswoman",8 "brakewoman",9 "sistren",10 "bride's attendant",11 "sisterhood",12 "sisterly",13 "businesswoman",14 "camerawoman",15 "camerawomen",16 "cattlewomen",17 "cavewomen",18 "cavewoman",19 "chairwoman",20 "congresswoman",21 "cowgirl",22 "crewmember",23 "doorperson",24 "motherhood",25 "firewoman",26 "forebears",27 "forewoman",28 "frontwoman",29 "goddess",30 "grandmothered",31 "she",32 "her",33 "hers",34 "she's",35 "homemaker",36 "jill-of-all-trades",37 "journeywoman",38 "queen",39 "layperson",40 "lumberjill",41 "honored attendant",42 "mailwoman",43 "crewed",44 "maintenance hole",45 "womankind",46 "womanly",47 "womanmade",48 "womanpower",49 "markswoman",50 "skillful",51 "mx",52 "mx",53 "paper carrier",54 "newswoman",55 "no-woman's-land",56 "noblewoman",57 "person not included",58 "policewoman",59 "repairwoman",60 "saleswoman",61 "snowperson",62 "flight attendant",63 "meteorologist"64];65exports.PositiveDatabase = {66 "sibling": { "BonusPoints": 1 },67 "councilperson": { "BonusPoints": 1 },68 "anchorwoman": { "BonusPoints": 1 },69 "assemblywoman": { "BonusPoints": 1 },70 "bagwoman": { "BonusPoints": 1 },71 "bondswoman": { "BonusPoints": 1 },72 "brakewoman": { "BonusPoints": 1 },73 "sistren": { "BonusPoints": 2 },74 "bride's attendant": { "BonusPoints": 1 },75 "sisterhood": { "BonusPoints": 1 },76 "sisterly": { "BonusPoints": 1 },77 "businesswoman": { "BonusPoints": 1 },78 "camerawoman": { "BonusPoints": 1 },79 "camerawomen": { "BonusPoints": 1 },80 "cattlewomen": { "BonusPoints": 1 },81 "cavewomen": { "BonusPoints": 1 },82 "cavewoman": { "BonusPoints": 1 },83 "chairwoman": { "BonusPoints": 1 },84 "congresswoman": { "BonusPoints": 1 },85 "cowgirl": { "BonusPoints": 1 },86 "crewmember": { "BonusPoints": 1 },87 "doorperson": { "BonusPoints": 1 },88 "motherhood": { "BonusPoints": 1 },89 "firewoman": { "BonusPoints": 1 },90 "forebears": { "BonusPoints": 1 },91 "forewoman": { "BonusPoints": 1 },92 "frontwoman": { "BonusPoints": 1 },93 "goddess": { "BonusPoints": 1 },94 "grandmothered": { "BonusPoints": 2 },95 "she": { "BonusPoints": 1 },96 "her": { "BonusPoints": 1 },97 "hers": { "BonusPoints": 1 },98 "she's": { "BonusPoints": 1 },99 "homemaker": { "BonusPoints": 1 },100 "jill-of-all-trades": { "BonusPoints": 1 },101 "journeywoman": { "BonusPoints": 1 },102 "queen": { "BonusPoints": 1 },103 "layperson": { "BonusPoints": 1 },104 "lumberjill": { "BonusPoints": 1 },105 "honored attendant": { "BonusPoints": 1 },106 "mailwoman": { "BonusPoints": 1 },107 "crewed": { "BonusPoints": 1 },108 "maintenance hole": { "BonusPoints": 1 },109 "womankind": { "BonusPoints": 1 },110 "womanly": { "BonusPoints": 1 },111 "womanmade": { "BonusPoints": 1 },112 "womanpower": { "BonusPoints": 1 },113 "markswoman": { "BonusPoints": 1 },114 "skillful": { "BonusPoints": 1 },115 "mx": { "BonusPoints": 2 },116 "mx": { "BonusPoints": 2 },117 "paper carrier": { "BonusPoints": 1 },118 "newswoman": { "BonusPoints": 1 },119 "no-woman's-land": { "BonusPoints": 1 },120 "noblewoman": { "BonusPoints": 1 },121 "person not included": { "BonusPoints": 1 },122 "policewoman": { "BonusPoints": 1 },123 "repairwoman": { "BonusPoints": 1 },124 "saleswoman": { "BonusPoints": 1 },125 "snowperson": { "BonusPoints": 1 },126 "flight attendant": { "BonusPoints": 1 },127 "meteorologist": { "BonusPoints": 1 }128};129exports.ProblematicSearchList = [130 "brother",131 "actor",132 "stewardess",133 "airman",134 "alderman",135 "alumnus",136 "anchorman",137 "assemblyman",138 "bagboy",139 "bondsman",140 "boy",141 "brakeman",142 "brethren",143 "bridesmaid",144 "brotherhood",145 "brotherly",146 "busboy",147 "businessman",148 "cameraman",149 "cameramen",150 "cattlemen",151 "cavemen",152 "caveman",153 "chairman",154 "chambermaid",155 "coed",156 "comedienne",157 "conductress",158 "conman",159 "congressmen",160 "countryman",161 "cowboy",162 "craftsman",163 "crewman",164 "dairyman",165 "deliveryman",166 "doorman",167 "fatherhood",168 "father",169 "fatherland",170 "feisty",171 "fireman",172 "flagman",173 "flyboy",174 "forefathers",175 "foreman",176 "freshman",177 "frontman",178 "funnyman",179 "gamesmanship",180 "god",181 "grandfathered",182 "he",183 "him",184 "his",185 "he's",186 "handyman",187 "headmaster",188 "heiress",189 "helmsman",190 "henchman",191 "heroine",192 "hostess",193 "housewife",194 "infantryman",195 "jack-of-all-trades",196 "johnny-come-lately",197 "johnny-on-the-spot",198 "journeyman",199 "juryman",200 "king-size",201 "king",202 "lady",203 "ladies",204 "layman",205 "legman",206 "letterman",207 "longshoreman",208 "lumberjack",209 "maid",210 "maid-of-honor",211 "maiden",212 "mailman",213 "majorette",214 "man",215 "male",216 "manned",217 "man-sized",218 "man-to-man",219 "manageress",220 "man-eater",221 "maneater",222 "manhandle",223 "manhole",224 "man-hours",225 "mankind",226 "manly",227 "manmade",228 "manpower",229 "marksman",230 "masseuse",231 "master",232 "masterful",233 "masterpiece",234 "middleman",235 "midshipman",236 "miss",237 "mistress",238 "mr",239 "murderess",240 "newsboy",241 "newsman",242 "newspaperman",243 "no-man's-land",244 "nobleman",245 "number-one-man",246 "number-two-man",247 "oarsman",248 "odd-man-out",249 "oilman",250 "paperboy",251 "policeman",252 "penmanship",253 "pitchman",254 "playboy",255 "postman",256 "pressman",257 "repairman",258 "salesman",259 "sculptress",260 "seaman",261 "seamstress",262 "seductress",263 "shipmaster",264 "showman",265 "showmanship",266 "snowman",267 "song-and-dance-man",268 "songstress",269 "sorceress",270 "spaceman",271 "sportsmanlike",272 "starlet",273 "statesman",274 "stewardess",275 "switchman",276 "taskmaster",277 "temptress",278 "toastmaster",279 "triggerman",280 "usherette",281 "waiter",282 "waitress",283 "watchman",284 "weatherman",285 "workman",286 "workmanlike",287 "yes-man",288 "guy",289 "Abrasive",290 "Bombshell",291 "Bubbly",292 "Catty",293 "Curvy",294 "Dramatic",295 "Emotional",296 "Gossipy",297 "High-maintenance",298 "honey",299 "Humorless",300 "hunny",301 "Man-hater",302 "Nag",303 "Prude",304 "Pushy",305 "Sassy",306 "Shrew",307 "Shrill",308 "sweetheart",309 "sweetie",310 "ball-buster",311 "Banshee",312 "Bitchy",313 "bitch",314 "Bossy",315 "Bridezilla",316 "Cougar",317 "Ditzy",318 "Feminazi",319 "Frigid",320 "Frumpy",321 "Hormonal",322 "Hysterical",323 "Lippy",324 "Man-eater",325 "Mannish",326 "Slut",327 "Slutty",328 "Trollop"329];330exports.ProblematicDatabase = {331 "brother": { GNReplacement: "sibling", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },332 "actor": { GNReplacement: "actor", FemReplacement: "actress", WarningMessage: "", ProblemPoints: 1 },333 "stewardess": { GNReplacement: "flight attendant", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },334 "airman": { GNReplacement: "aviator", FemReplacement: "airwoman", WarningMessage: "", ProblemPoints: 1 },335 "alderman": { GNReplacement: "councilperson", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },336 "alumnus": { GNReplacement: "graduate", FemReplacement: "alumna", WarningMessage: "", ProblemPoints: 1 },337 "anchorman": { GNReplacement: "anchor", FemReplacement: "anchorwoman", WarningMessage: "", ProblemPoints: 1 },338 "assemblyman": { GNReplacement: "assemblyperson", FemReplacement: "assemblywoman", WarningMessage: "", ProblemPoints: 1 },339 "bagboy": { GNReplacement: "bagger", FemReplacement: "bagwoman", WarningMessage: "", ProblemPoints: 1 },340 "bondsman": { GNReplacement: "bondsperson", FemReplacement: "bondswoman", WarningMessage: "", ProblemPoints: 1 },341 "boy": { GNReplacement: "child", FemReplacement: "girl", WarningMessage: "", ProblemPoints: 0 },342 "brakeman": { GNReplacement: "brake operator", FemReplacement: "brakewoman", WarningMessage: "", ProblemPoints: 1 },343 "brethren": { GNReplacement: "laity", FemReplacement: "sistren", WarningMessage: "", ProblemPoints: 1 },344 "bridesmaid": { GNReplacement: "bride's attendant", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },345 "brotherhood": { GNReplacement: "fellowship", FemReplacement: "sisterhood", WarningMessage: "", ProblemPoints: 1 },346 "brotherly": { GNReplacement: "kind", FemReplacement: "sisterly", WarningMessage: "", ProblemPoints: 1 },347 "busboy": { GNReplacement: "table attendant", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },348 "businessman": { GNReplacement: "businessperson", FemReplacement: "businesswoman", WarningMessage: "", ProblemPoints: 1 },349 "cameraman": { GNReplacement: "camera operator", FemReplacement: "camerawoman", WarningMessage: "", ProblemPoints: 1 },350 "cameramen": { GNReplacement: "camera operator", FemReplacement: "camerawomen", WarningMessage: "", ProblemPoints: 1 },351 "cattlemen": { GNReplacement: "cattle owners", FemReplacement: "cattlewomen", WarningMessage: "", ProblemPoints: 1 },352 "cavemen": { GNReplacement: "cave dwellers", FemReplacement: "cavewomen", WarningMessage: "", ProblemPoints: 1 },353 "caveman": { GNReplacement: "cave dweller", FemReplacement: "cavewoman", WarningMessage: "", ProblemPoints: 1 },354 "chairman": { GNReplacement: "chair", FemReplacement: "chairwoman", WarningMessage: "", ProblemPoints: 1 },355 "chambermaid": { GNReplacement: "housekeeper", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },356 "coed": { GNReplacement: "student", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },357 "comedienne": { GNReplacement: "comedian", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },358 "conductress": { GNReplacement: "conductor", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },359 "conman": { GNReplacement: "swindler", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },360 "congressmen": { GNReplacement: "congressperson", FemReplacement: "congresswoman", WarningMessage: "", ProblemPoints: 1 },361 "countryman": { GNReplacement: "compatriot", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },362 "cowboy": { GNReplacement: "cowhand", FemReplacement: "cowgirl", WarningMessage: "", ProblemPoints: 1 },363 "craftsman": { GNReplacement: "artisan", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },364 "crewman": { GNReplacement: "crewmember", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },365 "dairyman": { GNReplacement: "dairy farmer", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },366 "deliveryman": { GNReplacement: "courier", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },367 "doorman": { GNReplacement: "doorperson", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },368 "fatherhood": { GNReplacement: "parenthood", FemReplacement: "motherhood", WarningMessage: "", ProblemPoints: 1 },369 "father": { GNReplacement: "parent", FemReplacement: "mother", WarningMessage: "", ProblemPoints: 0 },370 "fatherland": { GNReplacement: "homeland", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },371 "feisty": { GNReplacement: "energetic", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },372 "fireman": { GNReplacement: "firefighter", FemReplacement: "firewoman", WarningMessage: "", ProblemPoints: 1 },373 "flagman": { GNReplacement: "flagger", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },374 "flyboy": { GNReplacement: "pilot", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },375 "forefathers": { GNReplacement: "forebears", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },376 "foreman": { GNReplacement: "supervisor", FemReplacement: "forewoman", WarningMessage: "", ProblemPoints: 1 },377 "freshman": { GNReplacement: "first-year student", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },378 "frontman": { GNReplacement: "frontperson", FemReplacement: "frontwoman", WarningMessage: "", ProblemPoints: 1 },379 "funnyman": { GNReplacement: "comedian", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },380 "gamesmanship": { GNReplacement: "game playing", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },381 "god": { GNReplacement: "deity", FemReplacement: "goddess", WarningMessage: "", ProblemPoints: 1 },382 "grandfathered": { GNReplacement: "grandparented", FemReplacement: "grandmothered", WarningMessage: "", ProblemPoints: 1 },383 "he": { GNReplacement: "they", FemReplacement: "she", WarningMessage: "", ProblemPoints: 0 },384 "him": { GNReplacement: "them", FemReplacement: "her", WarningMessage: "", ProblemPoints: 0 },385 "his": { GNReplacement: "theirs", FemReplacement: "hers", WarningMessage: "", ProblemPoints: 0 },386 "he's": { GNReplacement: "they're", FemReplacement: "she's", WarningMessage: "", ProblemPoints: 0 },387 "handyman": { GNReplacement: "fixer", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },388 "headmaster": { GNReplacement: "principal", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },389 "heiress": { GNReplacement: "heir", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },390 "helmsman": { GNReplacement: "coxswain", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },391 "henchman": { GNReplacement: "partner in crime", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },392 "heroine": { GNReplacement: "hero", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },393 "hostess": { GNReplacement: "host", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },394 "housewife": { GNReplacement: "homemaker", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },395 "infantryman": { GNReplacement: "infantry soldier", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },396 "jack-of-all-trades": { GNReplacement: "handyperson", FemReplacement: "jill-of-all-trades", WarningMessage: "", ProblemPoints: 1 },397 "johnny-come-lately": { GNReplacement: "newcomer", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },398 "johnny-on-the-spot": { GNReplacement: "prompt person", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },399 "journeyman": { GNReplacement: "experienced tradesperson", FemReplacement: "journeywoman", WarningMessage: "", ProblemPoints: 1 },400 "juryman": { GNReplacement: "juror", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },401 "king-size": { GNReplacement: "huge", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },402 "king": { GNReplacement: "monarch", FemReplacement: "queen", WarningMessage: "", ProblemPoints: 0 },403 "lady": { GNReplacement: "", FemReplacement: "woman", WarningMessage: "", ProblemPoints: 1 },404 "ladies": { GNReplacement: "", FemReplacement: "women", WarningMessage: "", ProblemPoints: 1 },405 "layman": { GNReplacement: "layperson", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },406 "legman": { GNReplacement: "runner", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },407 "letterman": { GNReplacement: "athlete", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },408 "longshoreman": { GNReplacement: "stevedore", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },409 "lumberjack": { GNReplacement: "logger", FemReplacement: "lumberjill", WarningMessage: "", ProblemPoints: 1 },410 "maid": { GNReplacement: "house cleaner", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },411 "maid-of-honor": { GNReplacement: "honored attendant", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },412 "maiden": { GNReplacement: "initial", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },413 "mailman": { GNReplacement: "mail carrier", FemReplacement: "mailwoman", WarningMessage: "", ProblemPoints: 1 },414 "majorette": { GNReplacement: "drum major", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },415 "man": { GNReplacement: "person", FemReplacement: "woman", WarningMessage: "", ProblemPoints: 0 },416 "male": { GNReplacement: "human", FemReplacement: "female", WarningMessage: "", ProblemPoints: 0 },417 "manned": { GNReplacement: "crewed", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },418 "man-sized": { GNReplacement: "large", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },419 "man-to-man": { GNReplacement: "face-to-face", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },420 "manageress": { GNReplacement: "manager", FemReplacement: "", WarningMessage: "", ProblemPoints: 5 },421 "man-eater": { GNReplacement: "flesh eater", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },422 "maneater": { GNReplacement: "flesh eater", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },423 "manhandle": { GNReplacement: "rough up", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },424 "manhole": { GNReplacement: "maintenance hole", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },425 "man-hours": { GNReplacement: "work hours", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },426 "mankind": { GNReplacement: "humankind", FemReplacement: "womankind", WarningMessage: "", ProblemPoints: 1 },427 "manly": { GNReplacement: "humanlike", FemReplacement: "womanly", WarningMessage: "", ProblemPoints: 2 },428 "manmade": { GNReplacement: "handmade", FemReplacement: "womanmade", WarningMessage: "", ProblemPoints: 1 },429 "manpower": { GNReplacement: "workforce", FemReplacement: "womanpower", WarningMessage: "", ProblemPoints: 1 },430 "marksman": { GNReplacement: "sharpshooter", FemReplacement: "markswoman", WarningMessage: "", ProblemPoints: 1 },431 "masseuse": { GNReplacement: "massage therapist", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },432 "master": { GNReplacement: "expert", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },433 "masterful": { GNReplacement: "skillful", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },434 "masterpiece": { GNReplacement: "great work of art", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },435 "middleman": { GNReplacement: "intermediary", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },436 "midshipman": { GNReplacement: "sailor", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },437 "miss": { GNReplacement: "mx", FemReplacement: "", WarningMessage: "", ProblemPoints: 3 },438 "mistress": { GNReplacement: "companion", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },439 "mr": { GNReplacement: "mx", FemReplacement: "", WarningMessage: "", ProblemPoints: 0 },440 "murderess": { GNReplacement: "murderer", FemReplacement: "", WarningMessage: "", ProblemPoints: 5 },441 "newsboy": { GNReplacement: "paper carrier", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },442 "newsman": { GNReplacement: "reporter", FemReplacement: "newswoman", WarningMessage: "", ProblemPoints: 2 },443 "newspaperman": { GNReplacement: "journalist", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },444 "no-man's-land": { GNReplacement: "uninhabited land", FemReplacement: "no-woman's-land", WarningMessage: "", ProblemPoints: 1 },445 "nobleman": { GNReplacement: "noble person", FemReplacement: "noblewoman", WarningMessage: "", ProblemPoints: 1 },446 "number-one-man": { GNReplacement: "leader", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },447 "number-two-man": { GNReplacement: "second in command", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },448 "oarsman": { GNReplacement: "rower", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },449 "odd-man-out": { GNReplacement: "person not included", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },450 "oilman": { GNReplacement: "oil executive", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },451 "paperboy": { GNReplacement: "paper carrier", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },452 "policeman": { GNReplacement: "police officer", FemReplacement: "policewoman", WarningMessage: "", ProblemPoints: 1 },453 "penmanship": { GNReplacement: "handwriting", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },454 "pitchman": { GNReplacement: "promoter", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },455 "playboy": { GNReplacement: "carouser", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },456 "postman": { GNReplacement: "letter carrier", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },457 "pressman": { GNReplacement: "press operator", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },458 "repairman": { GNReplacement: "repairperson", FemReplacement: "repairwoman", WarningMessage: "", ProblemPoints: 1 },459 "salesman": { GNReplacement: "salesperson", FemReplacement: "saleswoman", WarningMessage: "", ProblemPoints: 1 },460 "sculptress": { GNReplacement: "sculptor", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },461 "seaman": { GNReplacement: "sailor", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },462 "seamstress": { GNReplacement: "tailor", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },463 "seductress": { GNReplacement: "seducer", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },464 "shipmaster": { GNReplacement: "captain", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },465 "showman": { GNReplacement: "performer", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },466 "showmanship": { GNReplacement: "stage presence", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },467 "snowman": { GNReplacement: "snowperson", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },468 "song-and-dance-man": { GNReplacement: "singer and dancer", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },469 "songstress": { GNReplacement: "singer", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },470 "sorceress": { GNReplacement: "sorcerer", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },471 "spaceman": { GNReplacement: "astronaut", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },472 "sportsmanlike": { GNReplacement: "sporting", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },473 "starlet": { GNReplacement: "star", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },474 "statesman": { GNReplacement: "politician", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },475 "stewardess": { GNReplacement: "flight attendant", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },476 "switchman": { GNReplacement: "switch operator", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },477 "taskmaster": { GNReplacement: "supervisor", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },478 "temptress": { GNReplacement: "enticer", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },479 "toastmaster": { GNReplacement: "toast maker", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },480 "triggerman": { GNReplacement: "shooter", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },481 "usherette": { GNReplacement: "usher", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },482 "waiter": { GNReplacement: "server", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },483 "waitress": { GNReplacement: "server", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },484 "watchman": { GNReplacement: "security guard", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },485 "weatherman": { GNReplacement: "meteorologist", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },486 "workman": { GNReplacement: "worker", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },487 "workmanlike": { GNReplacement: "skillful", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },488 "yes-man": { GNReplacement: "sycophant", FemReplacement: "yes-woman", WarningMessage: "", ProblemPoints: 1 },489 "guy": { GNReplacement: "person", FemReplacement: "gal", WarningMessage: "", ProblemPoints: 2 },490 "Abrasive": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Abrasive', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },491 "Bombshell": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Bombshell', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },492 "Bubbly": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Bubbly', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },493 "Catty": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Catty', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },494 "Curvy": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Curvy', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },495 "Dramatic": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Dramatic', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },496 "Emotional": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Emotional', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },497 "Gossipy": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Gossipy', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },498 "High-maintenance": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'High-maintenance', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },499 "honey": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'honey', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },500 "Humorless": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Humorless', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },501 "hunny": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'hunny', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },502 "Man-hater": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Man-hater', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },503 "Nag": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Nag', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },504 "Prude": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Prude', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },505 "Pushy": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Pushy', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },506 "Sassy": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Sassy', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },507 "Shrew": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Shrew', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },508 "Shrill": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Shrill', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },509 "sweetheart": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'sweetheart', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },510 "sweetie": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'sweetie', is generally considered offensive in a gendered context. You should re-word this before using this text.", ProblemPoints: 50 },511 "ball-buster": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'ball-buster', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },512 "Banshee": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Banshee', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },513 "Bitchy": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Bitchy', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },514 "bitch": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'bitch', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },515 "Bossy": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Bossy', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },516 "Bridezilla": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Bridezilla', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },517 "Cougar": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Cougar', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },518 "Ditzy": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Ditzy', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },519 "Feminazi": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Feminazi', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },520 "Frigid": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Frigid', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },521 "Frumpy": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Frumpy', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },522 "Hormonal": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Hormonal', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },523 "Hysterical": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Hysterical', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },524 "Lippy": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Lippy', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },525 "Man-eater": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Man-eater', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },526 "Mannish": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Mannish', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },527 "Slut": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Slut', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },528 "Slutty": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Slutty', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },529 "Trollop": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Trollop', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 }...

Full Screen

Full Screen

phrases.js

Source:phrases.js Github

copy

Full Screen

1exports.PositiveSearchList = [ 2 "woman and men",3 "girl and boy",4 "women and men",5 "girls and boys",6 "wife and husband",7 8 "wives and husbands",9 "daughter and son",10 "daughters and sons",11 "her and his",12 "eve and adam",13 "sisterly love",14 "cabin attendant",15 "choir girl",16 "sisterly love",17 "non-identical twins",18 "founding mother",19 "front woman",20 "grandparent clause",21 "honored attendant",22 "woman of the house",23 "honored attendant",24 "modern people",25 "superstition",26 "Renaissance person",27 "Aunt Sam"28];29exports.PositiveDatabase = {30 "woman and men": { "BonusPoints": 2 },31 "girl and boy": { "BonusPoints": 2 },32 "women and men": { "BonusPoints": 2 },33 "girls and boys": { "BonusPoints": 2 },34 "wives and husbands": { "BonusPoints": 2 },35 "wife and husband": { "BonusPoints": 3 },36 "daughter and son": { "BonusPoints": 2 },37 "daughters and sons": { "BonusPoints": 2 },38 "her and his": { "BonusPoints": 2 },39 "eve and adam": { "BonusPoints": 2 },40 "sisterly love": { "BonusPoints": 1 },41 "cabin attendant": { "BonusPoints": 1 },42 "choir girl": { "BonusPoints": 1 },43 "sisterly love": { "BonusPoints": 1 },44 "non-identical twins": { "BonusPoints": 1 },45 "founding mother": { "BonusPoints": 1 },46 "front woman": { "BonusPoints": 1 },47 "grandparent clause": { "BonusPoints": 1 },48 "honored attendant": { "BonusPoints": 1 },49 "woman of the house": { "BonusPoints": 1 },50 "honored attendant": { "BonusPoints": 1 },51 "modern people": { "BonusPoints": 1 },52 "superstition": { "BonusPoints": 1 },53 "Renaissance person": { "BonusPoints": 1 },54 "Aunt Sam": { "BonusPoints": 1 }55 56};57exports.ProblematicSearchList = [58 "man and woman",59 "boy and girl",60 "men and women",61 "boys and girls",62 "husband and wife",63 "husbands and wives",64 "man and wife",65 "son and daughter",66 "sons and daughters",67 "his and her",68 "adam and eve",69 "blind man",70 "boss man",71 "boss lady",72 "brotherly love",73 "cabin boy",74 "choir boy",75 "brew master",76 "brotherly love",77 "common man",78 "confidence man",79 "cabin boy",80 "drum majorette",81 "enlisted man",82 "fall guy",83 "fraternal twins",84 "founding father",85 "front man",86 "gentlemen's agreement",87 "grandfather clause",88 "inside man",89 "insurance man",90 "jazz man",91 "John Q. Public",92 "king's ransom",93 "learned man",94 "lookout man",95 "maid of honor",96 "maintenance man",97 "male nurse",98 "man about town",99 "man of action",100 "man of distinction",101 "man of the year",102 "man on the street",103 "man's best friend",104 "man's work",105 "man of the house",106 "marked man",107 "master key",108 "master plan",109 "master's degree",110 "matron of honor",111 "mechanical man",112 "medicine man",113 "men working",114 "meter maid",115 "modern man",116 "mother lode",117 "night watchman",118 "office boy",119 "old wives' tale",120 "prodigal son",121 "publicity man",122 "Renaissance man",123 "right-hand man",124 "straw man",125 "to a man",126 "trash man",127 "Uncle Sam",128 "workman's compensation",129 "little old lady",130 "you guys",131 "hi guys",132 "hey guys",133 "those guys",134 "these guys",135 "Faded beauty",136 "her period",137 "Ice queen",138 "militant feminist",139 "their period",140 "your period"141];142exports.ProblematicDatabase = {143 "man and woman": { GNReplacement: "people", FemReplacement: "woman and men", WarningMessage: "", ProblemPoints: 1 },144 "boy and girl": { GNReplacement: "children", FemReplacement: "girl and boy", WarningMessage: "", ProblemPoints: 1 },145 "men and women": { GNReplacement: "people", FemReplacement: "women and men", WarningMessage: "", ProblemPoints: 1 },146 "boys and girls": { GNReplacement: "children", FemReplacement: "girls and boys", WarningMessage: "", ProblemPoints: 1 },147 "husband and wife": { GNReplacement: "partners", FemReplacement: "wife and husband", WarningMessage: "", ProblemPoints: 1 },148 "husbands and wives": { GNReplacement: "partners", FemReplacement: "wives and husbands", WarningMessage: "", ProblemPoints: 1 },149 "man and wife": { GNReplacement: "partners", FemReplacement: "wife and husband", WarningMessage: "", ProblemPoints: 1 },150 "son and daughter": { GNReplacement: "children", FemReplacement: "daughter and son", WarningMessage: "", ProblemPoints: 1 },151 "sons and daughters": { GNReplacement: "children", FemReplacement: "daughters and sons", WarningMessage: "", ProblemPoints: 1 },152 "his and her": { GNReplacement: "their", FemReplacement: "her and his", WarningMessage: "", ProblemPoints: 1 },153 "adam and eve": { GNReplacement: "biblical progenitors according to Christianity", FemReplacement: "eve and adam", WarningMessage: "", ProblemPoints: 0 },154 "blind man": { GNReplacement: "blind person", FemReplacement: "blind woman", WarningMessage: "", ProblemPoints: 1 },155 "boss man": { GNReplacement: "boss", FemReplacement: "boss woman", WarningMessage: "", ProblemPoints: 1 },156 "boss lady": { GNReplacement: "boss", FemReplacement: "boss woman", WarningMessage: "", ProblemPoints: 1 },157 "brotherly love": { GNReplacement: "kind", FemReplacement: "sisterly love", WarningMessage: "", ProblemPoints: 1 },158 "cabin boy": { GNReplacement: "cabin attendant", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },159 "choir boy": { GNReplacement: "choir member", FemReplacement: "choir girl", WarningMessage: "", ProblemPoints: 1 },160 "brew master": { GNReplacement: "brew director", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },161 "brotherly love": { GNReplacement: "kind", FemReplacement: "sisterly love", WarningMessage: "", ProblemPoints: 1 },162 "common man": { GNReplacement: "commoner", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },163 "confidence man": { GNReplacement: "swindler", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },164 "cabin boy": { GNReplacement: "cabin attendant", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },165 "drum majorette": { GNReplacement: "drum major", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },166 "enlisted man": { GNReplacement: "recruit", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },167 "fall guy": { GNReplacement: "scapegoat", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },168 "fraternal twins": { GNReplacement: "non-identical twins", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },169 "founding father": { GNReplacement: "founder", FemReplacement: "founding mother", WarningMessage: "", ProblemPoints: 1 },170 "front man": { GNReplacement: "front person", FemReplacement: "front woman", WarningMessage: "", ProblemPoints: 1 },171 "gentlemen's agreement": { GNReplacement: "unwritten agreement", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },172 "grandfather clause": { GNReplacement: "grandparent clause", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },173 "inside man": { GNReplacement: "insider", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },174 "insurance man": { GNReplacement: "insurance agent", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },175 "jazz man": { GNReplacement: "jazz player", FemReplacement: "", WarningMessage: "", ProblemPoints: 2 },176 "John Q. Public": { GNReplacement: "the public", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },177 "king's ransom": { GNReplacement: "valuable", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },178 "learned man": { GNReplacement: "learned person", FemReplacement: "learned woman", WarningMessage: "", ProblemPoints: 2 },179 "lookout man": { GNReplacement: "lookout", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },180 "maid of honor": { GNReplacement: "honored attendant", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },181 "maintenance man": { GNReplacement: "caretaker", FemReplacement: "maintenance woman", WarningMessage: "", ProblemPoints: 1 },182 "male nurse": { GNReplacement: "nurse", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },183 "man about town": { GNReplacement: "bon vivant", FemReplacement: "woman about town", WarningMessage: "", ProblemPoints: 1 },184 "man of action": { GNReplacement: "go-getter", FemReplacement: "woman of action", WarningMessage: "", ProblemPoints: 2 },185 "man of distinction": { GNReplacement: "person of distinction", FemReplacement: "woman of distinction", WarningMessage: "", ProblemPoints: 1 },186 "man of the year": { GNReplacement: "person of the year", FemReplacement: "woman of the year", WarningMessage: "", ProblemPoints: 1 },187 "man on the street": { GNReplacement: "ordinary citizen", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },188 "man's best friend": { GNReplacement: "human's best friend", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },189 "man's work": { GNReplacement: "work", FemReplacement: "woman's work", WarningMessage: "", ProblemPoints: 1 },190 "man of the house": { GNReplacement: "head of the house", FemReplacement: "woman of the house", WarningMessage: "", ProblemPoints: 1 },191 "marked man": { GNReplacement: "target", FemReplacement: "marked woman", WarningMessage: "", ProblemPoints: 1 },192 "master key": { GNReplacement: "passkey", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },193 "master plan": { GNReplacement: "primary plan", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },194 "master's degree": { GNReplacement: "graduate degree", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },195 "matron of honor": { GNReplacement: "honored attendant", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },196 "mechanical man": { GNReplacement: "robot", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },197 "medicine man": { GNReplacement: "faith healer", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },198 "men working": { GNReplacement: "people working", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },199 "meter maid": { GNReplacement: "parking enforcement officer", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },200 "modern man": { GNReplacement: "modern people", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },201 "mother lode": { GNReplacement: "stockpile", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },202 "night watchman": { GNReplacement: "night security guard", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },203 "office boy": { GNReplacement: "clerk", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },204 "old wives' tale": { GNReplacement: "superstition", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },205 "prodigal son": { GNReplacement: "returning child", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },206 "publicity man": { GNReplacement: "publicist", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },207 "Renaissance man": { GNReplacement: "Renaissance person", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },208 "right-hand man": { GNReplacement: "main assistant", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },209 "straw man": { GNReplacement: "test theory", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },210 "to a man": { GNReplacement: "to a person", FemReplacement: "to a woman", WarningMessage: "", ProblemPoints: 1 },211 "trash man": { GNReplacement: "trash collector", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },212 "Uncle Sam": { GNReplacement: "United States", FemReplacement: "Aunt Sam", WarningMessage: "", ProblemPoints: 1 },213 "workman's compensation": { GNReplacement: "workers' compensation", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },214 "little old lady": { GNReplacement: "elderly person", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },215 "you guys": { GNReplacement: "you all", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },216 "hi guys": { GNReplacement: "hi all", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },217 "hey guys": { GNReplacement: "hey all", FemReplacement: "", WarningMessage: "", ProblemPoints: 1 },218 "those guys": { GNReplacement: "those people", FemReplacement: "those women", WarningMessage: "", ProblemPoints: 1 },219 "these guys": { GNReplacement: "these people", FemReplacement: "these women", WarningMessage: "", ProblemPoints: 1 },220 "Faded beauty": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Faded beauty', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },221 "her period": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'her period', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },222 "Ice queen": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'Ice queen', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },223 "militant feminist": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'militant feminist', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },224 "their period": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'their period', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 },225 "your period": { GNReplacement: "", FemReplacement: "", WarningMessage: "The term 'your period', is generally offensive, you should not send this text to anyone before removing it.", ProblemPoints: 999999999 }...

Full Screen

Full Screen

signup-form.js

Source:signup-form.js Github

copy

Full Screen

1// Signup Form2const form = document.getElementById('signup');3function validateSignupForm() {4 const fullName = document.getElementById('full-name');5 const email = document.getElementById('user-email');6 const userName = document.getElementById('username');7 const password = document.getElementById('password');8 const cpassword = document.getElementById('cpassword');9 const dob = document.getElementById('dob');10 const userType = document.getElementById('usertype');11 const proImg = document.getElementById('FileUpload');12 const warningMessage = document.getElementById('message');13 if (fullName.value == '') {14 warningMessage.innerHTML = 'Please enter your full name <br>';15 warningMessage.style.display = 'block';16 setTimeout(() => {17 warningMessage.style.display = 'none';18 }, 7000)19 return false;20 }21 else if (email.value == '') {22 warningMessage.innerHTML = 'Please enter your email correctly <br>';23 warningMessage.style.display = 'block';24 setTimeout(() => {25 warningMessage.style.display = 'none';26 }, 7000)27 return false;28 }29 else if (userName.value == '') {30 warningMessage.innerHTML = 'Please enter your username <br>';31 warningMessage.style.display = 'block';32 setTimeout(() => {33 warningMessage.style.display = 'none';34 }, 7000)35 return false;36 }37 else if (password.value == '') {38 warningMessage.innerHTML = 'Please enter your password <br>';39 warningMessage.style.display = 'block';40 setTimeout(() => {41 warningMessage.style.display = 'none';42 }, 7000)43 return false;44 }45 else if (cpassword.value == '') {46 warningMessage.innerHTML = 'Password don\'t match. Enter password correctly <br>';47 warningMessage.style.display = 'block';48 setTimeout(() => {49 warningMessage.style.display = 'none';50 }, 7000)51 return false;52 }53 else if (dob.value == '') {54 warningMessage.innerHTML = 'Please enter your date of birth <br>';55 warningMessage.style.display = 'block';56 setTimeout(() => {57 warningMessage.style.display = 'none';58 }, 7000)59 return false;60 }61 else if (userType.value == '') {62 warningMessage.innerHTML = 'Please select your user type <br>';63 warningMessage.style.display = 'block';64 setTimeout(() => {65 warningMessage.style.display = 'none';66 }, 7000)67 return false;68 }69 else if (proImg.value == '') {70 warningMessage.innerHTML = 'Please choose a profile picture <br>';71 warningMessage.style.display = 'block';72 setTimeout(() => {73 warningMessage.style.display = 'none';74 }, 7000)75 return false;76 }77 else { return true; }78}79form.onsubmit = (e) => {80 if (validateSignupForm() == true) {81 return true;82 }83 else { e.preventDefault(); }...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1import { warningMessage } from 'storybook-root-decorator';2warningMessage('This is a warning message');3import { successMessage } from 'storybook-root-decorator';4successMessage('This is a success message');5import { infoMessage } from 'storybook-root-decorator';6infoMessage('This is a info message');7import { errorMessage } from 'storybook-root-decorator';8errorMessage('This is a error message');9import { configure, addDecorator } from '@storybook/react';10import { withInfo } from '@storybook/addon-info';11import { withKnobs } from '@storybook/addon-knobs';12import { withA11y } from '@storybook/addon-a11y';13import { withRootDecorator } from 'storybook-root-decorator';14import { withRootStyles } from 'storybook-root-decorator';15import { withRootTheme } from 'storybook-root-decorator';16import { withRootProvider } from 'storybook-root-decorator';17import { withRootIntl } from 'storybook-root-decorator';18import { withRootI18n } from 'storybook-root-decorator';19import { withRootRouter } from 'storybook-root-decorator';20import { withRootApollo } from 'storybook-root-decorator';21import { withRootRedux } from 'storybook-root-decorator';22import { withRootLogger } from 'storybook-root-decorator';23import { withRootUtils } from 'storybook-root-decorator';24import { withRootMocks } from 'storybook-root-decorator';25import { withRootEnzyme } from 'storybook-root-decorator';26import { withRootJest } from 'storybook-root-decorator';27import { withRootJestSnapshot } from 'storybook-root-decorator';28import { withRootJestDom } from 'storybook-root-decorator';29import { withRootJestEnzyme } from 'storybook-root-decorator';30import { withRootJestStorybook } from 'storybook-root-decorator';31import { withRootJestStorybookSnapshot } from 'storybook-root-decorator';32import { withRootJestStorybookDom } from 'storybook-root-decorator

Full Screen

Using AI Code Generation

copy

Full Screen

1import { warningMessage } from 'storybook-root-decorator';2warningMessage('This is a warning message');3import { addDecorator } from '@storybook/react';4import { withRootDecorator } from 'storybook-root-decorator';5addDecorator(withRootDecorator);6import { addDecorator } from '@storybook/react';7import { withRootDecorator } from 'storybook-root-decorator';8addDecorator(withRootDecorator);9import { addons } from '@storybook/addons';10import { withRootDecorator } from 'storybook-root-decorator';11addons.setConfig({12});13module.exports = {14 stories: ['../src/**/*.stories.@(js|jsx|ts|tsx|mdx)'],15 webpackFinal: async (config) => {16 config.module.rules.push({17 loaders: [require.resolve('@storybook/source-loader')],18 });19 return config;20 },21};22import { addDecorator } from '@storybook/react';23import { withRootDecorator } from 'storybook-root-decorator';24addDecorator(withRootDecorator);25import { addDecorator } from '@storybook/react';26import { withRootDecorator } from 'storybook-root-decorator';27addDecorator(withRootDecorator);28import { addDecorator } from '@storybook/react';29import { withRootDecorator } from 'storybook-root-decorator';30addDecorator(withRootDecorator);31import { addDecorator } from '@storybook/react';32import { withRootDecorator } from 'storybook-root-decorator';33addDecorator(withRootDecorator);34import { addDecorator } from '@storybook/react';35import { withRootDecorator } from 'storybook-root-decorator';36addDecorator(withRootDecorator);37import { addDecorator } from '@storybook/react';38import { withRootDecorator } from 'storybook-root-decorator';39addDecorator(withRootDecorator);

Full Screen

Using AI Code Generation

copy

Full Screen

1import { warningMessage } from 'storybook-root';2warningMessage('This is a warning message');3import { infoMessage } from 'storybook-root';4infoMessage('This is a info message');5import { errorMessage } from 'storybook-root';6errorMessage('This is a error message');7import { successMessage } from 'storybook-root';8successMessage('This is a success message');9import { storybookRoot } from 'storybook-root';10storybookRoot('This is a success message');11import { storybookRoot } from 'storybook-root';12storybookRoot('This is a success message');13import { storybookRoot } from 'storybook-root';14storybookRoot('This is a success message');15import { storybookRoot } from 'storybook-root';16storybookRoot('This is a success message');17import { storybookRoot } from 'storybook-root';18storybookRoot('This is a success message');19import { storybookRoot } from 'storybook-root';20storybookRoot('This is a success message');21import { storybookRoot } from 'storybook-root';22storybookRoot('This is a success message');23import { storybookRoot } from 'storybook-root';24storybookRoot('This is a success message');25import { storybookRoot } from 'storybook-root';26storybookRoot('This is a success message');27import {

Full Screen

Using AI Code Generation

copy

Full Screen

1import { warningMessage } from 'storybook-root'2import { warningMessage } from 'storybook-root'3import { warningMessage } from 'storybook-root'4import { warningMessage } from 'storybook-root'5import { warningMessage } from 'storybook-root'6import { warningMessage } from 'storybook-root'7import { warningMessage } from 'storybook-root'8import { warningMessage } from 'storybook-root'9import { warningMessage } from 'storybook-root'10import { warningMessage } from 'storybook-root'11import { warningMessage } from 'storybook-root'12import { warningMessage } from 'storybook-root'13import { warningMessage } from 'storybook-root'

Full Screen

Using AI Code Generation

copy

Full Screen

1import { warningMessage } from 'storybook-root-decorator';2import { warningMessage } from 'storybook-root-decorator';3import { warningMessage } from 'storybook-root-decorator';4import { warningMessage } from 'storybook-root-decorator';5import { warningMessage } from 'storybook-root-decorator';6import { warningMessage } from 'storybook-root-decorator';7import { warningMessage } from 'storybook-root-decorator';8import { warningMessage } from 'storybook-root-decorator';9import { warningMessage } from 'storybook-root-decorator';10import { warningMessage } from 'storybook-root-decorator';11import { warningMessage } from

Full Screen

Using AI Code Generation

copy

Full Screen

1import { warningMessage } from 'storybook-root';2const test = () => {3 warningMessage('This is a warning message');4};5export default test;6import { configure } from '@storybook/react';7import { setOptions } from '@storybook/addon-options';8import { setAddon } from '@storybook/react';9import { withKnobs } from '@storybook/addon-knobs';10import { withInfo } from '@storybook/addon-info';11import JSXAddon from 'storybook-addon-jsx';12import { addDecorator } from '@storybook/react';13import { withA11y } from '@storybook/addon-a11y';14import { withOptions } from '@storybook/addon-options';15import { setDefaults } from 'storybook-addon-jsx';16import { withConsole } from '@storybook/addon-console';17import { withTests } from '@storybook/addon-jest';18import { withThemesProvider } from 'storybook-addon-styled-component-theme';19import { withStorySource } from '@storybook/addon-storysource';20import { withNotes } from '@storybook/addon-notes';21import { withViewport } from '@storybook/addon-viewport';22import { withBackgrounds } from '@storybook/addon-backgrounds';23import { withRedux } from 'storybook-addon-redux';24import { withContexts } from '@storybook/addon-contexts/react';25import { withLinks } from '@storybook/addon-links';26import { withGraphQL } from 'storybook-addon-graphql';27import { withCreevey } from 'creevey';28import { withEmotion } from 'storybook-addon-emotion-theme';29import { withPerformance } from 'storybook-addon-performance';30import { withSmartKnobs } from 'storybook-addon-smart-knobs';31import { withActions } from '@storybook/addon-actions';32import { withState } from '@dump247/storybook-state';33import { withOptions } from '@storybook/addon-options';34import { withInfo } from '@storybook/addon-info';35import { withBackgrounds } from '@storybook/addon-backgrounds';36import { withViewport } from '@storybook/addon-viewport';37import { withKnobs } from '@storybook/addon-knobs';38import { withNotes } from '@storybook/addon-notes';39import { withTests } from '@storybook/addon-jest';40import { withConsole } from '@storybook/addon-console';41import { withA11

Full Screen

Using AI Code Generation

copy

Full Screen

1import warningMessage from 'storybook-root-decorator';2import warningMessage from 'storybook-root-decorator';3import warningMessage from 'storybook-root-decorator';4warningMessage('warning message');5import warningMessage from 'storybook-root-decorator';6import warningMessage from 'storybook-root-decorator';7warningMessage('warning message');8import warningMessage from 'storybook-root-decorator';9import warningMessage from 'storybook-root-decorator';10warningMessage('warning message');11import warningMessage from 'storybook-root-decorator';12import warningMessage from 'storybook-root-decorator';13warningMessage('warning message');14import warningMessage from 'storybook-root-decorator';15import warningMessage from 'storybook-root-decorator';16warningMessage('warning message');

Full Screen

Using AI Code Generation

copy

Full Screen

1import { warningMessage } from "storybook-root-decorator";2warningMessage("This is a warning message");3import "storybook-root-decorator/warning-message.css";4import "storybook-root-decorator/warning-message.css";5import "storybook-root-decorator/warning-message.css";6import "storybook-root-decorator/warning-message.css";7import "storybook-root-decorator/warning-message.css";8import "storybook-root-decorator/warning-message.css";9import "storybook-root-decorator/warning-message.css";10import "storybook-root-decorator/warning-message.css";11import "storybook-root-decorator/warning-message.css";12import "storybook-root-decorator/warning-message.css";13import "storybook-root-decorator/warning-message.css";14import "storybook-root-decorator/warning-message.css";15import "storybook-root-decorator/warning-message.css";16import "storybook-root-decorator/warning-message.css";17import "storybook-root-decorator/warning-message.css";18import "storybook-root-decorator/warning-message.css

Full Screen

Using AI Code Generation

copy

Full Screen

1import { warningMessage } from 'storybook-root';2export default function test() {3 warningMessage('This is a test warning message');4}5import { warningMessage } from './src/utils';6export { warningMessage };7import { addons } from '@storybook/addons';8export const warningMessage = (message) => {9 addons.getChannel().emit('storybook-root/warningMessage', message);10};11import { addons } from '@storybook/addons';12import { ADDON_ID, PANEL_ID } from './constants';13addons.register(ADDON_ID, () => {14 addons.add(PANEL_ID, {15 render: ({ active, key }) => (16 <Panel active={active} key={key} />17 });18 addons.getChannel().on('storybook-root/warningMessage', (message) => {19 });20});21I'm not sure what you mean by "I'm able to import the root level modules" - can you explain in more detail?

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run storybook-root automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful