code
stringlengths
2
1.05M
version https://git-lfs.github.com/spec/v1 oid sha256:d212e242f579a5434f510785bbdae0fa57e56bda5308fa86dff52e7280aa53d1 size 183211
'use strict'; goog.provide('KeepMeContributing.SchedulesExecutor'); goog.require('KeepMeContributing.SchedulesController'); goog.require('KeepMeContributing.Worker.TimeOfDay'); goog.require('goog.events.Event'); goog.require('goog.events.EventHandler'); goog.require('goog.Disposable'); /** * Base class for objects which receive events with schedules from * KeepMeContributing.SchedulesController. */ KeepMeContributing.SchedulesExecutor = class extends goog.Disposable { /** * Listen events from the given controller. * * @override * @param {KeepMeContributing.SchedulesController} controller */ constructor(controller){ super(); /** * @private * @type {goog.events.EventHandler} */ this.handler_ = new goog.events.EventHandler(this); this.registerDisposable(this.handler_); this.handler_.listen( controller, KeepMeContributing.SchedulesController.Events.UPDATED, (/** goog.events.Event */ event) => { this.handleEventWithSchedules_(event); } ); this.handler_.listen( controller, KeepMeContributing.SchedulesController.Events.STOPPED, () => { this.stop(); } ); } /** * @private * @param {goog.events.Event} event */ handleEventWithSchedules_(event){ let /** Array<KeepMeContributing.Worker.TimeOfDay> */ schedules = /** @type {{schedules: Array<KeepMeContributing.Worker.TimeOfDay>}} */ (event).schedules; if (!(goog.array.isEmpty(schedules))){ this.receiveNewSchedules(schedules); } } /** * Required to implement to extend this class. * Do something to stop notifying anymore. * You can still re-enable notifications by calling receiveNewSchedules. */ stop(){ } /** * Required to implement to extend this class. * Update scheduled notifications then (re-)enable them. * * @param {Array<KeepMeContributing.Worker.TimeOfDay>} schedules */ receiveNewSchedules(schedules){ } };
var should = require('should') , tsa = require('../'); describe('Validations: Range', function(){ var guard = tsa({ foo: tsa.required({ validate: tsa.validate.range(0, 2) }) }); it('positive case', function(done){ //arrange var input = { foo: 1 }; //act guard().frisk(input, function(err, result){ //assert should.not.exist(err); should.exist(result); result.foo.should.equal(1); done(); }); }); it('not a number', function(done){ //arrange var input = { foo: 'bar' }; //act guard().frisk(input, function(err, result){ //assert should.exist(err); err.length.should.equal(1); err[0].key.should.equal('foo'); err[0].error.should.equal('\'bar\' is not a number.'); should.not.exist(result); done(); }); }); it('not a number - custom error message', function(done){ //arrange var guard = tsa({ foo: tsa.required({ validate: tsa.validate.range(0, 2, {invalid: 'fail!'}) }) }); var input = { foo: 'bar' }; //act guard().frisk(input, function(err, result){ //assert should.exist(err); err.length.should.equal(1); err[0].key.should.equal('foo'); err[0].error.should.equal('fail!'); should.not.exist(result); done(); }); }); it('below', function(done){ //arrange var input = { foo: -1 }; //act guard().frisk(input, function(err, result){ //assert should.exist(err); err.length.should.equal(1); err[0].key.should.equal('foo'); should.not.exist(result); done(); }); }); it('below - custom error message', function(done){ //arrange var guard = tsa({ foo: tsa.required({ validate: tsa.validate.range(0, 2, {below: 'fail below!'}) }) }); var input = { foo: -1 }; //act guard().frisk(input, function(err, result){ //assert should.exist(err); err.length.should.equal(1); err[0].key.should.equal('foo'); err[0].error.should.equal('fail below!'); should.not.exist(result); done(); }); }); it('above', function(done){ //arrange var input = { foo: 3 }; //act guard().frisk(input, function(err, result){ //assert should.exist(err); err.length.should.equal(1); err[0].key.should.equal('foo'); should.not.exist(result); done(); }); }); it('above - custom error message', function(done){ //arrange var guard = tsa({ foo: tsa.required({ validate: tsa.validate.range(0, 2, {above: 'fail above!'}) }) }); var input = { foo: 3 }; //act guard().frisk(input, function(err, result){ //assert should.exist(err); err.length.should.equal(1); err[0].key.should.equal('foo'); err[0].error.should.equal('fail above!'); should.not.exist(result); done(); }); }); it('no min', function(done){ //arrange var guard = tsa({ foo: tsa.required({ validate: tsa.validate.range(undefined, 2) }) }); var input = { foo: 1 }; //act guard().frisk(input, function(err, result){ //assert should.not.exist(err); should.exist(result); result.foo.should.equal(1); done(); }); }); it('no max', function(done){ //arrange var guard = tsa({ foo: tsa.required({ validate: tsa.validate.range(0) }) }); var input = { foo: 1 }; //act guard().frisk(input, function(err, result){ //assert should.not.exist(err); should.exist(result); result.foo.should.equal(1); done(); }); }); }); describe('Validations: Min', function(){ var guard = tsa({ foo: tsa.required({ validate: tsa.validate.min(0) }) }); it('positive case', function(done){ //arrange var input = { foo: 1 }; //act guard().frisk(input, function(err, result){ //assert should.not.exist(err); should.exist(result); result.foo.should.equal(1); done(); }); }); it('custom error message - below', function(done){ //arrange var guard = tsa({ foo: tsa.required({ validate: tsa.validate.min(0, {below: 'fail!'}) }) }); var input = { foo: -1 }; //act guard().frisk(input, function(err, result){ //assert should.exist(err); err[0].error.should.equal('fail!'); should.not.exist(result); done(); }); }); }); describe('Validations: Max', function(){ var guard = tsa({ foo: tsa.required({ validate: tsa.validate.max(10) }) }); it('positive case', function(done){ //arrange var input = { foo: 9 }; //act guard().frisk(input, function(err, result){ //assert should.not.exist(err); should.exist(result); result.foo.should.equal(9); done(); }); }); it('custom error message - above', function(done){ //arrange var guard = tsa({ foo: tsa.required({ validate: tsa.validate.max(10, {above: 'fail!'}) }) }); var input = { foo: 11 }; //act guard().frisk(input, function(err, result){ //assert should.exist(err); err[0].error.should.equal('fail!'); should.not.exist(result); done(); }); }); });
'use strict'; var TableMonitor; (function (TableMonitor) { (function (StatusEnum) { StatusEnum[StatusEnum["Available"] = 'Available'] = "Available"; StatusEnum[StatusEnum["Busy"] = 'Busy'] = "Busy"; StatusEnum[StatusEnum["Assigned"] = 'Assigned'] = "Assigned"; StatusEnum[StatusEnum["Reserved"] = 'Reserved'] = "Reserved"; })(TableMonitor.StatusEnum || (TableMonitor.StatusEnum = {})); var StatusEnum = TableMonitor.StatusEnum; })(TableMonitor = exports.TableMonitor || (exports.TableMonitor = {})); //# sourceMappingURL=TableMonitor.js.map
export { default } from 'torii-user-service/components/login-component';
var gulp = require('gulp'), uglify = require('gulp-uglify'), rename = require('gulp-rename'), pkg = require('./package.json'), header = require('gulp-header'); var banner = ['/*!', ' * <%= pkg.name %> - <%= pkg.description %>', ' * @version v<%= pkg.version %>', ' * @link <%= pkg.homepage %>', ' * @license <%= pkg.license %>', ' */', ''].join('\n'); gulp.task('compress', function() { return gulp.src('src/*.js') .pipe(uglify()) .pipe(header(banner, {pkg: pkg})) .pipe(rename('preload0r.min.js')) .pipe(gulp.dest('build')) }); gulp.task('default', function () { gulp.start('compress'); });
var yt = require('../youtube.js'); var helpers = require('./helpers.js'); describe('youtube video page', function() { browser.ignoreSynchronization = true; browser.get('https://www.youtube.com/watch?v=WDcYJHgmI1k'); it('should have main video', function() { var q = yt.video.videos[0]; helpers.testAttrs(q.attrs); }); it('should have related videos', helpers.testQueryList(yt.video.videos[1])); });
//gets alias from data and type data function getAlias(data, columns, alias) { for (var col in columns) alias = alias.replace("%" + col + "%", data[col]); return alias; } //gets data to show aliases function loadAliases() { requiredata.request('typesdata', function(typesdata) { $(".alias[data-entity-type][data-entity-id]").each(function() { //gets type and id to send via ajax, saves element ref for late text update var el = $(this), type = $(this).attr('data-entity-type'), id = $(this).attr('data-entity-id'); ajax("./apis/entities/one.php", { type: type, id: id }, function(data) { //sends request el.text(getAlias(data, typesdata[type].columns, typesdata[type].alias)); //sets alias }); }); }); } // logout function, erases session data (and redirects) function logout() { sessionStorage.clear(); ajax("./apis/auth/logout.php", null, function () { window.location = "./login.php" }); } $("#logout").click(logout); //logout button //sets requiredata options requiredata.options('userdata', { useSessionStorage: true }); //requiredata.options('typesdata', { useSessionStorage: true }); //and loads data if needed requiredata.loadAjax('userdata', { url: "./apis/auth/info.php" }); //gets data about users requiredata.loadAjax('typesdata', { url: "./apis/entitytypes/get.php" }); //gets data about entities //hides all topbar left elements $("#topbar li:not(.right)").hide(); //shows title $("#topbar-title").removeClass("hidden"); //sets user name in topbar requiredata.request('userdata', function (data) { $("#topbar-user").text(data.name + ' ' + data.surname); }); //shows type in topbar if (type != undefined) requiredata.request('typesdata', function(typesdata) { $("#topbar-type").text(typesdata[type].displayname).attr('href', './' + urlParams({ type: type })).removeClass('hidden'); //gets display name for this entity requiredata.request('entitydata', function (data) { requiredata.set('entityalias', getAlias(data, typesdata[type].columns, typesdata[type].alias)); //and saves it }); }); //shows entity alias in topbar if (id != undefined) { requiredata.loadAjax('entitydata', { url: "./apis/entities/one.php", data: { type: type, id: id }, error: errorPopup}); //request entity data requiredata.request('entityalias', function(alias) { $("#topbar-entity").text(alias).attr('href', './' + urlParams({ type: type, id: id })).removeClass('hidden'); //sets alias in topbar requiredata.request('linktypedata', function(linktypedata) { requiredata.request('linkedalias', function(linkedalias) { //gets link alias var replace = {}; replace[type] = alias; replace[link] = linkedalias; requiredata.set('linkdisplayname', getAlias(replace, replace, linktypedata.displayname)); }); }); }); } if (link != undefined) { //shows linktype in topbar requiredata.request('typesdata', function(typesdata) { $("#topbar-link").text(typesdata[link].displayname).removeClass('hidden') .attr('href', './' + urlParams({ type: type, id: id, link: link })); }); //load links data types requiredata.loadAjax('linktypesdata', { url: "./apis/linktypes/get.php", data: { type: type } }); //gets linktype from links data requiredata.request('linktypesdata', function(linktypesdata) { for(var i in linktypesdata) if (((linktypesdata[i].link1 == type) && (linktypesdata[i].link2 == link)) || ((linktypesdata[i].link2 == type) && (linktypesdata[i].link1 == link))) { requiredata.set('linktypedata', linktypesdata[i]); break; } }); } //selects (as "active") the right topbar element if (type == undefined) $("#topbar-title").addClass('active'); //selects title in topbar else if (id == undefined) $("#topbar-type").addClass('active'); //selects entity type in topbar else if (link == undefined) $("#topbar-entity").addClass('active'); //selects entity alias in topbar else $("#topbar-link").addClass('active'); //selects link type in topbar //back button setup (for mobile devices) if (type == undefined) $("#topbar .navbar-brand").remove(); else requiredata.request('backpage', function(backparams) { $("#topbar .navbar-back").attr('href', './' + urlParams(backparams)); //sets page requiredata.request('backtext', function(backtext) { $(".back-text").text(backtext).translate(); //sets text (translated) $("#topbar .navbar-back-container").removeClass('hidden').hide().fadeIn("slow"); //shows back button with fade }); }); //back page setup and back button name if (id == undefined && action != "edit") { //page entities requiredata.set('backpage', {}); // goes to dashboard requiredata.set('backtext', "Dashboard"); // shows "Dashboard" } else if (link == undefined && action != "edit" || id == undefined && action == "edit") { //page entity details or new entity requiredata.set('backpage', { type: type }); // goes to entities requiredata.request('typesdata', function(data) { requiredata.set('backtext', data[type].displayname); }); //shows entity type name } else if (linkid == undefined && action != "edit" || link == undefined && action == "edit") { //page links or edit entity requiredata.set('backpage', { type: type, id: id }); //goes to entity details requiredata.request('entityalias', function(alias) { requiredata.set('backtext', alias); }); //shows entity alias } else { //page edit link requiredata.request('typesdata', function(data) { var hidelinkboxes = (('hidelinkboxes' in data[type]) ? data[type].hidelinkboxes : false); //back page requiredata.set('backpage', hidelinkboxes ? { type: type, id: id } : { type: type, id: id, link: link }); //goes entity details or links requiredata.request('entityalias', function(alias) { //back text if (hidelinkboxes) requiredata.set('backtext', alias); else //shows entity alias requiredata.request('linktypedata', function(data) { //shows link display name requiredata.set('backtext', getAlias({ alias: alias }, { alias: alias }, data.description[type])); }); }); }); } //shows tobar links with animation $("#topbar li:not(.right):not(.hidden)").fadeIn("slow"); //sets title requiredata.request('title', function(title) { $(".box.title h1").hide().text(title).fadeIn("slow"); }); //sets handlers for link-box function setLinkBoxHandlers() { //activates buttons $(".link-box[href], button[href]").on('click', function(e) { e.stopPropagation(); window.location.href = $(this).attr('href'); }); //hover effect $(".link-box > div").on('mouseenter', function() { $(this).addClass("hover"); }) $(".link-box > div").on('mouseleave', function() { $(this).removeClass("hover"); }); }
export default "foo"; export const unused = "foo2";
function system() { var canvas = new Canvas('view'); canvas.fitToWindow(); var l, system, dude; function init() { //canvas.clear(); canvas.fade(); canvas.fade(); canvas.fade(); canvas.setKaleidoscope(4 + randomInt(4)); system = (sampleArray( [ Lindenmayer.dragonCurve, Lindenmayer.kochCurve, Lindenmayer.hilbertCurve, Lindenmayer.carpet, Lindenmayer.thing, Lindenmayer.something ] ))(); l = system.generate(); console.log(l); dude = new Dude(Math.floor(canvas.width / 2), Math.floor(canvas.height / 2)); dude.draw(canvas); } function main() { var action = l.pop(); switch (action) { case 'F': dude.moveForward(); dude.draw(canvas); dude.moveForward(); dude.draw(canvas); dude.evolve(); break; case '-': dude.turnLeft(); break; case '+': dude.turnRight(); break; case undefined: init(); break; } //window.requestAnimationFrame(main) setTimeout(main, 1); } init(); main(); }
var diceware = { 11111:"0", 11112:"1", 11113:"2", 11114:"3", 11115:"4", 11116:"5", 11121:"6", 11122:"7", 11123:"8", 11124:"9", 11125:"10", 11126:"11", 11131:"12", 11132:"13", 11133:"14", 11134:"15", 11135:"16", 11136:"17", 11141:"18", 11142:"19", 11143:"20", 11144:"21", 11145:"22", 11146:"23", 11151:"24", 11152:"25", 11153:"26", 11154:"27", 11155:"28", 11156:"29", 11161:"30", 11162:"31", 11163:"32", 11164:"33", 11165:"34", 11166:"35", 11211:"36", 11212:"37", 11213:"38", 11214:"39", 11215:"40", 11216:"41", 11221:"42", 11222:"43", 11223:"44", 11224:"45", 11225:"46", 11226:"47", 11231:"48", 11232:"49", 11233:"50", 11234:"51", 11235:"52", 11236:"53", 11241:"54", 11242:"55", 11243:"56", 11244:"57", 11245:"58", 11246:"59", 11251:"60", 11252:"61", 11253:"62", 11254:"63", 11255:"64", 11256:"65", 11261:"66", 11262:"67", 11263:"68", 11264:"69", 11265:"70", 11266:"71", 11311:"72", 11312:"73", 11313:"74", 11314:"75", 11315:"76", 11316:"77", 11321:"78", 11322:"79", 11323:"80", 11324:"81", 11325:"82", 11326:"83", 11331:"84", 11332:"85", 11333:"86", 11334:"87", 11335:"88", 11336:"89", 11341:"90", 11342:"91", 11343:"92", 11344:"93", 11345:"94", 11346:"95", 11351:"96", 11352:"97", 11353:"98", 11354:"99", 11355:"100", 11356:"101", 11361:"111", 11362:"123", 11363:"200", 11364:"222", 11365:"234", 11366:"300", 11411:"333", 11412:"345", 11413:"400", 11414:"444", 11415:"456", 11416:"500", 11421:"555", 11422:"567", 11423:"600", 11424:"666", 11425:"678", 11426:"700", 11431:"777", 11432:"789", 11433:"800", 11434:"888", 11435:"900", 11436:"999", 11441:"1000", 11442:"1111", 11443:"1234", 11444:"1492", 11445:"1500", 11446:"1600", 11451:"1700", 11452:"1800", 11453:"1900", 11454:"1910", 11455:"1920", 11456:"1925", 11461:"1930", 11462:"1935", 11463:"1940", 11464:"1945", 11465:"1950", 11466:"1955", 11511:"1960", 11512:"1965", 11513:"1970", 11514:"1975", 11515:"1980", 11516:"1985", 11521:"1990", 11522:"1991", 11523:"1992", 11524:"1993", 11525:"1994", 11526:"1995", 11531:"1996", 11532:"1997", 11533:"1998", 11534:"1999", 11535:"2000", 11536:"2001", 11541:"2002", 11542:"2003", 11543:"2004", 11544:"2005", 11545:"2006", 11546:"2007", 11551:"2008", 11552:"2009", 11553:"2010", 11554:"2015", 11555:"2020", 11556:"2030", 11561:"2035", 11562:"2040", 11563:"2045", 11564:"2050", 11565:"2222", 11566:"2345", 11611:"2468", 11612:"3000", 11613:"3333", 11614:"3456", 11615:"4000", 11616:"4321", 11621:"4444", 11622:"4567", 11623:"5000", 11624:"5555", 11625:"5678", 11626:"6000", 11631:"6666", 11632:"6789", 11633:"7000", 11634:"7777", 11635:"8000", 11636:"8888", 11641:"9000", 11642:"9876", 11643:"9999", 11644:"-", 11645:"--", 11646:"---", 11651:"!", 11652:"!!", 11653:"!!!", 11654:"\"", 11655:"#", 11656:"##", 11661:"###", 11662:"$", 11663:"$$", 11664:"$$$", 11665:"%", 11666:"%%", 12111:"%%%", 12112:"&", 12113:"(", 12114:"()", 12115:")", 12116:"*", 12121:"**", 12122:"***", 12123:":", 12124:":(", 12125:":-(", 12126:":)", 12131:":-)", 12132:";", 12133:"?", 12134:"??", 12135:"???", 12136:"@", 12141:"+", 12142:"++", 12143:"+++", 12144:"=", 12145:"==", 12146:"===", 12151:"a", 12152:"aa", 12153:"aaa", 12154:"aaaa", 12155:"Aagje", 12156:"aagt", 12161:"aagten", 12162:"aai", 12163:"aaide", 12164:"aaien", 12165:"aaitje", 12166:"aak", 12211:"aal", 12212:"aalbes", 12213:"aalput", 12214:"aalt", 12215:"aaltje", 12216:"aam", 12221:"aambei", 12222:"aan", 12223:"aanbad", 12224:"aanbod", 12225:"aaneen", 12226:"aanhef", 12231:"aanleg", 12232:"aanpak", 12233:"aantal", 12234:"aanval", 12235:"aanwas", 12236:"aanzet", 12241:"aap", 12242:"aapje", 12243:"aapjes", 12244:"aapte", 12245:"aar", 12246:"aard", 12251:"aardas", 12252:"aardde", 12253:"aarde", 12254:"aarden", 12255:"aardig", 12256:"aards", 12261:"aardse", 12262:"aars", 12263:"aarzen", 12264:"aas", 12265:"aasde", 12266:"aasje", 12311:"aasjes", 12312:"aaszak", 12313:"aatje", 12314:"aatjes", 12315:"ab", 12316:"abaci", 12321:"abacus", 12322:"abc", 12323:"abc", 12324:"abces", 12325:"abdij", 12326:"abdis", 12331:"abeel", 12332:"abel", 12333:"abele", 12334:"abelen", 12335:"abject", 12336:"ablaut", 12341:"abri", 12342:"abrupt", 12343:"abscis", 12344:"absent", 12345:"absint", 12346:"absurd", 12351:"abt", 12352:"abten", 12353:"abuis", 12354:"ac", 12355:"acacia", 12356:"acajou", 12361:"accent", 12362:"accept", 12363:"acces", 12364:"accres", 12365:"accu", 12366:"accu's", 12411:"ace", 12412:"aceton", 12413:"ach", 12414:"acht", 12415:"achten", 12416:"achter", 12421:"achtte", 12422:"acid", 12423:"acne", 12424:"acquit", 12425:"acre", 12426:"acres", 12431:"acryl", 12432:"act", 12433:"acteur", 12434:"actie", 12435:"actief", 12436:"acti‘n", 12441:"acties", 12442:"activa", 12443:"acute", 12444:"acuter", 12445:"acuut", 12446:"ad", 12451:"adagia", 12452:"adagio", 12453:"Adam", 12454:"adat", 12455:"adder", 12456:"adders", 12461:"addict", 12462:"adel", 12463:"adelde", 12464:"adelen", 12465:"adem", 12466:"ademde", 12511:"ademen", 12512:"adept", 12513:"ader", 12514:"aderde", 12515:"aderen", 12516:"adieu", 12521:"adios", 12522:"adonis", 12523:"adres", 12524:"advent", 12525:"advies", 12526:"ae", 12531:"aequo", 12532:"a‘roob", 12533:"af", 12534:"afasie", 12535:"afbouw", 12536:"afdak", 12541:"afdoen", 12542:"afdruk", 12543:"affect", 12544:"affix", 12545:"affuit", 12546:"afgaan", 12551:"afgang", 12552:"afgod", 12553:"afijn", 12554:"afkeer", 12555:"afkoop", 12556:"aflaat", 12561:"afloop", 12562:"afmars", 12563:"afname", 12564:"afpeil", 12565:"afreis", 12566:"afrit", 12611:"afroep", 12612:"afslag", 12613:"afstel", 12614:"aft", 12615:"aftrap", 12616:"aftrek", 12621:"afval", 12622:"afvoer", 12623:"afwas", 12624:"afweer", 12625:"afzet", 12626:"afzien", 12631:"afzijn", 12632:"ag", 12633:"agaat", 12634:"agamie", 12635:"agaten", 12636:"agave", 12641:"agaven", 12642:"agenda", 12643:"agens", 12644:"agent", 12645:"agente", 12646:"ageren", 12651:"agio", 12652:"agnost", 12653:"agogie", 12654:"agonie", 12655:"agoog", 12656:"agrafe", 12661:"ah", 12662:"aha", 12663:"ahoi", 12664:"ahorn", 12665:"ai", 12666:"aids", 13111:"aikido", 13112:"air", 13113:"airbag", 13114:"airbus", 13115:"airco", 13116:"airtje", 13121:"a•s", 13122:"a•ssen", 13123:"aj", 13124:"ajour", 13125:"ajuin", 13126:"ajuus", 13131:"ak", 13132:"akant", 13133:"a-kant", 13134:"akela", 13135:"akelei", 13136:"akelig", 13141:"aker", 13142:"akker", 13143:"akkers", 13144:"akolei", 13145:"aks", 13146:"aksen", 13151:"akst", 13152:"aksten", 13153:"akte", 13154:"akten", 13155:"aktes", 13156:"al", 13161:"alaam", 13162:"alarm", 13163:"albast", 13164:"albe", 13165:"alben", 13166:"albino", 13211:"album", 13212:"albums", 13213:"aldaar", 13214:"aldoor", 13215:"aldra", 13216:"aldus", 13221:"aleer", 13222:"alert", 13223:"alerte", 13224:"alfa", 13225:"algauw", 13226:"alge", 13231:"algen", 13232:"alhier", 13233:"alias", 13234:"alibi", 13235:"alinea", 13236:"alk", 13241:"alkali", 13242:"alken", 13243:"alkoof", 13244:"all", 13245:"Allah", 13246:"allang", 13251:"alle", 13252:"allee", 13253:"alleen", 13254:"allen", 13255:"aller", 13256:"alles", 13261:"allo", 13262:"allooi", 13263:"allure", 13264:"almaar", 13265:"almede", 13266:"almee", 13311:"alo‘", 13312:"alo‘'s", 13313:"alom", 13314:"aloud", 13315:"aloude", 13316:"alp", 13321:"alpaca", 13322:"alpen", 13323:"alpien", 13324:"alpine", 13325:"alpino", 13326:"alras", 13331:"alruin", 13332:"als", 13333:"alsdan", 13334:"alsem", 13335:"alsnog", 13336:"alsof", 13341:"alsook", 13342:"alt", 13343:"altaar", 13344:"alten", 13345:"alter", 13346:"althea", 13351:"altijd", 13352:"altist", 13353:"altoos", 13354:"aluin", 13355:"alvast", 13356:"alver", 13361:"alvers", 13362:"alwaar", 13363:"alweer", 13364:"alzo", 13365:"am", 13366:"amanda", 13411:"amant", 13412:"amaril", 13413:"amati", 13414:"amber", 13415:"ambigu", 13416:"ambo", 13421:"ambt", 13422:"ambten", 13423:"amen", 13424:"amfoor", 13425:"amfora", 13426:"amice", 13431:"amices", 13432:"amict", 13433:"amigo", 13434:"amoebe", 13435:"amok", 13436:"amorf", 13441:"amorfe", 13442:"ampel", 13443:"ampele", 13444:"amper", 13445:"ampre", 13446:"ampex", 13451:"ampul", 13452:"amulet", 13453:"amuse", 13454:"an", 13455:"anaal", 13456:"anale", 13461:"ananas", 13462:"ancien", 13463:"ander", 13464:"andere", 13465:"anders", 13466:"anemie", 13511:"angel", 13512:"angels", 13513:"angina", 13514:"angora", 13515:"angst", 13516:"anijs", 13521:"anima", 13522:"animo", 13523:"animus", 13524:"anion", 13525:"anjer", 13526:"anjers", 13531:"ank", 13532:"anker", 13533:"ankers", 13534:"anklet", 13535:"annex", 13536:"anno", 13541:"anode", 13542:"anoden", 13543:"anodes", 13544:"anomie", 13545:"anorak", 13546:"ante", 13551:"anti", 13552:"antiek", 13553:"anus", 13554:"ao", 13555:"aorta", 13556:"ap", 13561:"apache", 13562:"apart", 13563:"aparte", 13564:"aperu", 13565:"aperij", 13566:"apert", 13611:"aperte", 13612:"apezat", 13613:"apin", 13614:"aplomb", 13615:"aporie", 13616:"appel", 13621:"appl", 13622:"appels", 13623:"april", 13624:"aprils", 13625:"apsis", 13626:"aq", 13631:"ar", 13632:"ara", 13633:"arak", 13634:"arbeid", 13635:"arcade", 13636:"arde", 13641:"arduin", 13642:"are", 13643:"areaal", 13644:"aren", 13645:"arena", 13646:"arend", 13651:"argon", 13652:"argot", 13653:"argots", 13654:"argus", 13655:"aria", 13656:"ari‘r", 13661:"ari‘rs", 13662:"arisch", 13663:"ark", 13664:"arken", 13665:"arm", 13666:"armada", 14111:"arme", 14112:"armee", 14113:"armen", 14114:"armer", 14115:"armoe", 14116:"armpje", 14121:"armvol", 14122:"Arnhem", 14123:"aroma", 14124:"aromen", 14125:"aroom", 14126:"arren", 14131:"arrest", 14132:"arrivŽ", 14133:"ars", 14134:"arseen", 14135:"art", 14136:"arts", 14141:"artsen", 14142:"as", 14143:"asbak", 14144:"asbelt", 14145:"asbest", 14146:"asceet", 14151:"ascese", 14152:"Asdag", 14153:"asem", 14154:"asemen", 14155:"asfalt", 14156:"ashoop", 14161:"asiel", 14162:"askar", 14163:"asla", 14164:"aslade", 14165:"aspect", 14166:"aspic", 14211:"aspot", 14212:"asrest", 14213:"assem", 14214:"assen", 14215:"Assen", 14216:"ast", 14221:"asten", 14222:"aster", 14223:"asters", 14224:"astma", 14225:"aston", 14226:"asurn", 14231:"at", 14232:"ataxie", 14233:"atjar", 14234:"Atjees", 14235:"atlant", 14236:"atlas", 14241:"atleet", 14242:"atlete", 14243:"atol", 14244:"atomen", 14245:"atoom", 14246:"atrium", 14251:"attaca", 14252:"attent", 14253:"attest", 14254:"au", 14255:"aubade", 14256:"auctie", 14261:"auctor", 14262:"aucuba", 14263:"augurk", 14264:"aula", 14265:"aula's", 14266:"aura", 14311:"aura's", 14312:"aurora", 14313:"Aussie", 14314:"auteur", 14315:"autist", 14316:"auto", 14321:"auto's", 14322:"auxine", 14323:"av", 14324:"aval", 14325:"avance", 14326:"avant", 14331:"avatar", 14332:"ave", 14333:"avenue", 14334:"averij", 14335:"avis", 14336:"avond", 14341:"aw", 14342:"ax", 14343:"axel", 14344:"axiaal", 14345:"axiale", 14346:"axioma", 14351:"ay", 14352:"az", 14353:"azalea", 14354:"azen", 14355:"Aziaat", 14356:"azijn", 14361:"azimut", 14362:"azteek", 14363:"azuren", 14364:"azuur", 14365:"b", 14366:"baadde", 14411:"baadje", 14412:"baai", 14413:"baaien", 14414:"baak", 14415:"baal", 14416:"baalde", 14421:"baan", 14422:"baande", 14423:"baar", 14424:"baard", 14425:"baarde", 14426:"baars", 14431:"baas", 14432:"baasde", 14433:"baat", 14434:"baatte", 14435:"baba", 14436:"babbel", 14441:"babi", 14442:"baboe", 14443:"baboes", 14444:"baby", 14445:"baby's", 14446:"bacil", 14451:"back", 14452:"backen", 14453:"bacon", 14454:"bacove", 14455:"bad", 14456:"badcel", 14461:"baden", 14462:"bader", 14463:"baders", 14464:"badge", 14465:"badjas", 14466:"badpak", 14511:"badtas", 14512:"bagage", 14513:"bagger", 14514:"bagno", 14515:"bah", 14516:"bahco", 14521:"baisse", 14522:"bajes", 14523:"bak", 14524:"baken", 14525:"bakens", 14526:"baker", 14531:"bakers", 14532:"bakken", 14533:"bakker", 14534:"bakkes", 14535:"bakkie", 14536:"bakpan", 14541:"baksel", 14542:"bakte", 14543:"bakten", 14544:"bakvis", 14545:"bal", 14546:"balans", 14551:"balata", 14552:"balde", 14553:"balein", 14554:"balen", 14555:"balg", 14556:"balgen", 14561:"balie", 14562:"balies", 14563:"balije", 14564:"baljuw", 14565:"balk", 14566:"balken", 14611:"balkon", 14612:"balkte", 14613:"ballen", 14614:"ballet", 14615:"ballon", 14616:"balpen", 14621:"balsa", 14622:"balsem", 14623:"balts", 14624:"balzak", 14625:"bamba", 14626:"bamboe", 14631:"bami", 14632:"Bamis", 14633:"ban", 14634:"banaal", 14635:"banaan", 14636:"banaat", 14641:"banale", 14642:"band", 14643:"bande", 14644:"banden", 14645:"banen", 14646:"bang", 14651:"bange", 14652:"banger", 14653:"bangig", 14654:"banier", 14655:"banjer", 14656:"banjir", 14661:"banjo", 14662:"bank", 14663:"banken", 14664:"banket", 14665:"bankje", 14666:"bankte", 15111:"bannen", 15112:"bantoe", 15113:"bar", 15114:"barak", 15115:"bard", 15116:"barden", 15121:"barder", 15122:"bare", 15123:"bareel", 15124:"baren", 15125:"baret", 15126:"bariet", 15131:"baring", 15132:"barium", 15133:"bark", 15134:"barkas", 15135:"barken", 15136:"barman", 15141:"barok", 15142:"baron", 15143:"barons", 15144:"barre", 15145:"barrel", 15146:"bars", 15151:"barse", 15152:"barser", 15153:"barst", 15154:"barzoi", 15155:"bas", 15156:"basaal", 15161:"basale", 15162:"basalt", 15163:"base", 15164:"basen", 15165:"bases", 15166:"basis", 15211:"basket", 15212:"bassen", 15213:"basset", 15214:"bassin", 15215:"bast", 15216:"basta", 15221:"baste", 15222:"basten", 15223:"bat", 15224:"Bataaf", 15225:"bataat", 15226:"batch", 15231:"bate", 15232:"baten", 15233:"batig", 15234:"batik", 15235:"batiks", 15236:"batist", 15241:"baton", 15242:"batten", 15243:"baud", 15244:"bauwde", 15245:"bauwen", 15246:"bavet", 15251:"baxter", 15252:"bazaar", 15253:"bazen", 15254:"bazig", 15255:"bazige", 15256:"bazin", 15261:"bazuin", 15262:"bb", 15263:"bbb", 15264:"bbbb", 15265:"bc", 15266:"bcd", 15311:"bd", 15312:"be", 15313:"beaamd", 15314:"beaat", 15315:"beamen", 15316:"beat", 15321:"beautŽ", 15322:"beauty", 15323:"beboet", 15324:"bebop", 15325:"bebost", 15326:"bed", 15331:"bedden", 15332:"bede", 15333:"bedekt", 15334:"beden", 15335:"bederf", 15336:"bedild", 15341:"beding", 15342:"bedolf", 15343:"bedong", 15344:"bedot", 15345:"bedrag", 15346:"bedrog", 15351:"beduid", 15352:"beefde", 15353:"beek", 15354:"beeld", 15355:"beemd", 15356:"been", 15361:"beende", 15362:"beer", 15363:"beerde", 15364:"be‘rfd", 15365:"beest", 15366:"beet", 15411:"beetje", 15412:"bef", 15413:"beffen", 15414:"begaan", 15415:"begaf", 15416:"begijn", 15421:"begild", 15422:"begin", 15423:"beging", 15424:"begon", 15425:"begoot", 15426:"begrip", 15431:"beha", 15432:"behang", 15433:"beha's", 15434:"beheer", 15435:"behept", 15436:"behing", 15441:"behoed", 15442:"behoef", 15443:"behoud", 15444:"behulp", 15445:"behuwd", 15446:"bei", 15451:"beidde", 15452:"beide", 15453:"beiden", 15454:"beider", 15455:"beien", 15456:"Beier", 15461:"Beiers", 15462:"beige", 15463:"beitel", 15464:"beits", 15465:"bejoeg", 15466:"bek", 15511:"bekaf", 15512:"bekakt", 15513:"bekapt", 15514:"bekeef", 15515:"bekeek", 15516:"beken", 15521:"bekend", 15522:"beker", 15523:"bekers", 15524:"bekijk", 15525:"bekist", 15526:"bekken", 15531:"beklad", 15532:"beklag", 15533:"beklom", 15534:"beknot", 15535:"bekort", 15536:"bekte", 15541:"bekwam", 15542:"bel", 15543:"beland", 15544:"belang", 15545:"belas", 15546:"belast", 15551:"belde", 15552:"beleed", 15553:"beleg", 15554:"belegd", 15555:"beleid", 15556:"belet", 15561:"Belg", 15562:"Belgen", 15563:"Belgi‘", 15564:"beliep", 15565:"belle", 15566:"bellen", 15611:"bello", 15612:"beloog", 15613:"beloop", 15614:"belt", 15615:"belten", 15616:"beluik", 15621:"belust", 15622:"bemand", 15623:"bemest", 15624:"bemind", 15625:"bemost", 15626:"ben", 15631:"benam", 15632:"benard", 15633:"bende", 15634:"benden", 15635:"bendes", 15636:"bene", 15641:"benen", 15642:"bengel", 15643:"benig", 15644:"benige", 15645:"benijd", 15646:"bennen", 15651:"bent", 15652:"benul", 15653:"benut", 15654:"benzo‘", 15655:"benzol", 15656:"beo", 15661:"beogen", 15662:"beoogd", 15663:"bepakt", 15664:"beraad", 15665:"berber", 15666:"berd", 16111:"berde", 16112:"berden", 16113:"bereed", 16114:"bereid", 16115:"bereik", 16116:"beren", 16121:"berg", 16122:"bergaf", 16123:"bergen", 16124:"Bergen", 16125:"bergop", 16126:"beried", 16131:"beriep", 16132:"beril", 16133:"berin", 16134:"berini", 16135:"berk", 16136:"berken", 16141:"berm", 16142:"bermen", 16143:"beroep", 16144:"beroet", 16145:"berouw", 16146:"berrie", 16151:"berst", 16152:"berust", 16153:"bes", 16154:"besef", 16155:"beseft", 16156:"besje", 16161:"besjes", 16162:"beslag", 16163:"besmet", 16164:"bespot", 16165:"bessen", 16166:"best", 16211:"bestal", 16212:"beste", 16213:"bestek", 16214:"bestel", 16215:"besten", 16216:"bta", 16221:"betast", 16222:"bete", 16223:"betel", 16224:"beten", 16225:"beter", 16226:"beton", 16231:"betond", 16232:"betoog", 16233:"betoon", 16234:"betrad", 16235:"betrof", 16236:"betrok", 16241:"bette", 16242:"betten", 16243:"beu", 16244:"beug", 16245:"beugel", 16246:"beugen", 16251:"beuk", 16252:"beuken", 16253:"beuker", 16254:"beukte", 16255:"beul", 16256:"beulde", 16261:"beulen", 16262:"beun", 16263:"beunen", 16264:"beurde", 16265:"beuren", 16266:"beurs", 16311:"beurse", 16312:"beurt", 16313:"beval", 16314:"bevat", 16315:"bevel", 16316:"beven", 16321:"bever", 16322:"bevers", 16323:"beviel", 16324:"bevind", 16325:"beving", 16326:"bevist", 16331:"bevit", 16332:"bevoer", 16333:"bevond", 16334:"bewees", 16335:"beweid", 16336:"bewies", 16341:"bewijs", 16342:"bewind", 16343:"bewoog", 16344:"bewust", 16345:"bezaan", 16346:"bezag", 16351:"bezat", 16352:"bezem", 16353:"bezems", 16354:"bezet", 16355:"bezie", 16356:"bezien", 16361:"bezi‘n", 16362:"bezig", 16363:"bezige", 16364:"bezit", 16365:"bezoek", 16366:"bezon", 16411:"bezong", 16412:"bezonk", 16413:"bezoop", 16414:"bf", 16415:"bg", 16416:"bh", 16421:"bi", 16422:"bias", 16423:"bibs", 16424:"bic", 16425:"biceps", 16426:"biddag", 16431:"bidden", 16432:"bidder", 16433:"bidet", 16434:"bidets", 16435:"bidon", 16436:"bidweg", 16441:"bieb", 16442:"biecht", 16443:"bieden", 16444:"bieder", 16445:"biel", 16446:"biels", 16451:"bier", 16452:"bieren", 16453:"bies", 16454:"biesde", 16455:"biest", 16456:"biet", 16461:"bieten", 16462:"biezen", 16463:"big", 16464:"bigde", 16465:"biggen", 16466:"bigot", 16511:"bij", 16512:"bijbal", 16513:"bijbel", 16514:"bijeen", 16515:"bijen", 16516:"bijl", 16521:"bijlen", 16522:"bijles", 16523:"bijna", 16524:"bijou", 16525:"bijous", 16526:"bijrol", 16531:"bijt", 16532:"bijten", 16533:"bijter", 16534:"bijtje", 16535:"bijtte", 16536:"bijvak", 16541:"bijval", 16542:"bijzin", 16543:"bijzit", 16544:"bijzon", 16545:"bik", 16546:"bikini", 16551:"bikkel", 16552:"bikken", 16553:"bikte", 16554:"bil", 16555:"bilde", 16556:"biljet", 16561:"billen", 16562:"bimbam", 16563:"binair", 16564:"binden", 16565:"binder", 16566:"bingo", 16611:"bink", 16612:"binken", 16613:"binnen", 16614:"binst", 16615:"bint", 16616:"binten", 16621:"bintje", 16622:"biobak", 16623:"biogas", 16624:"bios", 16625:"bips", 16626:"bis", 16631:"bisdom", 16632:"bismut", 16633:"bissen", 16634:"bisser", 16635:"bister", 16636:"bistro", 16641:"bit", 16642:"bits", 16643:"bitse", 16644:"bitser", 16645:"bitsig", 16646:"bitten", 16651:"bitter", 16652:"bivak", 16653:"bizar", 16654:"bizon", 16655:"bizons", 16656:"bj", 16661:"bk", 16662:"bl", 16663:"blaag", 16664:"blaam", 16665:"blaar", 16666:"blaas", 21111:"blad", 21112:"bladen", 21113:"blafte", 21114:"blagen", 21115:"blague", 21116:"blak", 21121:"blaken", 21122:"blaker", 21123:"blakke", 21124:"blanco", 21125:"blanda", 21126:"blank", 21131:"blanke", 21132:"blaren", 21133:"blasŽ", 21134:"blaten", 21135:"blauw", 21136:"blauwe", 21141:"blazen", 21142:"blazer", 21143:"bleef", 21144:"bleek", 21145:"blees", 21146:"blei", 21151:"bleien", 21152:"bleke", 21153:"bleken", 21154:"bleker", 21155:"blekte", 21156:"blende", 21161:"blrde", 21162:"blren", 21163:"bles", 21164:"bleten", 21165:"bleu", 21166:"blezen", 21211:"bliek", 21212:"bliep", 21213:"blies", 21214:"blij", 21215:"blijde", 21216:"blijer", 21221:"blijf", 21222:"blijk", 21223:"blik", 21224:"blikte", 21225:"blind", 21226:"blinde", 21231:"blink", 21232:"blits", 21233:"blo", 21234:"blode", 21235:"bloder", 21236:"bloed", 21241:"bloei", 21242:"bloem", 21243:"bloes", 21244:"blok", 21245:"blokte", 21246:"blom", 21251:"blond", 21252:"blonde", 21253:"bloot", 21254:"blos", 21255:"blote", 21256:"bloter", 21261:"blouse", 21262:"blow", 21263:"blowen", 21264:"blower", 21265:"blozen", 21266:"blues", 21311:"bluf", 21312:"blufte", 21313:"bluste", 21314:"blut", 21315:"bluts", 21316:"bm", 21321:"bn", 21322:"bo", 21323:"boa", 21324:"board", 21325:"bob", 21326:"bobbel", 21331:"bobben", 21332:"bobby", 21333:"bobde", 21334:"bobijn", 21335:"bobine", 21336:"bochel", 21341:"bocht", 21342:"bock", 21343:"bod", 21344:"bode", 21345:"bodega", 21346:"bodem", 21351:"bodems", 21352:"boden", 21353:"bodes", 21354:"body", 21355:"body's", 21356:"boe", 21361:"boedel", 21362:"boef", 21363:"boeg", 21364:"boegen", 21365:"boei", 21366:"boeide", 21411:"boeien", 21412:"boeier", 21413:"boek", 21414:"boeken", 21415:"boeket", 21416:"boekte", 21421:"boel", 21422:"boelen", 21423:"boem", 21424:"boeman", 21425:"boemel", 21426:"boende", 21431:"boenen", 21432:"boer", 21433:"boerde", 21434:"boeren", 21435:"boerin", 21436:"boers", 21441:"boerse", 21442:"boert", 21443:"boes", 21444:"boete", 21445:"boeten", 21446:"boetes", 21451:"boette", 21452:"boeven", 21453:"boezel", 21454:"boezem", 21455:"boezen", 21456:"bof", 21461:"boffen", 21462:"boffer", 21463:"bofte", 21464:"bogen", 21465:"bohme", 21466:"boiler", 21511:"bojaar", 21512:"bok", 21513:"bokaal", 21514:"bokken", 21515:"bokkig", 21516:"boksen", 21521:"bokser", 21522:"bokste", 21523:"bokte", 21524:"boktor", 21525:"bol", 21526:"bolde", 21531:"bolder", 21532:"boleet", 21533:"bolero", 21534:"bolide", 21535:"bolk", 21536:"bolken", 21541:"bolkop", 21542:"bolle", 21543:"bollen", 21544:"boller", 21545:"bollig", 21546:"bolus", 21551:"bom", 21552:"bombam", 21553:"bomde", 21554:"bomen", 21555:"bomer", 21556:"bomers", 21561:"bomgat", 21562:"bomijs", 21563:"bommel", 21564:"bommen", 21565:"bomvol", 21566:"bon", 21611:"bonbon", 21612:"bond", 21613:"bonden", 21614:"bondig", 21615:"bonen", 21616:"bongo", 21621:"boni", 21622:"bonje", 21623:"bonk", 21624:"bonken", 21625:"bonket", 21626:"bonkig", 21631:"bonkte", 21632:"bonnen", 21633:"bonnet", 21634:"bonobo", 21635:"bons", 21636:"bonsai", 21641:"bonsde", 21642:"bont", 21643:"bonte", 21644:"bonten", 21645:"bonter", 21646:"bontje", 21651:"bonus", 21652:"bonze", 21653:"bonzen", 21654:"boog", 21655:"boogde", 21656:"boom", 21661:"boomde", 21662:"boon", 21663:"boor", 21664:"booras", 21665:"boord", 21666:"boorde", 22111:"boort", 22112:"boos", 22113:"boot", 22114:"bootee", 22115:"bootte", 22116:"bopper", 22121:"boraat", 22122:"borat", 22123:"borax", 22124:"bord", 22125:"borden", 22126:"border", 22131:"bordes", 22132:"boren", 22133:"borg", 22134:"borgde", 22135:"borgen", 22136:"boring", 22141:"borium", 22142:"borrel", 22143:"borst", 22144:"bos", 22145:"bosbes", 22146:"bosgod", 22151:"bosje", 22152:"bosjes", 22153:"boskat", 22154:"boson", 22155:"bospad", 22156:"bossen", 22161:"boste", 22162:"boston", 22163:"bosuil", 22164:"bot", 22165:"boten", 22166:"boter", 22211:"botje", 22212:"botjes", 22213:"bots", 22214:"botsen", 22215:"botste", 22216:"botte", 22221:"bottel", 22222:"botten", 22223:"botter", 22224:"botweg", 22225:"bouclŽ", 22226:"boud", 22231:"boude", 22232:"bougie", 22233:"boules", 22234:"bout", 22235:"boute", 22236:"bouten", 22241:"bouw", 22242:"bouwde", 22243:"bouwen", 22244:"bouwer", 22245:"boven", 22246:"bowl", 22251:"bowlde", 22252:"bowlen", 22253:"bowler", 22254:"box", 22255:"boxer", 22256:"boy", 22261:"boycot", 22262:"boze", 22263:"bozer", 22264:"bozig", 22265:"bp", 22266:"bq", 22311:"br", 22312:"braaf", 22313:"braai", 22314:"braak", 22315:"braam", 22316:"bracht", 22321:"braden", 22322:"brak", 22323:"braken", 22324:"brakke", 22325:"bralde", 22326:"bram", 22331:"bramen", 22332:"brand", 22333:"brandy", 22334:"branie", 22335:"bras", 22336:"brasem", 22341:"braste", 22342:"brat", 22343:"brave", 22344:"braver", 22345:"bravo", 22346:"break", 22351:"brede", 22352:"breder", 22353:"breed", 22354:"breide", 22355:"breien", 22356:"brein", 22361:"breken", 22362:"breker", 22363:"brem", 22364:"brems", 22365:"bres", 22366:"bretel", 22411:"Breton", 22412:"breuk", 22413:"breve", 22414:"breven", 22415:"brevet", 22416:"bridge", 22421:"brie", 22422:"brief", 22423:"bries", 22424:"brij", 22425:"brijen", 22426:"brik", 22431:"briket", 22432:"bril", 22433:"brilde", 22434:"brille", 22435:"brink", 22436:"brio", 22441:"Brit", 22442:"Brits", 22443:"Britse", 22444:"broche", 22445:"broden", 22446:"broed", 22451:"broeds", 22452:"broei", 22453:"broek", 22454:"broer", 22455:"broes", 22456:"brogue", 22461:"brok", 22462:"broker", 22463:"brokte", 22464:"brom", 22465:"bromde", 22466:"bron", 22511:"brons", 22512:"bronst", 22513:"brood", 22514:"broom", 22515:"broos", 22516:"bros", 22521:"brosse", 22522:"broze", 22523:"brozen", 22524:"brozer", 22525:"brug", 22526:"Brugge", 22531:"brugje", 22532:"brui", 22533:"bruid", 22534:"bruin", 22535:"bruine", 22536:"bruis", 22541:"brulde", 22542:"brunch", 22543:"brut", 22544:"brute", 22545:"bruten", 22546:"bruter", 22551:"bruto", 22552:"bruusk", 22553:"bruut", 22554:"bs", 22555:"bt", 22556:"bu", 22561:"bubbel", 22562:"buddy", 22563:"budget", 22564:"budo", 22565:"buffel", 22566:"buffer", 22611:"buffet", 22612:"bug", 22613:"bugel", 22614:"bugels", 22615:"buggy", 22616:"bŸhne", 22621:"bui", 22622:"buide", 22623:"buidel", 22624:"buien", 22625:"buigen", 22626:"buiig", 22631:"buik", 22632:"buiken", 22633:"buikig", 22634:"buikje", 22635:"buil", 22636:"builde", 22641:"builen", 22642:"buis", 22643:"buisde", 22644:"buit", 22645:"buiten", 22646:"buitje", 22651:"buitte", 22652:"buizen", 22653:"bukken", 22654:"buks", 22655:"buksen", 22656:"bukte", 22661:"bul", 22662:"buldog", 22663:"bulk", 22664:"bulken", 22665:"bulkte", 22666:"bullen", 23111:"bult", 23112:"bulten", 23113:"bultig", 23114:"bultte", 23115:"bumper", 23116:"bun", 23121:"bundel", 23122:"bunder", 23123:"bunker", 23124:"bunnen", 23125:"bunny", 23126:"bups", 23131:"burcht", 23132:"bureau", 23133:"bureel", 23134:"buren", 23135:"buret", 23136:"burg", 23141:"burgen", 23142:"burger", 23143:"burijn", 23144:"burin", 23145:"burins", 23146:"bus", 23151:"bussel", 23152:"bussen", 23153:"buste", 23154:"busten", 23155:"bustes", 23156:"butaan", 23161:"butler", 23162:"butsen", 23163:"button", 23164:"buur", 23165:"buurde", 23166:"buurt", 23211:"buxus", 23212:"bv", 23213:"bw", 23214:"bx", 23215:"by", 23216:"bye", 23221:"bypass", 23222:"byte", 23223:"bytes", 23224:"bz", 23225:"c", 23226:"caban", 23231:"cabans", 23232:"cabine", 23233:"cacao", 23234:"cachet", 23235:"cachot", 23236:"cactus", 23241:"cadans", 23242:"caddie", 23243:"cadeau", 23244:"cadens", 23245:"cadet", 23246:"caesar", 23251:"cafŽ", 23252:"cafŽs", 23253:"cahier", 23254:"cake", 23255:"cakes", 23256:"calque", 23261:"camber", 23262:"camee", 23263:"camel", 23264:"camera", 23265:"camion", 23266:"camper", 23311:"campus", 23312:"canada", 23313:"canapŽ", 23314:"canard", 23315:"cancan", 23316:"canon", 23321:"canons", 23322:"canto", 23323:"cantor", 23324:"canule", 23325:"canvas", 23326:"cape", 23331:"capes", 23332:"capita", 23333:"carbid", 23334:"carbol", 23335:"carbon", 23336:"care", 23341:"cargo", 23342:"cari‘s", 23343:"carnet", 23344:"carrŽ", 23345:"carrŽs", 23346:"carter", 23351:"casco", 23352:"case", 23353:"cash", 23354:"casino", 23355:"cassis", 23356:"cast", 23361:"casten", 23362:"castte", 23363:"casus", 23364:"catgut", 23365:"causa", 23366:"cautie", 23411:"cavia", 23412:"cb", 23413:"cc", 23414:"ccc", 23415:"cccc", 23416:"cd", 23421:"cde", 23422:"ce", 23423:"cedel", 23424:"cedels", 23425:"ceder", 23426:"ceders", 23431:"ceel", 23432:"cel", 23433:"celen", 23434:"cellen", 23435:"cello", 23436:"cement", 23441:"censor", 23442:"census", 23443:"cent", 23444:"centen", 23445:"center", 23446:"centra", 23451:"cerise", 23452:"cervix", 23453:"cesium", 23454:"cessie", 23455:"cesuur", 23456:"cetera", 23461:"cf", 23462:"cg", 23463:"ch", 23464:"chador", 23465:"chalet", 23466:"chaoot", 23511:"chaos", 23512:"charge", 23513:"charme", 23514:"charta", 23515:"cheeta", 23516:"chef", 23521:"chefs", 23522:"chemie", 23523:"cheque", 23524:"cherub", 23525:"chic", 23526:"chick", 23531:"chijl", 23532:"chili", 23533:"chintz", 23534:"chip", 23535:"chips", 23536:"chique", 23541:"chloor", 23542:"choco", 23543:"choke", 23544:"choken", 23545:"chorus", 23546:"chroma", 23551:"chromo", 23552:"chrono", 23553:"chroom", 23554:"ci", 23555:"cicero", 23556:"cider", 23561:"cijfer", 23562:"cijns", 23563:"cineac", 23564:"cinema", 23565:"cipier", 23566:"cipres", 23611:"circa", 23612:"circus", 23613:"cirkel", 23614:"cirrus", 23615:"cis", 23616:"cissen", 23621:"citaat", 23622:"citer", 23623:"citers", 23624:"city", 23625:"civet", 23626:"civiel", 23631:"cj", 23632:"ck", 23633:"cl", 23634:"claim", 23635:"clan", 23636:"claque", 23641:"claris", 23642:"claus", 23643:"claves", 23644:"claxon", 23645:"clean", 23646:"cleane", 23651:"clerus", 23652:"clichŽ", 23653:"click", 23654:"cli‘nt", 23655:"climax", 23656:"clinch", 23661:"clip", 23662:"clivia", 23663:"cloaca", 23664:"close", 23665:"closet", 23666:"clou", 24111:"clown", 24112:"club", 24113:"cm", 24114:"cn", 24115:"co", 24116:"coach", 24121:"coaten", 24122:"cobra", 24123:"coca", 24124:"coccus", 24125:"cocon", 24126:"cocons", 24131:"coda", 24132:"code", 24133:"codes", 24134:"codeur", 24135:"codex", 24136:"cognac", 24141:"cohort", 24142:"co•tus", 24143:"coke", 24144:"cokes", 24145:"col", 24146:"cola", 24151:"cola's", 24152:"colli", 24153:"collie", 24154:"collo", 24155:"colt", 24156:"column", 24161:"coma", 24162:"combi", 24163:"combo", 24164:"comitŽ", 24165:"condor", 24166:"conga", 24211:"congŽ", 24212:"congŽs", 24213:"consul", 24214:"contŽ", 24215:"conti", 24216:"conto", 24221:"contra", 24222:"conus", 24223:"convex", 24224:"corgi", 24225:"corner", 24226:"cornet", 24231:"corona", 24232:"corps", 24233:"corpus", 24234:"corso", 24235:"Cortes", 24236:"cortex", 24241:"corvee", 24242:"coup", 24243:"coupe", 24244:"coupŽ", 24245:"coupes", 24246:"coupŽs", 24251:"coupon", 24252:"cour", 24253:"cover", 24254:"cowboy", 24255:"coyote", 24256:"cp", 24261:"cq", 24262:"cr", 24263:"crack", 24264:"crank", 24265:"crash", 24266:"crawl", 24311:"crayon", 24312:"crazy", 24313:"crche", 24314:"credit", 24315:"credo", 24316:"crme", 24321:"crmes", 24322:"creool", 24323:"crpe", 24324:"cretin", 24325:"crew", 24326:"criant", 24331:"crime", 24332:"crises", 24333:"crisis", 24334:"cross", 24335:"cru", 24336:"cruise", 24341:"crux", 24342:"crypte", 24343:"cs", 24344:"ct", 24345:"cu", 24346:"Cubaan", 24351:"cue", 24352:"culten", 24353:"cultus", 24354:"cumul", 24355:"cup", 24356:"cupido", 24361:"curare", 24362:"curie", 24363:"cursor", 24364:"cursus", 24365:"curve", 24366:"curven", 24411:"custos", 24412:"cutter", 24413:"cv", 24414:"cw", 24415:"cx", 24416:"cy", 24421:"cyaan", 24422:"cycli", 24423:"cyclus", 24424:"cynici", 24425:"cypers", 24426:"cyste", 24431:"cysten", 24432:"cz", 24433:"d", 24434:"daad", 24435:"daagde", 24436:"daags", 24441:"daagse", 24442:"daalde", 24443:"daar", 24444:"daaraf", 24445:"daarin", 24446:"daarna", 24451:"daarom", 24452:"daarop", 24453:"daas", 24454:"daasde", 24455:"dabben", 24456:"dabde", 24461:"dacht", 24462:"dada", 24463:"dadel", 24464:"dadels", 24465:"daden", 24466:"dader", 24511:"daders", 24512:"dading", 24513:"dag", 24514:"dage", 24515:"dagen", 24516:"dager", 24521:"dagers", 24522:"dagge", 24523:"daggen", 24524:"daghit", 24525:"daging", 24526:"dagje", 24531:"dagjes", 24532:"daguil", 24533:"dahlia", 24534:"daim", 24535:"dak", 24536:"daken", 24541:"dakpan", 24542:"dal", 24543:"dalem", 24544:"dalems", 24545:"dalen", 24546:"daling", 24551:"daluur", 24552:"dam", 24553:"damar", 24554:"damast", 24555:"damde", 24556:"dame", 24561:"dames", 24562:"dammen", 24563:"dammer", 24564:"damp", 24565:"dampen", 24566:"dampig", 24611:"dampte", 24612:"dan", 24613:"dandy", 24614:"danig", 24615:"danige", 24616:"dank", 24621:"danken", 24622:"dankte", 24623:"dans", 24624:"dansen", 24625:"danser", 24626:"danste", 24631:"dapper", 24632:"dar", 24633:"darm", 24634:"darmen", 24635:"darren", 24636:"dartel", 24641:"darts", 24642:"das", 24643:"dassen", 24644:"dat", 24645:"data", 24646:"datief", 24651:"datje", 24652:"datjes", 24653:"dato", 24654:"datsja", 24655:"datum", 24656:"datums", 24661:"dauw", 24662:"dauwde", 24663:"dauwen", 24664:"daver", 24665:"davit", 24666:"davits", 25111:"dazen", 25112:"db", 25113:"dc", 25114:"dd", 25115:"D-day", 25116:"ddd", 25121:"dddd", 25122:"de", 25123:"deal", 25124:"dealen", 25125:"dealer", 25126:"debat", 25131:"debet", 25132:"debiel", 25133:"debiet", 25134:"debuut", 25135:"decaan", 25136:"decade", 25141:"decent", 25142:"deciel", 25143:"deck", 25144:"decor", 25145:"decors", 25146:"dŽdain", 25151:"deed", 25152:"deeg", 25153:"deejay", 25154:"deel", 25155:"deelde", 25156:"deels", 25161:"Deen", 25162:"Deens", 25163:"Deense", 25164:"deerde", 25165:"deerne", 25166:"def", 25211:"defect", 25212:"defilŽ", 25213:"deftig", 25214:"degel", 25215:"degels", 25216:"degen", 25221:"degene", 25222:"degens", 25223:"degout", 25224:"deinde", 25225:"deinen", 25226:"de•sme", 25231:"de•st", 25232:"dek", 25233:"dekbed", 25234:"deken", 25235:"dekens", 25236:"dekhut", 25241:"dekken", 25242:"dekker", 25243:"deksel", 25244:"dekte", 25245:"del", 25246:"dele", 25251:"delen", 25252:"deler", 25253:"delers", 25254:"delfde", 25255:"delfts", 25256:"delgde", 25261:"delgen", 25262:"delict", 25263:"deling", 25264:"dellen", 25265:"delta", 25266:"delven", 25311:"dement", 25312:"demi", 25313:"demo", 25314:"demon", 25315:"demons", 25316:"demo's", 25321:"dempen", 25322:"demper", 25323:"dempte", 25324:"Denen", 25325:"denier", 25326:"denim", 25331:"denken", 25332:"denker", 25333:"dennen", 25334:"Deo", 25335:"depot", 25336:"depots", 25341:"deppen", 25342:"depte", 25343:"der", 25344:"derby", 25345:"derde", 25346:"derden", 25351:"derdes", 25352:"deren", 25353:"derfde", 25354:"derny", 25355:"derrie", 25356:"dertig", 25361:"derven", 25362:"des", 25363:"desa", 25364:"desem", 25365:"desems", 25366:"design", 25411:"desk", 25412:"dessen", 25413:"dessin", 25414:"detail", 25415:"deuce", 25416:"deugd", 25421:"deugde", 25422:"deugen", 25423:"deuk", 25424:"deuken", 25425:"deukte", 25426:"deun", 25431:"deunde", 25432:"deunen", 25433:"deur", 25434:"deuren", 25435:"deuvik", 25436:"devies", 25441:"Devoon", 25442:"devoot", 25443:"devote", 25444:"dewijl", 25445:"deze", 25446:"dezen", 25451:"dezer", 25452:"df", 25453:"dg", 25454:"dh", 25455:"di", 25456:"dia", 25461:"diaken", 25462:"dicht", 25463:"dichte", 25464:"dictee", 25465:"dictie", 25466:"die", 25511:"dieet", 25512:"dief", 25513:"diefde", 25514:"dien", 25515:"diende", 25516:"dienen", 25521:"diens", 25522:"dienst", 25523:"diep", 25524:"diepe", 25525:"diepen", 25526:"dieper", 25531:"diepte", 25532:"dier", 25533:"dieren", 25534:"dies", 25535:"diesel", 25536:"di‘ten", 25541:"Diets", 25542:"Dietse", 25543:"dieven", 25544:"dij", 25545:"dijde", 25546:"dijen", 25551:"dijk", 25552:"dijken", 25553:"dijker", 25554:"dijkte", 25555:"dijn", 25556:"dik", 25561:"dikbil", 25562:"dikke", 25563:"dikken", 25564:"dikker", 25565:"dikkig", 25566:"dikkop", 25611:"dikoor", 25612:"dikte", 25613:"dikten", 25614:"diktes", 25615:"dikzak", 25616:"dildo", 25621:"dille", 25622:"dillen", 25623:"dimde", 25624:"dimmen", 25625:"dimmer", 25626:"dimorf", 25631:"dinar", 25632:"diner", 25633:"diners", 25634:"ding", 25635:"dingen", 25636:"dinges", 25641:"dingo", 25642:"diode", 25643:"diodes", 25644:"dip", 25645:"dippen", 25646:"dipte", 25651:"direct", 25652:"dirk", 25653:"dirken", 25654:"dirkte", 25655:"dis", 25656:"disco", 25661:"discus", 25662:"disk", 25663:"dissel", 25664:"dissen", 25665:"distel", 25666:"dit", 26111:"ditje", 26112:"ditjes", 26113:"dito", 26114:"diva", 26115:"divan", 26116:"divans", 26121:"diva's", 26122:"divers", 26123:"dizzy", 26124:"dj", 26125:"djati", 26126:"dk", 26131:"dl", 26132:"dm", 26133:"dn", 26134:"do", 26135:"dobber", 26136:"docent", 26141:"doch", 26142:"dociel", 26143:"doctor", 26144:"doddig", 26145:"dode", 26146:"doden", 26151:"doding", 26152:"dodo", 26153:"doedel", 26154:"doek", 26155:"doeken", 26156:"doekte", 26161:"doel", 26162:"doelde", 26163:"doelen", 26164:"doem", 26165:"doemde", 26166:"doemen", 26211:"doen", 26212:"doende", 26213:"doener", 26214:"doerak", 26215:"does", 26216:"doetje", 26221:"doezel", 26222:"doezen", 26223:"dof", 26224:"doffe", 26225:"doffen", 26226:"doffer", 26231:"doft", 26232:"dofte", 26233:"doften", 26234:"dog", 26235:"doge", 26236:"dogen", 26241:"doges", 26242:"doggen", 26243:"dogger", 26244:"dogma", 26245:"dok", 26246:"doka", 26251:"doken", 26252:"dokken", 26253:"dokte", 26254:"dokter", 26255:"dol", 26256:"dolby", 26261:"dolde", 26262:"dolen", 26263:"doler", 26264:"dolik", 26265:"doling", 26266:"dolk", 26311:"dolken", 26312:"dollar", 26313:"dolle", 26314:"dollen", 26315:"doller", 26316:"dolly", 26321:"dolman", 26322:"dolmen", 26323:"dolven", 26324:"dom", 26325:"domein", 26326:"domen", 26331:"domino", 26332:"domkop", 26333:"domme", 26334:"dommel", 26335:"dommer", 26336:"domoor", 26341:"dompel", 26342:"domper", 26343:"dompig", 26344:"domweg", 26345:"don", 26346:"do–a", 26351:"donaat", 26352:"donder", 26353:"dong", 26354:"donjon", 26355:"donk", 26356:"donker", 26361:"donkey", 26362:"donna", 26363:"donor", 26364:"donors", 26365:"dons", 26366:"donsje", 26411:"donut", 26412:"donzen", 26413:"donzig", 26414:"dood", 26415:"doodde", 26416:"doodop", 26421:"doods", 26422:"doodse", 26423:"doof", 26424:"doofde", 26425:"dooi", 26426:"dooide", 26431:"dooie", 26432:"dooien", 26433:"dooier", 26434:"dook", 26435:"dool", 26436:"doolde", 26441:"doom", 26442:"doomde", 26443:"doop", 26444:"doopte", 26445:"door", 26446:"doorn", 26451:"doos", 26452:"dop", 26453:"dope", 26454:"dopen", 26455:"doper", 26456:"dopers", 26461:"dophei", 26462:"doping", 26463:"doppen", 26464:"dopper", 26465:"dopte", 26466:"dor", 26511:"dorade", 26512:"dorado", 26513:"dorde", 26514:"dorder", 26515:"doren", 26516:"dorens", 26521:"dorp", 26522:"dorpel", 26523:"dorpen", 26524:"dorper", 26525:"dorps", 26526:"dorpse", 26531:"dorre", 26532:"dorren", 26533:"dors", 26534:"dorsen", 26535:"dorst", 26536:"dorste", 26541:"dos", 26542:"doses", 26543:"dosis", 26544:"dossen", 26545:"doste", 26546:"dot", 26551:"dotaal", 26552:"dotten", 26553:"dotter", 26554:"douane", 26555:"doublŽ", 26556:"douche", 26561:"douw", 26562:"douwde", 26563:"douwen", 26564:"dove", 26565:"doven", 26566:"dover", 26611:"down", 26612:"dozen", 26613:"dozijn", 26614:"dp", 26615:"dq", 26616:"dr", 26621:"dra", 26622:"draad", 26623:"draai", 26624:"draak", 26625:"drab", 26626:"dracht", 26631:"draden", 26632:"draf", 26633:"dragee", 26634:"dragen", 26635:"drager", 26636:"dragon", 26641:"draken", 26642:"dralen", 26643:"drama", 26644:"dramde", 26645:"drang", 26646:"drank", 26651:"dras", 26652:"drasse", 26653:"draven", 26654:"draver", 26655:"dravik", 26656:"draw", 26661:"dreef", 26662:"dreg", 26663:"dregde", 26664:"drek", 26665:"dreun", 26666:"drevel", 31111:"dreven", 31112:"drie", 31113:"drie‘n", 31114:"dries", 31115:"driest", 31116:"drift", 31121:"dril", 31122:"drilde", 31123:"drive", 31124:"drives", 31125:"droef", 31126:"droeg", 31131:"droes", 31132:"droeve", 31133:"droge", 31134:"drogen", 31135:"droger", 31136:"drol", 31141:"drom", 31142:"dromde", 31143:"dromen", 31144:"dromer", 31145:"drong", 31146:"dronk", 31151:"droog", 31152:"droom", 31153:"drop", 31154:"dropje", 31155:"drops", 31156:"dropte", 31161:"drost", 31162:"droste", 31163:"drozen", 31164:"drug", 31165:"dru•de", 31166:"druif", 31211:"druil", 31212:"druk", 31213:"drukke", 31214:"drukte", 31215:"drum", 31216:"drumde", 31221:"drup", 31222:"drupte", 31223:"dry", 31224:"dryade", 31225:"ds", 31226:"dt", 31231:"du", 31232:"duaal", 31233:"duale", 31234:"dualis", 31235:"dubbel", 31236:"dubben", 31241:"dubde", 31242:"dubio", 31243:"duel", 31244:"duels", 31245:"duet", 31246:"duf", 31251:"duffe", 31252:"duffel", 31253:"duffer", 31254:"duidde", 31255:"duiden", 31256:"duif", 31261:"duig", 31262:"duigen", 31263:"duik", 31264:"duiken", 31265:"duiker", 31266:"duim", 31311:"duimde", 31312:"duimen", 31313:"duin", 31314:"duinen", 31315:"duist", 31316:"duit", 31321:"duiten", 31322:"Duits", 31323:"Duitse", 31324:"duivel", 31325:"duiven", 31326:"duiver", 31331:"duivin", 31332:"dukaat", 31333:"duldde", 31334:"dulden", 31335:"dumdum", 31336:"dummy", 31341:"dump", 31342:"dumpen", 31343:"dumpte", 31344:"dun", 31345:"dunde", 31346:"dunk", 31351:"dunken", 31352:"dunne", 31353:"dunnen", 31354:"dunner", 31355:"dunsel", 31356:"dunte", 31361:"duo", 31362:"dupe", 31363:"dupes", 31364:"duplo", 31365:"dure", 31366:"duren", 31411:"durf", 31412:"durfal", 31413:"durfde", 31414:"duro", 31415:"durven", 31416:"dus", 31421:"duster", 31422:"dusver", 31423:"dut", 31424:"dutje", 31425:"duts", 31426:"dutsen", 31431:"dutte", 31432:"dutten", 31433:"duur", 31434:"duurde", 31435:"duurte", 31436:"duvel", 31441:"duvels", 31442:"duw", 31443:"duwbak", 31444:"duwde", 31445:"duwen", 31446:"duwtje", 31451:"dv", 31452:"dw", 31453:"dwaal", 31454:"dwaas", 31455:"dwalen", 31456:"dwang", 31461:"dwars", 31462:"dwarse", 31463:"dwaze", 31464:"dwazen", 31465:"dwazer", 31466:"dweil", 31511:"dwepen", 31512:"dweper", 31513:"dwerg", 31514:"dx", 31515:"dy", 31516:"dynamo", 31521:"dynast", 31522:"dyne", 31523:"dynes", 31524:"dz", 31525:"e", 31526:"eau", 31531:"eb", 31532:"ebbe", 31533:"ebben", 31534:"ebde", 31535:"ebdeur", 31536:"ec", 31541:"ecartŽ", 31542:"echec", 31543:"echel", 31544:"echo", 31545:"echode", 31546:"echo‘n", 31551:"echt", 31552:"echte", 31553:"echten", 31554:"echter", 31555:"echtte", 31556:"eclair", 31561:"eclips", 31562:"ecru", 31563:"eczeem", 31564:"eczema", 31565:"ed", 31566:"edel", 31611:"edele", 31612:"edeler", 31613:"Eden", 31614:"edict", 31615:"edik", 31616:"editie", 31621:"edoch", 31622:"ee", 31623:"eed", 31624:"eee", 31625:"eeee", 31626:"eega", 31631:"eegaas", 31632:"eega's", 31633:"eek", 31634:"eelt", 31635:"eeltig", 31636:"een", 31641:"eenarm", 31642:"eend", 31643:"eenden", 31644:"eender", 31645:"eenoog", 31646:"eens", 31651:"eentje", 31652:"eer", 31653:"eerde", 31654:"eerder", 31655:"eerst", 31656:"eerste", 31661:"eervol", 31662:"eest", 31663:"eesten", 31664:"eestte", 31665:"eeuw", 31666:"eeuwen", 32111:"eeuwig", 32112:"ef", 32113:"effect", 32114:"effen", 32115:"efg", 32116:"eg", 32121:"egaal", 32122:"egale", 32123:"egaler", 32124:"egard", 32125:"egde", 32126:"egel", 32131:"egge", 32132:"eggen", 32133:"ego", 32134:"ego•st", 32135:"eh", 32136:"ei", 32141:"eiber", 32142:"eibers", 32143:"eicel", 32144:"eieren", 32145:"eigen", 32146:"eik", 32151:"eikel", 32152:"eikels", 32153:"eiken", 32154:"eilaas", 32155:"eiland", 32156:"eind", 32161:"eindde", 32162:"einde", 32163:"einden", 32164:"einder", 32165:"eindig", 32166:"eindje", 32211:"eins", 32212:"einze", 32213:"einzen", 32214:"eirond", 32215:"eis", 32216:"eisen", 32221:"eiser", 32222:"eisers", 32223:"eiste", 32224:"eitje", 32225:"eitjes", 32226:"eivol", 32231:"eiwit", 32232:"ej", 32233:"ek", 32234:"eken", 32235:"ekster", 32236:"el", 32241:"elan", 32242:"eland", 32243:"elders", 32244:"elegie", 32245:"elf", 32246:"elfde", 32251:"elfden", 32252:"elfen", 32253:"elft", 32254:"elftal", 32255:"elften", 32256:"elisie", 32261:"elite", 32262:"elixer", 32263:"elk", 32264:"elkaar", 32265:"elke", 32266:"elkeen", 32311:"ellen", 32312:"ellens", 32313:"ellips", 32314:"elpee", 32315:"elpees", 32316:"elpen", 32321:"els", 32322:"elven", 32323:"elzen", 32324:"em", 32325:"email", 32326:"embryo", 32331:"emfase", 32332:"emir", 32333:"emmer", 32334:"emmers", 32335:"emoe", 32336:"emotie", 32341:"empire", 32342:"en", 32343:"end", 32344:"enden", 32345:"ener", 32346:"enfin", 32351:"eng", 32352:"enge", 32353:"engel", 32354:"Engels", 32355:"enger", 32356:"engerd", 32361:"engte", 32362:"engten", 32363:"engtes", 32364:"enig", 32365:"enige", 32366:"enigma", 32411:"enigst", 32412:"enk", 32413:"enkel", 32414:"enkele", 32415:"enkels", 32416:"enken", 32421:"enorm", 32422:"enorme", 32423:"ent", 32424:"enten", 32425:"enter", 32426:"enters", 32431:"enting", 32432:"entree", 32433:"entte", 32434:"enzym", 32435:"eo", 32436:"Eoceen", 32441:"eoliet", 32442:"ep", 32443:"epiek", 32444:"epifyt", 32445:"episch", 32446:"epoche", 32451:"epopee", 32452:"epoque", 32453:"epos", 32454:"eq", 32455:"equipe", 32456:"er", 32461:"era", 32462:"eraan", 32463:"eraf", 32464:"erbij", 32465:"erdoor", 32466:"ere", 32511:"erelid", 32512:"eren", 32513:"erf", 32514:"erfde", 32515:"erfoom", 32516:"erfwet", 32521:"erg", 32522:"erge", 32523:"ergens", 32524:"erger", 32525:"ergo", 32526:"ergon", 32531:"erheen", 32532:"erica", 32533:"erin", 32534:"erkend", 32535:"erker", 32536:"erkers", 32541:"ermede", 32542:"ermee", 32543:"erna", 32544:"ernaar", 32545:"ernst", 32546:"erom", 32551:"erop", 32552:"eropaf", 32553:"eropin", 32554:"eropna", 32555:"Eros", 32556:"erosie", 32561:"erover", 32562:"errata", 32563:"ersatz", 32564:"ertoe", 32565:"erts", 32566:"ertsen", 32611:"eruit", 32612:"ervan", 32613:"erve", 32614:"erven", 32615:"ervoer", 32616:"ervoor", 32621:"erwt", 32622:"erwten", 32623:"es", 32624:"escape", 32625:"escort", 32626:"escudo", 32631:"eskimo", 32632:"esp", 32633:"espada", 32634:"espen", 32635:"esprit", 32636:"essay", 32641:"essays", 32642:"essen", 32643:"ester", 32644:"estrik", 32645:"et", 32646:"etage", 32651:"etages", 32652:"etappe", 32653:"eten", 32654:"eter", 32655:"etheen", 32656:"ether", 32661:"ethica", 32662:"ethiek", 32663:"ethos", 32664:"ethyl", 32665:"etiket", 32666:"etmaal", 33111:"ets", 33112:"etsen", 33113:"etser", 33114:"etsers", 33115:"etste", 33116:"etter", 33121:"etude", 33122:"etudes", 33123:"etui", 33124:"eu", 33125:"eunuch", 33126:"eureka", 33131:"euvel", 33132:"euvele", 33133:"euvels", 33134:"euzie", 33135:"euzies", 33136:"ev", 33141:"eva", 33142:"evacuŽ", 33143:"evasie", 33144:"even", 33145:"evenzo", 33146:"ever", 33151:"ew", 33152:"ex", 33153:"exact", 33154:"exacte", 33155:"examen", 33156:"exces", 33161:"excuus", 33162:"exil", 33163:"exit", 33164:"ex-man", 33165:"exodus", 33166:"exoot", 33211:"expert", 33212:"export", 33213:"exposŽ", 33214:"expres", 33215:"exquis", 33216:"extase", 33221:"extern", 33222:"extra", 33223:"ey", 33224:"ez", 33225:"ezel", 33226:"ezelin", 33231:"f", 33232:"faal", 33233:"faalde", 33234:"faam", 33235:"faas", 33236:"fabel", 33241:"fabels", 33242:"faade", 33243:"face", 33244:"facet", 33245:"facie", 33246:"facies", 33251:"facit", 33252:"factie", 33253:"facto", 33254:"factor", 33255:"fade", 33256:"fading", 33261:"fado", 33262:"fa‘ton", 33263:"fagot", 33264:"fair", 33265:"faire", 33266:"fake", 33311:"faken", 33312:"fakir", 33313:"fakirs", 33314:"fakkel", 33315:"falanx", 33316:"falen", 33321:"falie", 33322:"falies", 33323:"fallus", 33324:"falset", 33325:"fameus", 33326:"fan", 33331:"fanaal", 33332:"fanaat", 33333:"farad", 33334:"farao", 33335:"farce", 33336:"farcen", 33341:"farces", 33342:"farde", 33343:"farden", 33344:"fardes", 33345:"farm", 33346:"farmer", 33351:"faro", 33352:"fase", 33353:"fasen", 33354:"fases", 33355:"fat", 33356:"fata", 33361:"fataal", 33362:"fatale", 33363:"fats", 33364:"fatsen", 33365:"fatten", 33366:"fatum", 33411:"fatwa", 33412:"faun", 33413:"fauna", 33414:"faunen", 33415:"faveur", 33416:"fax", 33421:"faxen", 33422:"faxte", 33423:"fazant", 33424:"fazen", 33425:"fb", 33426:"fc", 33431:"fd", 33432:"fe", 33433:"fecaal", 33434:"feces", 33435:"fee", 33436:"fee‘n", 33441:"feeks", 33442:"feest", 33443:"feetje", 33444:"feil", 33445:"feilde", 33446:"feilen", 33451:"feit", 33452:"feiten", 33453:"fel", 33454:"fellah", 33455:"felle", 33456:"feller", 33461:"fels", 33462:"felsen", 33463:"felste", 33464:"femel", 33465:"feniks", 33466:"fenol", 33511:"fep", 33512:"ferm", 33513:"ferme", 33514:"fermer", 33515:"ferry", 33516:"fes", 33521:"fessen", 33522:"feston", 33523:"feta", 33524:"fetisj", 33525:"feut", 33526:"fez", 33531:"fezzen", 33532:"ff", 33533:"fff", 33534:"ffff", 33535:"fg", 33536:"fgh", 33541:"fh", 33542:"fi", 33543:"fiasco", 33544:"fiat", 33545:"fiber", 33546:"fibril", 33551:"fibula", 33552:"fiche", 33553:"fiches", 33554:"fichu", 33555:"fictie", 33556:"ficus", 33561:"fideel", 33562:"fidele", 33563:"fiedel", 33564:"fielt", 33565:"fier", 33566:"fiere", 33611:"fiets", 33612:"figaro", 33613:"figuur", 33614:"fijfel", 33615:"fijn", 33616:"fijne", 33621:"fijnen", 33622:"fijner", 33623:"fijnte", 33624:"fijt", 33625:"fik", 33626:"fikken", 33631:"fikkie", 33632:"fiks", 33633:"fikse", 33634:"fiksen", 33635:"file", 33636:"files", 33641:"filet", 33642:"filets", 33643:"film", 33644:"filmde", 33645:"filmen", 33646:"filmer", 33651:"filter", 33652:"Fin", 33653:"finaal", 33654:"finale", 33655:"fine", 33656:"fineer", 33661:"finish", 33662:"Finnen", 33663:"Fins", 33664:"Finse", 33665:"fint", 33666:"finten", 34111:"fiolen", 34112:"fiool", 34113:"firma", 34114:"firn", 34115:"fis", 34116:"fiscus", 34121:"fissen", 34122:"fistel", 34123:"fit", 34124:"fitis", 34125:"fits", 34126:"fitte", 34131:"fitten", 34132:"fitter", 34133:"fixeer", 34134:"fixus", 34135:"fj", 34136:"fjord", 34141:"fk", 34142:"fl", 34143:"flacon", 34144:"flair", 34145:"flanel", 34146:"flank", 34151:"flap", 34152:"flapte", 34153:"flard", 34154:"flash", 34155:"flat", 34156:"flater", 34161:"flatus", 34162:"flauw", 34163:"flauwe", 34164:"fleer", 34165:"flegma", 34166:"flemen", 34211:"flens", 34212:"fleren", 34213:"fles", 34214:"flets", 34215:"fletse", 34216:"fleur", 34221:"flexie", 34222:"flik", 34223:"flikje", 34224:"flikte", 34225:"flink", 34226:"flinke", 34231:"flip", 34232:"flipte", 34233:"flirt", 34234:"flits", 34235:"floep", 34236:"floer", 34241:"floers", 34242:"floot", 34243:"flop", 34244:"floppy", 34245:"flor", 34246:"flora", 34251:"floret", 34252:"floste", 34253:"flox", 34254:"flu•de", 34255:"fluim", 34256:"fluit", 34261:"fluks", 34262:"fluor", 34263:"flus", 34264:"flut", 34265:"flux", 34266:"fm", 34311:"fn", 34312:"fo", 34313:"fobie", 34314:"focus", 34315:"foefje", 34316:"foei", 34321:"foelie", 34322:"foetus", 34323:"foezel", 34324:"fšhn", 34325:"fšhnde", 34326:"fšhnen", 34331:"fok", 34332:"fokken", 34333:"fokker", 34334:"foksia", 34335:"fokte", 34336:"fokvee", 34341:"folder", 34342:"folie", 34343:"folies", 34344:"folio", 34345:"fond", 34346:"fonds", 34351:"fondue", 34352:"foneem", 34353:"font", 34354:"fooi", 34355:"fooien", 34356:"foor", 34361:"fop", 34362:"foppen", 34363:"fopte", 34364:"fora", 34365:"ford", 34366:"forel", 34411:"foren", 34412:"forens", 34413:"forint", 34414:"forma", 34415:"formol", 34416:"fors", 34421:"forse", 34422:"forser", 34423:"forsig", 34424:"fort", 34425:"forten", 34426:"forto", 34431:"forum", 34432:"forums", 34433:"fosfor", 34434:"foto", 34435:"foton", 34436:"foto's", 34441:"fout", 34442:"foute", 34443:"fouten", 34444:"fouter", 34445:"foutje", 34446:"fox", 34451:"foyer", 34452:"foyers", 34453:"fp", 34454:"fq", 34455:"fr", 34456:"fraai", 34461:"frak", 34462:"frame", 34463:"frames", 34464:"franc", 34465:"franco", 34466:"franje", 34511:"frank", 34512:"Frank", 34513:"franke", 34514:"Frans", 34515:"Franse", 34516:"frappe", 34521:"frase", 34522:"frasen", 34523:"frases", 34524:"frater", 34525:"frats", 34526:"fraude", 34531:"freak", 34532:"frees", 34533:"fregat", 34534:"frle", 34535:"freon", 34536:"fresco", 34541:"fresia", 34542:"fret", 34543:"frette", 34544:"freule", 34545:"frezen", 34546:"Fries", 34551:"Friese", 34552:"friet", 34553:"frik", 34554:"fris", 34555:"frisco", 34556:"frisse", 34561:"friste", 34562:"frites", 34563:"frons", 34564:"front", 34565:"fruit", 34566:"fs", 34611:"ft", 34612:"ftisis", 34613:"fu", 34614:"fuga", 34615:"fuga's", 34616:"fuif", 34621:"fuifde", 34622:"fuik", 34623:"fuiken", 34624:"fuiven", 34625:"fulp", 34626:"fulpen", 34631:"fundi", 34632:"funest", 34633:"fungus", 34634:"funk", 34635:"funky", 34636:"furie", 34641:"furi‘n", 34642:"furies", 34643:"furore", 34644:"fusee", 34645:"fusie", 34646:"fusies", 34651:"fust", 34652:"fusten", 34653:"fut", 34654:"futen", 34655:"futiel", 34656:"fuut", 34661:"fv", 34662:"fw", 34663:"fx", 34664:"fy", 34665:"fylum", 34666:"fysica", 35111:"fysici", 35112:"fysiek", 35113:"fz", 35114:"g", 35115:"gaaf", 35116:"gaai", 35121:"gaaien", 35122:"gaal", 35123:"gaan", 35124:"gaande", 35125:"gaap", 35126:"gaapte", 35131:"gaar", 35132:"gaard", 35133:"gaarde", 35134:"gaarne", 35135:"gaas", 35136:"gaasje", 35141:"gaatje", 35142:"gabber", 35143:"gade", 35144:"gaden", 35145:"gadget", 35146:"gading", 35151:"gaf", 35152:"gaffe", 35153:"gaffel", 35154:"gag", 35155:"gaga", 35156:"gage", 35161:"gagel", 35162:"gagels", 35163:"gages", 35164:"gaine", 35165:"gajes", 35166:"gal", 35211:"gala", 35212:"galant", 35213:"galde", 35214:"galei", 35215:"galen", 35216:"galg", 35221:"galgen", 35222:"gallen", 35223:"gallig", 35224:"gallon", 35225:"galm", 35226:"galmde", 35231:"galmei", 35232:"galmen", 35233:"galmug", 35234:"galon", 35235:"galons", 35236:"galop", 35241:"galops", 35242:"gamba", 35243:"gambir", 35244:"game", 35245:"gameet", 35246:"gamel", 35251:"games", 35252:"gamma", 35253:"gammel", 35254:"gander", 35255:"gang", 35256:"gangen", 35261:"gannef", 35262:"gans", 35263:"ganse", 35264:"ganser", 35265:"ganzen", 35266:"gapen", 35311:"gaper", 35312:"gapers", 35313:"gaping", 35314:"gappen", 35315:"gapper", 35316:"gapte", 35321:"garage", 35322:"garant", 35323:"gard", 35324:"garde", 35325:"garden", 35326:"gardes", 35331:"gare", 35332:"gareel", 35333:"garen", 35334:"garens", 35335:"garf", 35336:"garfde", 35341:"garoe", 35342:"garve", 35343:"garven", 35344:"gas", 35345:"gasbek", 35346:"gasbel", 35351:"gaslek", 35352:"gasman", 35353:"gasnet", 35354:"gaspit", 35355:"gassen", 35356:"gast", 35361:"gaste", 35362:"gasten", 35363:"gat", 35364:"gaten", 35365:"gatten", 35366:"gaucho", 35411:"gauw", 35412:"gauwer", 35413:"gave", 35414:"gaven", 35415:"gaver", 35416:"gay", 35421:"gazel", 35422:"gazen", 35423:"gazet", 35424:"gazon", 35425:"gazons", 35426:"gb", 35431:"gc", 35432:"gd", 35433:"ge", 35434:"geaaid", 35435:"geaard", 35436:"geaasd", 35441:"geacht", 35442:"geard", 35443:"gearmd", 35444:"gebaad", 35445:"gebaar", 35446:"gebaat", 35451:"gebak", 35452:"gebakt", 35453:"gebald", 35454:"gebalk", 35455:"gebast", 35456:"gebed", 35461:"gebeft", 35462:"gebeid", 35463:"gebekt", 35464:"gebeld", 35465:"gebet", 35466:"gebied", 35511:"gebigd", 35512:"gebijt", 35513:"gebikt", 35514:"gebild", 35515:"gebint", 35516:"gebit", 35521:"geblaf", 35522:"geblr", 35523:"gebluf", 35524:"gebobd", 35525:"gebod", 35526:"geboet", 35531:"geboft", 35532:"gebokt", 35533:"gebold", 35534:"gebomd", 35535:"gebood", 35536:"geboot", 35541:"gebost", 35542:"gebot", 35543:"gebouw", 35544:"gebral", 35545:"gebrek", 35546:"gebrom", 35551:"gebrul", 35552:"gebuid", 35553:"gebukt", 35554:"gebult", 35555:"gecast", 35556:"gedaan", 35561:"gedaas", 35562:"gedabd", 35563:"gedag", 35564:"gedamd", 35565:"gedane", 35566:"gedekt", 35611:"gedept", 35612:"gedijd", 35613:"gedikt", 35614:"gedimd", 35615:"geding", 35616:"gedoe", 35621:"gedokt", 35622:"gedold", 35623:"gedood", 35624:"gedopt", 35625:"gedord", 35626:"gedost", 35631:"gedrag", 35632:"gedubd", 35633:"geduid", 35634:"geduld", 35635:"gedund", 35636:"gedut", 35641:"geduwd", 35642:"gedwee", 35643:"ge‘bd", 35644:"ge‘cht", 35645:"ge‘erd", 35646:"ge‘est", 35651:"geef", 35652:"ge‘gd", 35653:"ge‘ind", 35654:"ge‘ist", 35655:"geel", 35656:"geelde", 35661:"geen", 35662:"ge‘nt", 35663:"geep", 35664:"geer", 35665:"geerde", 35666:"ge‘rfd", 36111:"geest", 36112:"ge‘tst", 36113:"geeuw", 36114:"gefaxt", 36115:"gefokt", 36116:"gefopt", 36121:"gefret", 36122:"gegaan", 36123:"gegald", 36124:"gegalm", 36125:"gegapt", 36126:"gegast", 36131:"gegeid", 36132:"gegekt", 36133:"gegil", 36134:"gegild", 36135:"gegist", 36136:"geglad", 36141:"gegoed", 36142:"gegokt", 36143:"gegomd", 36144:"gegons", 36145:"gegord", 36146:"gegrom", 36151:"gegrut", 36152:"gegund", 36153:"gegymd", 36154:"gehaat", 36155:"gehad", 36156:"gehakt", 36161:"gehand", 36162:"gehapt", 36163:"gehard", 36164:"geheel", 36165:"geheet", 36166:"geheid", 36211:"geheim", 36212:"geheld", 36213:"gehele", 36214:"gehemd", 36215:"gehijg", 36216:"gehikt", 36221:"gehipt", 36222:"gehoed", 36223:"gehokt", 36224:"gehold", 36225:"gehoon", 36226:"gehoor", 36231:"gehopt", 36232:"gehord", 36233:"gehore", 36234:"gehort", 36235:"gehost", 36236:"gehot", 36241:"gehuil", 36242:"gehukt", 36243:"gehuld", 36244:"gehumd", 36245:"gehupt", 36246:"gehuwd", 36251:"gei", 36252:"ge•aad", 36253:"geide", 36254:"geien", 36255:"geijkt", 36256:"geijld", 36261:"geijsd", 36262:"geil", 36263:"geile", 36264:"geiler", 36265:"gein", 36266:"ge•nd", 36311:"geinig", 36312:"ge•nkt", 36313:"geiser", 36314:"geisha", 36315:"geit", 36316:"geiten", 36321:"gejank", 36322:"gejast", 36323:"gejat", 36324:"gejij", 36325:"gejijd", 36326:"gejoel", 36331:"gejokt", 36332:"gejold", 36333:"gejond", 36334:"gejou", 36335:"gejukt", 36336:"gejut", 36341:"gek", 36342:"gekaft", 36343:"gekakt", 36344:"gekald", 36345:"gekamd", 36346:"gekant", 36351:"gekapt", 36352:"gekard", 36353:"gekast", 36354:"gekat", 36355:"gekeft", 36356:"gekend", 36361:"gekift", 36362:"gekikt", 36363:"gekild", 36364:"gekimd", 36365:"gekipt", 36366:"gekird", 36411:"gekist", 36412:"gekit", 36413:"gekke", 36414:"gekken", 36415:"gekker", 36416:"gekkin", 36421:"gekko", 36422:"geklad", 36423:"geklap", 36424:"geklit", 36425:"geklop", 36426:"geknik", 36431:"geknot", 36432:"gekold", 36433:"gekoot", 36434:"gekopt", 36435:"gekord", 36436:"gekort", 36441:"gekost", 36442:"gekout", 36443:"gekte", 36444:"gekuch", 36445:"gekuip", 36446:"gekuld", 36451:"gekund", 36452:"gekust", 36453:"gel", 36454:"gelaat", 36455:"gelach", 36456:"gelag", 36461:"gelakt", 36462:"gelal", 36463:"gelald", 36464:"geland", 36465:"gelang", 36466:"gelapt", 36511:"gelast", 36512:"gelat", 36513:"geld", 36514:"gelden", 36515:"geldig", 36516:"geldla", 36521:"gele", 36522:"gelede", 36523:"gelee", 36524:"geleed", 36525:"geleek", 36526:"gelegd", 36531:"gelei", 36532:"geleid", 36533:"gelekt", 36534:"geleld", 36535:"gelen", 36536:"gelept", 36541:"geler", 36542:"gelet", 36543:"gelid", 36544:"gelift", 36545:"gelig", 36546:"gelige", 36551:"gelijk", 36552:"gelikt", 36553:"gelild", 36554:"gelipt", 36555:"gelobd", 36556:"geloei", 36561:"gelogd", 36562:"gelokt", 36563:"gelold", 36564:"gelood", 36565:"geloof", 36566:"geloop", 36611:"geloot", 36612:"gelord", 36613:"gelost", 36614:"gelubd", 36615:"gelui", 36616:"geluid", 36621:"geluk", 36622:"gelukt", 36623:"gelul", 36624:"geluld", 36625:"gelust", 36626:"geluwd", 36631:"gemaal", 36632:"gemaft", 36633:"gemak", 36634:"gemald", 36635:"gemand", 36636:"gemard", 36641:"gemast", 36642:"gemat", 36643:"gember", 36644:"gemeen", 36645:"gemekt", 36646:"gemeld", 36651:"gemend", 36652:"gemene", 36653:"gemept", 36654:"gemest", 36655:"gemier", 36656:"gemijt", 36661:"gemikt", 36662:"gemind", 36663:"gemis", 36664:"gemist", 36665:"gemixt", 36666:"gemoed", 41111:"gemok", 41112:"gemokt", 41113:"gemold", 41114:"gemond", 41115:"gemor", 41116:"gemord", 41121:"gemors", 41122:"gemot", 41123:"gemout", 41124:"gems", 41125:"gemuit", 41126:"gemunt", 41131:"gemzen", 41132:"gen", 41133:"genade", 41134:"gnant", 41135:"genard", 41136:"genas", 41141:"genat", 41142:"gene", 41143:"gne", 41144:"genekt", 41145:"genen", 41146:"genept", 41151:"genera", 41152:"genese", 41153:"genet", 41154:"genie", 41155:"geni‘n", 41156:"geniep", 41161:"geniet", 41162:"genikt", 41163:"genipt", 41164:"genist", 41165:"genius", 41166:"genoeg", 41211:"genokt", 41212:"genood", 41213:"genoom", 41214:"genoot", 41215:"genopt", 41216:"genot", 41221:"genre", 41222:"genres", 41223:"Gent", 41224:"genten", 41225:"genus", 41226:"geoogd", 41231:"gepaft", 41232:"gepakt", 41233:"gepand", 41234:"gepapt", 41235:"gepast", 41236:"gepekt", 41241:"gepeld", 41242:"gepen", 41243:"gepend", 41244:"gepest", 41245:"gepiep", 41246:"gepikt", 41251:"gepind", 41252:"gepist", 41253:"gepit", 41254:"geplas", 41255:"geplat", 41256:"geplet", 41261:"gepoft", 41262:"gepokt", 41263:"gepoot", 41264:"gepord", 41265:"gepost", 41266:"gepot", 41311:"gepote", 41312:"gepuft", 41313:"gepunt", 41314:"gepust", 41315:"geput", 41316:"geraas", 41321:"geragd", 41322:"geramd", 41323:"gerand", 41324:"gerant", 41325:"gerat", 41326:"gered", 41331:"gerede", 41332:"gereed", 41333:"gerei", 41334:"gereid", 41335:"gerekt", 41336:"gereld", 41341:"geremd", 41342:"geren", 41343:"gerend", 41344:"gerent", 41345:"gerept", 41346:"gerest", 41351:"geribd", 41352:"gerief", 41353:"gerij", 41354:"gerijd", 41355:"gerild", 41356:"gering", 41361:"gerist", 41362:"gerit", 41363:"geroep", 41364:"gerokt", 41365:"gerold", 41366:"gerond", 41411:"geronk", 41412:"geroot", 41413:"gerost", 41414:"gerot", 41415:"gerst", 41416:"geruid", 41421:"geruim", 41422:"geruis", 41423:"geruit", 41424:"gerukt", 41425:"gerund", 41426:"gerust", 41431:"geruwd", 41432:"ges", 41433:"gesard", 41434:"gesast", 41435:"gesel", 41436:"gesels", 41441:"gesimd", 41442:"gesis", 41443:"gesist", 41444:"gesjot", 41445:"gesmet", 41446:"gesnap", 41451:"gesnor", 41452:"gesold", 41453:"gesopt", 41454:"gesp", 41455:"gespan", 41456:"gespat", 41461:"gespen", 41462:"gespet", 41463:"gespit", 41464:"gespot", 41465:"gespte", 41466:"gessen", 41511:"geste", 41512:"gestel", 41513:"gestes", 41514:"gestie", 41515:"gestut", 41516:"gesuft", 41521:"gesust", 41522:"getakt", 41523:"getal", 41524:"getale", 41525:"getalm", 41526:"getand", 41531:"getapt", 41532:"getart", 41533:"getast", 41534:"geteem", 41535:"geteld", 41536:"getemd", 41541:"getest", 41542:"geteut", 41543:"getier", 41544:"getij", 41545:"getik", 41546:"getikt", 41551:"getild", 41552:"getint", 41553:"getipt", 41554:"getob", 41555:"getobd", 41556:"getoet", 41561:"getold", 41562:"getond", 41563:"getopt", 41564:"getost", 41565:"getouw", 41566:"getto", 41611:"getuft", 41612:"getuid", 41613:"getuig", 41614:"getuit", 41615:"getukt", 41616:"getypt", 41621:"geuit", 41622:"geul", 41623:"geulen", 41624:"geur", 41625:"geurde", 41626:"geuren", 41631:"geurig", 41632:"geŸrmd", 41633:"geus", 41634:"geut", 41635:"geuten", 41636:"geuzen", 41641:"gevaar", 41642:"gevaat", 41643:"geval", 41644:"gevang", 41645:"gevast", 41646:"gevat", 41651:"gevel", 41652:"geveld", 41653:"gevels", 41654:"geven", 41655:"gevent", 41656:"gever", 41661:"gevers", 41662:"gevest", 41663:"gevet", 41664:"geviel", 41665:"gevild", 41666:"gevind", 42111:"gevist", 42112:"gevit", 42113:"gevlei", 42114:"gevlet", 42115:"gevlij", 42116:"gevlot", 42121:"gevoed", 42122:"gevoeg", 42123:"gevoel", 42124:"gevold", 42125:"gevolg", 42126:"gevost", 42131:"gevrij", 42132:"gevuld", 42133:"gewaad", 42134:"gewaar", 42135:"gewag", 42136:"gewald", 42141:"gewamd", 42142:"gewand", 42143:"gewant", 42144:"geward", 42145:"gewas", 42146:"gewast", 42151:"gewed", 42152:"geween", 42153:"geweer", 42154:"gewei", 42155:"geweid", 42156:"gewekt", 42161:"geweld", 42162:"gewelf", 42163:"gewend", 42164:"gewerd", 42165:"gewest", 42166:"gewet", 42211:"gewied", 42212:"gewijd", 42213:"gewikt", 42214:"gewild", 42215:"gewin", 42216:"gewipt", 42221:"gewis", 42222:"gewist", 42223:"gewit", 42224:"gewoed", 42225:"gewoel", 42226:"gewon", 42231:"gewond", 42232:"gewone", 42233:"gewoon", 42234:"gezaag", 42235:"gezag", 42236:"gezakt", 42241:"gezand", 42242:"gezang", 42243:"gezant", 42244:"gezapt", 42245:"gezegd", 42246:"gezeik", 42251:"gezel", 42252:"gezet", 42253:"gezeul", 42254:"gezeur", 42255:"gezien", 42256:"gezift", 42261:"gezin", 42262:"gezind", 42263:"gezoem", 42264:"gezoet", 42265:"gezond", 42266:"gezwam", 42311:"gezwel", 42312:"gf", 42313:"gg", 42314:"ggg", 42315:"gggg", 42316:"gh", 42321:"ghi", 42322:"gi", 42323:"gibbon", 42324:"gibus", 42325:"gids", 42326:"gidsen", 42331:"giebel", 42332:"giek", 42333:"gieken", 42334:"gier", 42335:"gierde", 42336:"gieren", 42341:"gierig", 42342:"gierst", 42343:"gieten", 42344:"gieter", 42345:"gif", 42346:"giffen", 42351:"gifgas", 42352:"gift", 42353:"giften", 42354:"giftig", 42355:"gig", 42356:"gigant", 42361:"giggen", 42362:"gigolo", 42363:"gigue", 42364:"gij", 42365:"gijl", 42366:"gijn", 42411:"gijnen", 42412:"gijpen", 42413:"gijpte", 42414:"gil", 42415:"gild", 42416:"gilde", 42421:"gilden", 42422:"gilet", 42423:"gilets", 42424:"gillen", 42425:"gin", 42426:"ginder", 42431:"ginds", 42432:"gindse", 42433:"ging", 42434:"ginkgo", 42435:"gips", 42436:"gipsen", 42441:"gipste", 42442:"gipsy", 42443:"giraal", 42444:"giraf", 42445:"girale", 42446:"girant", 42451:"giro", 42452:"giro's", 42453:"gis", 42454:"gispen", 42455:"gispte", 42456:"gissen", 42461:"gist", 42462:"giste", 42463:"gisten", 42464:"gistte", 42465:"git", 42466:"gitaar", 42511:"gitten", 42512:"gj", 42513:"gk", 42514:"gl", 42515:"glacŽ", 42516:"glacŽs", 42521:"glacis", 42522:"glad", 42523:"gladaf", 42524:"gladde", 42525:"glans", 42526:"glas", 42531:"glazen", 42532:"glazig", 42533:"glee", 42534:"gleed", 42535:"glee‘n", 42536:"gleis", 42541:"gleuf", 42542:"glimp", 42543:"glip", 42544:"glipte", 42545:"glit", 42546:"globe", 42551:"globes", 42552:"gloed", 42553:"gloor", 42554:"gloren", 42555:"gloria", 42556:"glorie", 42561:"glosse", 42562:"glossy", 42563:"glui", 42564:"gluien", 42565:"gluren", 42566:"gluten", 42611:"gluton", 42612:"glycol", 42613:"gm", 42614:"gn", 42615:"gneis", 42616:"gnoe", 42621:"gnomen", 42622:"gnomon", 42623:"gnoom", 42624:"gnosis", 42625:"go", 42626:"goal", 42631:"goalie", 42632:"gocart", 42633:"God", 42634:"goden", 42635:"godin", 42636:"godlof", 42641:"goed", 42642:"goede", 42643:"goeden", 42644:"goedig", 42645:"goedje", 42646:"goeiig", 42651:"goeman", 42652:"goeroe", 42653:"gojim", 42654:"gojims", 42655:"gojs", 42656:"gok", 42661:"gokhal", 42662:"gokken", 42663:"gokker", 42664:"gokte", 42665:"golem", 42666:"golems", 43111:"golf", 43112:"golfde", 43113:"golfen", 43114:"golven", 43115:"gom", 43116:"gombal", 43121:"gomde", 43122:"gommen", 43123:"gompie", 43124:"gonade", 43125:"gondel", 43126:"gong", 43131:"gons", 43132:"gonsde", 43133:"gonzen", 43134:"goog", 43135:"gooi", 43136:"gooide", 43141:"gooien", 43142:"goor", 43143:"goot", 43144:"gordde", 43145:"gordel", 43146:"gorden", 43151:"gore", 43152:"gorgel", 43153:"gorig", 43154:"gorige", 43155:"gors", 43156:"gort", 43161:"gorten", 43162:"gorter", 43163:"gortig", 43164:"gorzen", 43165:"gospel", 43166:"gossip", 43211:"goten", 43212:"gotiek", 43213:"gotspe", 43214:"goud", 43215:"gouden", 43216:"gouw", 43221:"gouwe", 43222:"gouwen", 43223:"gozer", 43224:"gozers", 43225:"gp", 43226:"gq", 43231:"gr", 43232:"graad", 43233:"graaf", 43234:"graag", 43235:"graai", 43236:"graal", 43241:"graan", 43242:"graat", 43243:"gracht", 43244:"graden", 43245:"graeci", 43246:"graf", 43251:"grafie", 43252:"grage", 43253:"grager", 43254:"gram", 43255:"gramme", 43256:"grand", 43261:"grande", 43262:"grands", 43263:"granen", 43264:"grap", 43265:"gras", 43266:"graten", 43311:"gratie", 43312:"gratig", 43313:"gratis", 43314:"grauw", 43315:"grauwe", 43316:"gravel", 43321:"graven", 43322:"graver", 43323:"gravin", 43324:"grazen", 43325:"grazig", 43326:"grebbe", 43331:"green", 43332:"greep", 43333:"grein", 43334:"grenen", 43335:"grens", 43336:"grepen", 43341:"gres", 43342:"gretig", 43343:"gribus", 43344:"grief", 43345:"Griek", 43346:"Grieks", 43351:"griel", 43352:"griend", 43353:"griep", 43354:"gries", 43355:"griet", 43356:"grieve", 43361:"grif", 43362:"griffe", 43363:"grift", 43364:"grifte", 43365:"grijns", 43366:"grijp", 43411:"grijs", 43412:"grijze", 43413:"gril", 43414:"grilde", 43415:"grill", 43416:"grille", 43421:"grim", 43422:"grimas", 43423:"grimde", 43424:"grime", 43425:"grimes", 43426:"grind", 43431:"grip", 43432:"grise", 43433:"grises", 43434:"griste", 43435:"grit", 43436:"groef", 43441:"groei", 43442:"groen", 43443:"groene", 43444:"groep", 43445:"groet", 43446:"groeve", 43451:"grof", 43452:"grofte", 43453:"grog", 43454:"groggy", 43455:"grol", 43456:"grolde", 43461:"grom", 43462:"gromde", 43463:"grond", 43464:"gronde", 43465:"groot", 43466:"groots", 43511:"gros", 43512:"grosse", 43513:"grosso", 43514:"grot", 43515:"grote", 43516:"groten", 43521:"groter", 43522:"grove", 43523:"grover", 43524:"gruis", 43525:"grunge", 43526:"grut", 43531:"grutte", 43532:"grutto", 43533:"gruwde", 43534:"gruwel", 43535:"gruwen", 43536:"gs", 43541:"gt", 43542:"gu", 43543:"guano", 43544:"guit", 43545:"guiten", 43546:"guitig", 43551:"gul", 43552:"gulden", 43553:"gulle", 43554:"gullen", 43555:"guller", 43556:"gulp", 43561:"gulpen", 43562:"gulpte", 43563:"gulzig", 43564:"gum", 43565:"gumde", 43566:"gummen", 43611:"gummi", 43612:"gunde", 43613:"gunnen", 43614:"gunst", 43615:"gup", 43616:"guppy", 43621:"gure", 43622:"gust", 43623:"guts", 43624:"gutsen", 43625:"gutste", 43626:"guur", 43631:"gv", 43632:"gw", 43633:"gx", 43634:"gy", 43635:"gym", 43636:"gymde", 43641:"gymmen", 43642:"gymp", 43643:"gympie", 43644:"gz", 43645:"h", 43646:"haaf", 43651:"haagde", 43652:"haai", 43653:"haaide", 43654:"haaien", 43655:"haaiig", 43656:"haak", 43661:"haaks", 43662:"haakse", 43663:"haakte", 43664:"haal", 43665:"haalde", 43666:"haam", 44111:"haan", 44112:"haar", 44113:"haard", 44114:"haarde", 44115:"haas", 44116:"haast", 44121:"haat", 44122:"haatte", 44123:"habijt", 44124:"hachee", 44125:"hachje", 44126:"hacken", 44131:"hadith", 44132:"hadji", 44133:"hadzji", 44134:"haf", 44135:"haffen", 44136:"haft", 44141:"haften", 44142:"hagel", 44143:"hagen", 44144:"haiku", 44145:"hak", 44146:"haken", 44151:"hakken", 44152:"hakker", 44153:"hakmes", 44154:"haksel", 44155:"hakte", 44156:"hal", 44161:"halen", 44162:"half", 44163:"halfje", 44164:"hall", 44165:"hallen", 44166:"hallo", 44211:"halm", 44212:"halma", 44213:"halmen", 44214:"halo", 44215:"hals", 44216:"halsde", 44221:"halt", 44222:"halte", 44223:"halten", 44224:"halter", 44225:"haltes", 44226:"halve", 44231:"halzen", 44232:"ham", 44233:"hamei", 44234:"hamel", 44235:"hamels", 44236:"hamen", 44241:"hamer", 44242:"hamers", 44243:"hamlap", 44244:"hammen", 44245:"hand", 44246:"handde", 44251:"handel", 44252:"handen", 44253:"handig", 44254:"handje", 44255:"hanen", 44256:"hang", 44261:"hangar", 44262:"hangel", 44263:"hangen", 44264:"hanger", 44265:"hangop", 44266:"hanig", 44311:"hanige", 44312:"hannes", 44313:"hans", 44314:"hansop", 44315:"Hanze", 44316:"hanzen", 44321:"hap", 44322:"hapax", 44323:"hapje", 44324:"hapjes", 44325:"happen", 44326:"happig", 44331:"happy", 44332:"hapte", 44333:"har", 44334:"hard", 44335:"hardde", 44336:"harde", 44341:"harden", 44342:"harder", 44343:"hardop", 44344:"harem", 44345:"harems", 44346:"haren", 44351:"harent", 44352:"harig", 44353:"harige", 44354:"haring", 44355:"hark", 44356:"harken", 44361:"harkte", 44362:"harnas", 44363:"harp", 44364:"harpen", 44365:"harpij", 44366:"harpte", 44411:"harre", 44412:"harrel", 44413:"harren", 44414:"hars", 44415:"harsen", 44416:"harsig", 44421:"harst", 44422:"hart", 44423:"harte", 44424:"harten", 44425:"hartig", 44426:"hartje", 44431:"hasj", 44432:"haspel", 44433:"haten", 44434:"hater", 44435:"haters", 44436:"hausse", 44441:"haute", 44442:"hauw", 44443:"hauwen", 44444:"have", 44445:"haven", 44446:"havens", 44451:"haver", 44452:"havik", 44453:"havo", 44454:"hazard", 44455:"hazen", 44456:"hb", 44461:"hc", 44462:"hd", 44463:"he", 44464:"heat", 44465:"heavy", 44466:"heb", 44511:"hebben", 44512:"hebbes", 44513:"hecht", 44514:"hechte", 44515:"heden", 44516:"heef", 44521:"heeft", 44522:"heel", 44523:"heelal", 44524:"heelde", 44525:"heem", 44526:"heemst", 44531:"heen", 44532:"heep", 44533:"heer", 44534:"hees", 44535:"heet", 44536:"heette", 44541:"hef", 44542:"heffe", 44543:"heffen", 44544:"heft", 44545:"heften", 44546:"heftig", 44551:"heg", 44552:"hegge", 44553:"heggen", 44554:"hegje", 44555:"hei", 44556:"heibel", 44561:"heide", 44562:"heiden", 44563:"heien", 44564:"heiig", 44565:"heiige", 44566:"heikel", 44611:"heil", 44612:"heilig", 44613:"Hein", 44614:"heinde", 44615:"heisa", 44616:"heitje", 44621:"hek", 44622:"hekel", 44623:"hekels", 44624:"hekken", 44625:"heks", 44626:"heksen", 44631:"hekste", 44632:"hel", 44633:"hela", 44634:"helaas", 44635:"held", 44636:"helde", 44641:"helden", 44642:"helder", 44643:"heldin", 44644:"hele", 44645:"helen", 44646:"heler", 44651:"helers", 44652:"helft", 44653:"heli", 44654:"heling", 44655:"helium", 44656:"helix", 44661:"helle", 44662:"hellen", 44663:"heller", 44664:"helm", 44665:"helmen", 44666:"heloot", 45111:"helpen", 45112:"helper", 45113:"helpt", 45114:"hels", 45115:"helse", 45116:"hem", 45121:"he-man", 45122:"hemd", 45123:"hemde", 45124:"hemden", 45125:"hemel", 45126:"hemels", 45131:"hemen", 45132:"hemmen", 45133:"hen", 45134:"hendel", 45135:"henen", 45136:"heng", 45141:"hengel", 45142:"hengen", 45143:"hengst", 45144:"henna", 45145:"hennen", 45146:"hennep", 45151:"hens", 45152:"hepen", 45153:"her", 45154:"heraut", 45155:"herder", 45156:"heren", 45161:"herfst", 45162:"hergaf", 45163:"herig", 45164:"herik", 45165:"herlas", 45166:"hernam", 45211:"hernia", 45212:"hero‘n", 45213:"heros", 45214:"herpes", 45215:"herren", 45216:"herrie", 45221:"hert", 45222:"herten", 45223:"hertog", 45224:"hertz", 45225:"hervat", 45226:"herwon", 45231:"herzag", 45232:"hes", 45233:"hese", 45234:"heser", 45235:"hesp", 45236:"hespen", 45241:"hessen", 45242:"het", 45243:"hete", 45244:"heten", 45245:"heter", 45246:"hetero", 45251:"hetze", 45252:"hetzij", 45253:"heug", 45254:"heugde", 45255:"heugel", 45256:"heugen", 45261:"heul", 45262:"heulde", 45263:"heulen", 45264:"heup", 45265:"heupen", 45266:"heus", 45311:"heuse", 45312:"heuser", 45313:"heuvel", 45314:"hevea", 45315:"hevel", 45316:"hevels", 45321:"hevig", 45322:"hevige", 45323:"hf", 45324:"hg", 45325:"hh", 45326:"hhh", 45331:"hhhh", 45332:"hi", 45333:"hiaat", 45334:"hiaten", 45335:"hiel", 45336:"hield", 45341:"hielde", 45342:"hielen", 45343:"hielp", 45344:"hier", 45345:"hieraf", 45346:"hierin", 45351:"hierna", 45352:"hierom", 45353:"hierop", 45354:"hifi", 45355:"high", 45356:"hij", 45361:"hij", 45362:"hijgde", 45363:"hijgen", 45364:"hijger", 45365:"hijs", 45366:"hijsen", 45411:"hik", 45412:"hikken", 45413:"hikte", 45414:"hinde", 45415:"hinden", 45416:"hinder", 45421:"Hindoe", 45422:"hing", 45423:"hinken", 45424:"hinkte", 45425:"hint", 45426:"hinten", 45431:"hip", 45432:"hiphop", 45433:"hippe", 45434:"hippen", 45435:"hippie", 45436:"hipte", 45441:"hit", 45442:"hitsig", 45443:"hitte", 45444:"hitten", 45445:"hj", 45446:"hk", 45451:"hl", 45452:"hm", 45453:"hn", 45454:"ho", 45455:"hobbel", 45456:"hobby", 45461:"hobo", 45462:"hoc", 45463:"hockey", 45464:"hoe", 45465:"hoed", 45466:"hoedde", 45511:"hoede", 45512:"hoeden", 45513:"hoeder", 45514:"hoef", 45515:"hoefde", 45516:"hoek", 45521:"hoeken", 45522:"hoeker", 45523:"hoekig", 45524:"hoeks", 45525:"hoekse", 45526:"hoekte", 45531:"hoempa", 45532:"hoen", 45533:"hoep", 45534:"hoepel", 45535:"hoepen", 45536:"hoepla", 45541:"hoer", 45542:"hoera", 45543:"hoerde", 45544:"hoeren", 45545:"hoerig", 45546:"hoes", 45551:"hoest", 45552:"hoeve", 45553:"hoeven", 45554:"hoever", 45555:"hoewel", 45556:"hoezee", 45561:"hoezen", 45562:"hoezo", 45563:"hof", 45564:"hofje", 45565:"hofjes", 45566:"hofnar", 45611:"hoge", 45612:"hogen", 45613:"hoger", 45614:"hoging", 45615:"hoi", 45616:"hok", 45621:"hokken", 45622:"hokte", 45623:"hol", 45624:"hola", 45625:"holde", 45626:"hole", 45631:"holen", 45632:"holist", 45633:"holle", 45634:"hollen", 45635:"holler", 45636:"holte", 45641:"holten", 45642:"holtes", 45643:"hom", 45644:"home", 45645:"hommel", 45646:"hommen", 45651:"hommer", 45652:"homo", 45653:"homo's", 45654:"homp", 45655:"hompen", 45656:"hond", 45661:"honden", 45662:"honds", 45663:"hondse", 45664:"honen", 45665:"honend", 45666:"honger", 46111:"honig", 46112:"honing", 46113:"honk", 46114:"honken", 46115:"honkte", 46116:"hoofd", 46121:"hoofde", 46122:"hoofs", 46123:"hoofse", 46124:"hoog", 46125:"hoogde", 46126:"hoogst", 46131:"hoogte", 46132:"hooi", 46133:"hooide", 46134:"hooien", 46135:"hooier", 46136:"hooked", 46141:"hoon", 46142:"hoonde", 46143:"hoop", 46144:"hoopte", 46145:"hoor", 46146:"hoorde", 46151:"hoorn", 46152:"hoos", 46153:"hoosde", 46154:"hop", 46155:"hope", 46156:"hopen", 46161:"hopla", 46162:"hopman", 46163:"hoppe", 46164:"hoppen", 46165:"hopper", 46166:"hopsa", 46211:"hopte", 46212:"hor", 46213:"hordde", 46214:"horde", 46215:"horden", 46216:"hordes", 46221:"horeca", 46222:"horen", 46223:"horens", 46224:"horig", 46225:"horige", 46226:"hork", 46231:"horken", 46232:"hormon", 46233:"horren", 46234:"horror", 46235:"hors", 46236:"horsen", 46241:"horst", 46242:"hort", 46243:"horten", 46244:"hortte", 46245:"hortus", 46246:"horzel", 46251:"horzen", 46252:"hospes", 46253:"hospik", 46254:"hossen", 46255:"hoste", 46256:"hostel", 46261:"hostie", 46262:"hot", 46263:"hotdog", 46264:"hotel", 46265:"hotels", 46266:"hotsen", 46311:"hotste", 46312:"hotte", 46313:"hotten", 46314:"hou", 46315:"houden", 46316:"houder", 46321:"house", 46322:"housen", 46323:"hout", 46324:"houten", 46325:"houtig", 46326:"houtje", 46331:"houw", 46332:"houwen", 46333:"houwer", 46334:"hoven", 46335:"hoving", 46336:"hozen", 46341:"hp", 46342:"hq", 46343:"hr", 46344:"hs", 46345:"ht", 46346:"hu", 46351:"hui", 46352:"huid", 46353:"huiden", 46354:"huidig", 46355:"huif", 46356:"huifde", 46361:"huig", 46362:"huigen", 46363:"huik", 46364:"huiken", 46365:"huilde", 46366:"huilen", 46411:"huiler", 46412:"huis", 46413:"huisde", 46414:"huisje", 46415:"huiven", 46416:"huize", 46421:"huizen", 46422:"hukken", 46423:"hukte", 46424:"hul", 46425:"hulde", 46426:"hulk", 46431:"hulken", 46432:"hullen", 46433:"hulp", 46434:"hulpen", 46435:"huls", 46436:"hulsel", 46441:"hulst", 46442:"hulzen", 46443:"hum", 46444:"humaan", 46445:"humane", 46446:"humbug", 46451:"humde", 46452:"humeur", 46453:"hummel", 46454:"hummen", 46455:"humor", 46456:"humus", 46461:"hun", 46462:"hunne", 46463:"hunnen", 46464:"hup", 46465:"huppen", 46466:"hups", 46511:"hupse", 46512:"hupte", 46513:"huren", 46514:"hurken", 46515:"hurkte", 46516:"husky", 46521:"hut", 46522:"hutje", 46523:"hutten", 46524:"huur", 46525:"huurde", 46526:"huwde", 46531:"huwen", 46532:"huzaar", 46533:"hv", 46534:"hw", 46535:"hx", 46536:"hy", 46541:"hybris", 46542:"hydra", 46543:"hyena", 46544:"hymen", 46545:"hymens", 46546:"hymne", 46551:"hymnen", 46552:"hype", 46553:"hypo", 46554:"hysop", 46555:"hz", 46556:"i", 46561:"iade", 46562:"ia‘n", 46563:"ib", 46564:"ibidem", 46565:"ibis", 46566:"ic", 46611:"icing", 46612:"iconen", 46613:"icoon", 46614:"id", 46615:"ideaal", 46616:"ideale", 46621:"idee", 46622:"ide‘el", 46623:"idee‘n", 46624:"ide‘le", 46625:"idem", 46626:"idioom", 46631:"idioot", 46632:"idiote", 46633:"idolen", 46634:"idool", 46635:"idylle", 46636:"ie", 46641:"iebel", 46642:"ieder", 46643:"iedere", 46644:"iel", 46645:"iele", 46646:"iemand", 46651:"iemker", 46652:"iep", 46653:"iepen", 46654:"Ier", 46655:"Ieren", 46656:"Iers", 46661:"Ierse", 46662:"iet", 46663:"iets", 46664:"ietsje", 46665:"ietwat", 46666:"if", 51111:"ig", 51112:"iglo", 51113:"i-grec", 51114:"ih", 51115:"ii", 51116:"iii", 51121:"iiii", 51122:"ij", 51123:"ijdel", 51124:"ijdele", 51125:"ijk", 51126:"ijk", 51131:"ijken", 51132:"ijker", 51133:"ijkers", 51134:"ijking", 51135:"ijkte", 51136:"ijl", 51141:"ijlde", 51142:"ijle", 51143:"ijlen", 51144:"ijler", 51145:"ijs", 51146:"ijsco", 51151:"ijsde", 51152:"ijsje", 51153:"ijsjes", 51154:"ijskap", 51155:"ijszak", 51156:"ijszee", 51161:"ijver", 51162:"ijzel", 51163:"ijzen", 51164:"ijzer", 51165:"ijzers", 51166:"ijzig", 51211:"ijzige", 51212:"ik", 51213:"ikzelf", 51214:"il", 51215:"Ilias", 51216:"im", 51221:"image", 51222:"imago", 51223:"imam", 51224:"imker", 51225:"imkers", 51226:"immens", 51231:"immer", 51232:"immers", 51233:"immune", 51234:"immuun", 51235:"impact", 51236:"impala", 51241:"import", 51242:"impost", 51243:"impuls", 51244:"in", 51245:"inbaar", 51246:"inbare", 51251:"inca", 51252:"incest", 51253:"inch", 51254:"inches", 51255:"inde", 51256:"index", 51261:"indien", 51262:"Indi‘r", 51263:"indigo", 51264:"Indo", 51265:"indoen", 51266:"Indo's", 51311:"indruk", 51312:"indult", 51313:"ineen", 51314:"ineens", 51315:"inert", 51316:"inerte", 51321:"infaam", 51322:"infame", 51323:"infant", 51324:"info", 51325:"infuus", 51326:"ingaan", 51331:"ingang", 51332:"ingoed", 51333:"ingooi", 51334:"inham", 51335:"inhoud", 51336:"inkeep", 51341:"inkeer", 51342:"inkijk", 51343:"inkom", 51344:"inkoop", 51345:"inkoud", 51346:"inkt", 51351:"inkten", 51352:"inktte", 51353:"inlaag", 51354:"inlaat", 51355:"inlage", 51356:"inlas", 51361:"inlaut", 51362:"inleg", 51363:"inloop", 51364:"inmaak", 51365:"inname", 51366:"innen", 51411:"innig", 51412:"innige", 51413:"inning", 51414:"input", 51415:"inrit", 51416:"inruil", 51421:"insect", 51422:"inslag", 51423:"insult", 51424:"intact", 51425:"intake", 51426:"intens", 51431:"intern", 51432:"intiem", 51433:"intimi", 51434:"intree", 51435:"intrek", 51436:"intro", 51441:"intron", 51442:"inval", 51443:"invers", 51444:"invert", 51445:"invite", 51446:"invitŽ", 51451:"invoer", 51452:"inworp", 51453:"inzage", 51454:"inzake", 51455:"inzet", 51456:"inzien", 51461:"io", 51462:"ion", 51463:"ionen", 51464:"ip", 51465:"iq", 51466:"ir", 51511:"iris", 51512:"ironie", 51513:"is", 51514:"islam", 51515:"isme", 51516:"ismen", 51521:"ismes", 51522:"issue", 51523:"issues", 51524:"it", 51525:"item", 51526:"iu", 51531:"iv", 51532:"ivoor", 51533:"ivoren", 51534:"Ivriet", 51535:"iw", 51536:"ix", 51541:"iy", 51542:"iz", 51543:"j", 51544:"jaagde", 51545:"jaap", 51546:"jaapte", 51551:"jaar", 51552:"jabot", 51553:"jabots", 51554:"jacht", 51555:"jack", 51556:"jacket", 51561:"jade", 51562:"jaeger", 51563:"jagen", 51564:"jager", 51565:"jagers", 51566:"jaguar", 51611:"Jahwe", 51612:"Jahweh", 51613:"jajem", 51614:"jak", 51615:"jakken", 51616:"jakkes", 51621:"jam", 51622:"jambe", 51623:"jamben", 51624:"jammen", 51625:"jammer", 51626:"jampot", 51631:"jan", 51632:"janhen", 51633:"janken", 51634:"jankte", 51635:"jannen", 51636:"jantje", 51641:"janus", 51642:"Jap", 51643:"Japans", 51644:"japen", 51645:"japon", 51646:"Jappen", 51651:"jaren", 51652:"jargon", 51653:"jarig", 51654:"jarige", 51655:"jas", 51656:"jaspis", 51661:"jassen", 51662:"jaste", 51663:"jaszak", 51664:"jat", 51665:"jatte", 51666:"jatten", 52111:"Javaan", 52112:"jawel", 52113:"jazz", 52114:"jazzy", 52115:"jb", 52116:"jc", 52121:"jd", 52122:"je", 52123:"jeans", 52124:"jeep", 52125:"jegens", 52126:"Jehova", 52131:"jein", 52132:"jekker", 52133:"jelui", 52134:"jengel", 52135:"jennen", 52136:"jersey", 52141:"jet", 52142:"jetlag", 52143:"jetset", 52144:"jetski", 52145:"jeu", 52146:"jeugd", 52151:"jeu•g", 52152:"jeuk", 52153:"jeuken", 52154:"jeukte", 52155:"jezelf", 52156:"jf", 52161:"jg", 52162:"jh", 52163:"ji", 52164:"jicht", 52165:"jij", 52166:"jijde", 52211:"jijen", 52212:"jingle", 52213:"jive", 52214:"jj", 52215:"jjj", 52216:"jjjj", 52221:"jk", 52222:"jkl", 52223:"jl", 52224:"jm", 52225:"jn", 52226:"jo", 52231:"Job", 52232:"jochie", 52233:"jockey", 52234:"joden", 52235:"jodide", 52236:"jodin", 52241:"jodium", 52242:"joeg", 52243:"joekel", 52244:"joelde", 52245:"joelen", 52246:"joep", 52251:"joetje", 52252:"jofel", 52253:"joggen", 52254:"jogger", 52255:"joh", 52256:"joint", 52261:"jojo", 52262:"jojo‘n", 52263:"jok", 52264:"joke", 52265:"joker", 52266:"jokers", 52311:"jokken", 52312:"jokte", 52313:"jol", 52314:"jolde", 52315:"jolen", 52316:"jolig", 52321:"jolige", 52322:"jolijt", 52323:"jollen", 52324:"Jonas", 52325:"jonde", 52326:"jonen", 52331:"jong", 52332:"jongde", 52333:"jonge", 52334:"jongen", 52335:"jonger", 52336:"jongs", 52341:"jonk", 52342:"jonken", 52343:"jonker", 52344:"jonnen", 52345:"jood", 52346:"joods", 52351:"joodse", 52352:"jool", 52353:"joolde", 52354:"joon", 52355:"joop", 52356:"Joost", 52361:"jopen", 52362:"jota", 52363:"jou", 52364:"joule", 52365:"jour", 52366:"jouw", 52411:"jouwde", 52412:"jouwen", 52413:"joyeus", 52414:"jozef", 52415:"jp", 52416:"jq", 52421:"jr", 52422:"js", 52423:"jt", 52424:"ju", 52425:"jubel", 52426:"judas", 52431:"judo", 52432:"judo‘n", 52433:"judoka", 52434:"juf", 52435:"juffen", 52436:"juffer", 52441:"juffie", 52442:"juist", 52443:"juiste", 52444:"jujube", 52445:"juk", 52446:"jukken", 52451:"jukte", 52452:"juli", 52453:"jullie", 52454:"jumbo", 52455:"jumper", 52456:"jungle", 52461:"juni", 52462:"junior", 52463:"junk", 52464:"junkie", 52465:"junta", 52466:"Jura", 52511:"jurist", 52512:"jurk", 52513:"jurken", 52514:"jury", 52515:"jury's", 52516:"jus", 52521:"juskom", 52522:"jut", 52523:"jute", 52524:"juten", 52525:"jutte", 52526:"jutten", 52531:"jutter", 52532:"juweel", 52533:"jv", 52534:"jw", 52535:"jx", 52536:"jy", 52541:"jz", 52542:"k", 52543:"kaag", 52544:"kaai", 52545:"kaaide", 52546:"kaaien", 52551:"kaak", 52552:"kaakje", 52553:"kaakte", 52554:"kaal", 52555:"kaalte", 52556:"kaam", 52561:"kaamde", 52562:"kaan", 52563:"kaap", 52564:"kaapte", 52565:"kaar", 52566:"kaard", 52611:"kaarde", 52612:"kaars", 52613:"kaart", 52614:"kaas", 52615:"kaasde", 52616:"kaats", 52621:"kabaai", 52622:"kabaal", 52623:"kabaja", 52624:"kabas", 52625:"kabel", 52626:"kabels", 52631:"kachel", 52632:"kade", 52633:"kadee", 52634:"kadees", 52635:"kaden", 52636:"kader", 52641:"kaders", 52642:"kadi", 52643:"kaduke", 52644:"kaduuk", 52645:"kaf", 52646:"kaffa", 52651:"kaffer", 52652:"kaft", 52653:"kaftan", 52654:"kaften", 52655:"kaftte", 52656:"kafzak", 52661:"kagen", 52662:"ka•n", 52663:"ka•ns", 52664:"kajak", 52665:"kajaks", 52666:"kajuit", 53111:"kak", 53112:"kakel", 53113:"kakels", 53114:"kaken", 53115:"kaki", 53116:"kakken", 53121:"kakte", 53122:"kalbas", 53123:"kalde", 53124:"kale", 53125:"kalen", 53126:"kaler", 53131:"kalf", 53132:"kalfde", 53133:"kalfje", 53134:"kali", 53135:"kalief", 53136:"kali's", 53141:"kalium", 53142:"kalk", 53143:"kalkei", 53144:"kalken", 53145:"kalkte", 53146:"kalle", 53151:"kallen", 53152:"kalm", 53153:"kalme", 53154:"kalmer", 53155:"kalmte", 53156:"kalot", 53161:"kalven", 53162:"kam", 53163:"kamde", 53164:"kameel", 53165:"kamen", 53166:"kamer", 53211:"kamers", 53212:"kamfer", 53213:"kamig", 53214:"kammen", 53215:"kamp", 53216:"kampen", 53221:"kamper", 53222:"kampte", 53223:"kamrad", 53224:"kan", 53225:"kanaal", 53226:"kanaat", 53231:"kandij", 53232:"kaneel", 53233:"kanen", 53234:"kanis", 53235:"kanjer", 53236:"kanji", 53241:"kanker", 53242:"kannen", 53243:"kano", 53244:"kanode", 53245:"kano‘n", 53246:"kano‘r", 53251:"kanoet", 53252:"kanon", 53253:"kans", 53254:"kansel", 53255:"kansen", 53256:"kant", 53261:"kanten", 53262:"kantig", 53263:"kantje", 53264:"kanton", 53265:"kantte", 53266:"kap", 53311:"kapel", 53312:"kapen", 53313:"kaper", 53314:"kapers", 53315:"kapje", 53316:"kapjes", 53321:"kapmes", 53322:"kapoen", 53323:"kapok", 53324:"kapot", 53325:"kappa", 53326:"kappen", 53331:"kapper", 53332:"kapsel", 53333:"kapte", 53334:"kar", 53335:"karaat", 53336:"karaf", 53341:"karate", 53342:"karde", 53343:"karen", 53344:"karet", 53345:"karig", 53346:"karige", 53351:"karkas", 53352:"karma", 53353:"karn", 53354:"karnde", 53355:"karnen", 53356:"karos", 53361:"karot", 53362:"karper", 53363:"karpet", 53364:"karren", 53365:"kartel", 53366:"karton", 53411:"karwei", 53412:"karwij", 53413:"kas", 53414:"kasba", 53415:"kashba", 53416:"kassa", 53421:"kassei", 53422:"kassen", 53423:"kast", 53424:"kaste", 53425:"kasten", 53426:"kastie", 53431:"kat", 53432:"kater", 53433:"katern", 53434:"katers", 53435:"kation", 53436:"katje", 53441:"katjes", 53442:"katoen", 53443:"katoog", 53444:"katrol", 53445:"katte", 53446:"katten", 53451:"kattig", 53452:"kattin", 53453:"katuil", 53454:"katvis", 53455:"kauri", 53456:"kauw", 53461:"kauwde", 53462:"kauwen", 53463:"kavel", 53464:"kavels", 53465:"kazak", 53466:"kazen", 53511:"kb", 53512:"kc", 53513:"kd", 53514:"ke", 53515:"kebab", 53516:"kebon", 53521:"kebons", 53522:"keek", 53523:"keel", 53524:"keelde", 53525:"keen", 53526:"keende", 53531:"keep", 53532:"keepen", 53533:"keeper", 53534:"keepte", 53535:"keer", 53536:"keerde", 53541:"kees", 53542:"keet", 53543:"keffen", 53544:"keffer", 53545:"kefir", 53546:"kefte", 53551:"keg", 53552:"kegel", 53553:"kegels", 53554:"kegge", 53555:"keggen", 53556:"kegje", 53561:"kei", 53562:"keien", 53563:"keikop", 53564:"keilde", 53565:"keilen", 53566:"keitje", 53611:"keizer", 53612:"kek", 53613:"keker", 53614:"kekers", 53615:"kelder", 53616:"kelen", 53621:"kelim", 53622:"kelk", 53623:"kelken", 53624:"kelner", 53625:"kelp", 53626:"kelt", 53631:"kelten", 53632:"kemel", 53633:"kemels", 53634:"kemp", 53635:"kempen", 53636:"kenau", 53641:"kende", 53642:"kenen", 53643:"kennel", 53644:"kennen", 53645:"kenner", 53646:"kennis", 53651:"kepen", 53652:"keper", 53653:"kepers", 53654:"kepie", 53655:"kepies", 53656:"kerel", 53661:"kerels", 53662:"keren", 53663:"kerf", 53664:"kerfde", 53665:"kering", 53666:"kerk", 54111:"kerken", 54112:"kerker", 54113:"kerks", 54114:"kerkse", 54115:"kerkte", 54116:"kermde", 54121:"kermen", 54122:"kermes", 54123:"Kermis", 54124:"kern", 54125:"kernen", 54126:"kerrie", 54131:"kers", 54132:"kersen", 54133:"kerst", 54134:"kervel", 54135:"kerven", 54136:"kesp", 54141:"kespen", 54142:"ketel", 54143:"ketels", 54144:"keten", 54145:"ketens", 54146:"ketjap", 54151:"ketje", 54152:"ketjes", 54153:"kets", 54154:"ketsen", 54155:"ketste", 54156:"ketter", 54161:"keu", 54162:"keuken", 54163:"Keuls", 54164:"Keulse", 54165:"keur", 54166:"keurde", 54211:"keuren", 54212:"keurig", 54213:"keurs", 54214:"keus", 54215:"keutel", 54216:"keuter", 54221:"keuvel", 54222:"keuze", 54223:"keuzen", 54224:"keuzes", 54225:"kevel", 54226:"kevels", 54231:"kever", 54232:"kevers", 54233:"kevie", 54234:"kevies", 54235:"kezen", 54236:"kf", 54241:"kg", 54242:"kh", 54243:"khmer", 54244:"ki", 54245:"kick", 54246:"kicken", 54251:"kief", 54252:"kiek", 54253:"kieken", 54254:"kiekje", 54255:"kiekte", 54256:"kiel", 54261:"kielde", 54262:"kielen", 54263:"kiem", 54264:"kiemde", 54265:"kiemen", 54266:"kien", 54311:"kiende", 54312:"kiene", 54313:"kienen", 54314:"kiep", 54315:"kiepen", 54316:"kier", 54321:"kierde", 54322:"kieren", 54323:"kies", 54324:"kiese", 54325:"kieuw", 54326:"kievit", 54331:"kiezel", 54332:"kiezen", 54333:"kiezer", 54334:"kift", 54335:"kiften", 54336:"kiftte", 54341:"kijf", 54342:"kijk", 54343:"kijken", 54344:"kijker", 54345:"kijven", 54346:"kik", 54351:"kikken", 54352:"kikker", 54353:"kikte", 54354:"kil", 54355:"kilde", 54356:"kille", 54361:"killen", 54362:"killer", 54363:"kilo", 54364:"kilo's", 54365:"kilt", 54366:"kilte", 54411:"kim", 54412:"kimde", 54413:"kimme", 54414:"kimmen", 54415:"kimono", 54416:"kin", 54421:"kina", 54422:"kinase", 54423:"kind", 54424:"kindje", 54425:"kinds", 54426:"kindse", 54431:"kinema", 54432:"kinine", 54433:"kink", 54434:"kinkel", 54435:"kinken", 54436:"kinnen", 54441:"kiosk", 54442:"kip", 54443:"kipbak", 54444:"kipkap", 54445:"kipkar", 54446:"kippen", 54451:"kippig", 54452:"kipte", 54453:"kirde", 54454:"kirren", 54455:"kirsch", 54456:"kissen", 54461:"kist", 54462:"kiste", 54463:"kisten", 54464:"kistje", 54465:"kistte", 54466:"kit", 54511:"kits", 54512:"kitsch", 54513:"kitsen", 54514:"kitste", 54515:"kitte", 54516:"kitten", 54521:"kittig", 54522:"kiwi", 54523:"kiwi's", 54524:"kj", 54525:"kk", 54526:"kkk", 54531:"kkkk", 54532:"kl", 54533:"klaar", 54534:"klaas", 54535:"klabak", 54536:"klacht", 54541:"klad", 54542:"kladde", 54543:"kladje", 54544:"klagen", 54545:"klager", 54546:"klak", 54551:"klakte", 54552:"klam", 54553:"klamme", 54554:"klamp", 54555:"klank", 54556:"klant", 54561:"klap", 54562:"klapte", 54563:"klare", 54564:"klaren", 54565:"klas", 54566:"klasse", 54611:"klauw", 54612:"klaver", 54613:"klazen", 54614:"kleden", 54615:"kledij", 54616:"kleed", 54621:"kleef", 54622:"klef", 54623:"kleffe", 54624:"klei", 54625:"kleide", 54626:"kleien", 54631:"kleiig", 54632:"klein", 54633:"kleine", 54634:"klem", 54635:"klemde", 54636:"klep", 54641:"klepel", 54642:"klepte", 54643:"kleren", 54644:"klerk", 54645:"klets", 54646:"kleun", 54651:"kleur", 54652:"kleven", 54653:"klever", 54654:"kliek", 54655:"klier", 54656:"klif", 54661:"klik", 54662:"klikte", 54663:"klim", 54664:"klimop", 54665:"kling", 54666:"klink", 55111:"klip", 55112:"klis", 55113:"kliste", 55114:"klit", 55115:"klitte", 55116:"klm", 55121:"klodde", 55122:"kloef", 55123:"kloek", 55124:"kloeke", 55125:"kloet", 55126:"klok", 55131:"klokje", 55132:"klokke", 55133:"klokte", 55134:"klom", 55135:"klomp", 55136:"klonen", 55141:"klonk", 55142:"klont", 55143:"kloof", 55144:"kloon", 55145:"kloot", 55146:"klop", 55151:"klopje", 55152:"klopte", 55153:"klos", 55154:"kloste", 55155:"kloten", 55156:"klove", 55161:"kloven", 55162:"klucht", 55163:"kluft", 55164:"kluif", 55165:"kluis", 55166:"kluit", 55211:"klunen", 55212:"kluns", 55213:"klus", 55214:"kluts", 55215:"kluwen", 55216:"klysma", 55221:"km", 55222:"kn", 55223:"knaak", 55224:"knaap", 55225:"knagen", 55226:"knak", 55231:"knaken", 55232:"knakte", 55233:"knal", 55234:"knalde", 55235:"knap", 55236:"knapen", 55241:"knappe", 55242:"knapte", 55243:"knar", 55244:"knauw", 55245:"knecht", 55246:"kneden", 55251:"kneep", 55252:"knekel", 55253:"knel", 55254:"knelde", 55255:"knepen", 55256:"kneu", 55261:"kneuen", 55262:"kneus", 55263:"knevel", 55264:"knie", 55265:"knie‘n", 55266:"knier", 55311:"knijp", 55312:"knik", 55313:"knikte", 55314:"knip", 55315:"knipte", 55316:"knoei", 55321:"knoest", 55322:"knoet", 55323:"knok", 55324:"knoken", 55325:"knokig", 55326:"knokte", 55331:"knol", 55332:"knook", 55333:"knoop", 55334:"knop", 55335:"knopen", 55336:"knopig", 55341:"knopte", 55342:"knor", 55343:"knorde", 55344:"knorf", 55345:"knot", 55346:"knotje", 55351:"knots", 55352:"knotte", 55353:"knudde", 55354:"knuist", 55355:"knul", 55356:"knus", 55361:"knusse", 55362:"ko", 55363:"koala", 55364:"kobalt", 55365:"kobbe", 55366:"kobben", 55411:"kobold", 55412:"kocht", 55413:"kodak", 55414:"kodaks", 55415:"kodde", 55416:"kodden", 55421:"koddig", 55422:"koe", 55423:"koedoe", 55424:"koeien", 55425:"koek", 55426:"koeken", 55431:"koekje", 55432:"koekte", 55433:"koel", 55434:"koelak", 55435:"koelde", 55436:"koele", 55441:"koelen", 55442:"koeler", 55443:"koelie", 55444:"koelte", 55445:"koen", 55446:"koene", 55451:"koepel", 55452:"koepok", 55453:"koer", 55454:"koerde", 55455:"koeren", 55456:"koers", 55461:"koest", 55462:"koet", 55463:"koeten", 55464:"koetje", 55465:"koets", 55466:"kof", 55511:"koffen", 55512:"koffer", 55513:"koffie", 55514:"kogel", 55515:"kogels", 55516:"kogen", 55521:"kogge", 55522:"koggen", 55523:"kohier", 55524:"koine", 55525:"kok", 55526:"koken", 55531:"kokend", 55532:"koker", 55533:"kokers", 55534:"koket", 55535:"kokkel", 55536:"kokker", 55541:"kokkie", 55542:"kokkin", 55543:"kokos", 55544:"kol", 55545:"kola", 55546:"kolbak", 55551:"kolde", 55552:"kolder", 55553:"kolen", 55554:"kolf", 55555:"kolfde", 55556:"kolfje", 55561:"koliek", 55562:"kolk", 55563:"kolken", 55564:"kolkte", 55565:"kollen", 55566:"kolom", 55611:"kolos", 55612:"kolven", 55613:"kom", 55614:"komaan", 55615:"komaf", 55616:"komeet", 55621:"komen", 55622:"komend", 55623:"komiek", 55624:"komijn", 55625:"komma", 55626:"kommen", 55631:"kommer", 55632:"kompas", 55633:"kompel", 55634:"komst", 55635:"komt", 55636:"kond", 55641:"konen", 55642:"kongsi", 55643:"konijn", 55644:"koning", 55645:"konkel", 55646:"kont", 55651:"konten", 55652:"kontje", 55653:"koof", 55654:"koog", 55655:"kooi", 55656:"kooide", 55661:"kooien", 55662:"kook", 55663:"kookte", 55664:"kool", 55665:"koon", 55666:"koop", 56111:"koopje", 56112:"koor", 56113:"koord", 56114:"koorde", 56115:"koorts", 56116:"koos", 56121:"koosde", 56122:"koot", 56123:"kootje", 56124:"kootte", 56125:"kop", 56126:"kopal", 56131:"kopbal", 56132:"kopeke", 56133:"kopen", 56134:"koper", 56135:"kopers", 56136:"kopie", 56141:"kopij", 56142:"kopje", 56143:"kopjes", 56144:"kopman", 56145:"koppel", 56146:"koppen", 56151:"koppig", 56152:"kopra", 56153:"kops", 56154:"kopse", 56155:"kopte", 56156:"kor", 56161:"koraal", 56162:"koran", 56163:"korde", 56164:"kordon", 56165:"koren", 56166:"korf", 56211:"korfde", 56212:"korist", 56213:"kornak", 56214:"kornet", 56215:"kornis", 56216:"korps", 56221:"korre", 56222:"korrel", 56223:"korren", 56224:"korset", 56225:"korst", 56226:"kort", 56231:"kortaf", 56232:"korte", 56233:"korten", 56234:"korter", 56235:"kortom", 56236:"kortte", 56241:"korund", 56242:"korven", 56243:"korvet", 56244:"kosjer", 56245:"kosmos", 56246:"kossem", 56251:"kost", 56252:"kosten", 56253:"koster", 56254:"kostte", 56255:"kot", 56256:"koten", 56261:"koter", 56262:"koters", 56263:"kots", 56264:"kotsen", 56265:"kotste", 56266:"kotten", 56311:"kotter", 56312:"kou", 56313:"koud", 56314:"koude", 56315:"kouder", 56316:"kous", 56321:"kousen", 56322:"kousje", 56323:"kout", 56324:"kouten", 56325:"kouter", 56326:"koutte", 56331:"kovel", 56332:"kovels", 56333:"koven", 56334:"kozak", 56335:"kozen", 56336:"kozijn", 56341:"kp", 56342:"kq", 56343:"kr", 56344:"kraag", 56345:"kraai", 56346:"kraak", 56351:"kraal", 56352:"kraam", 56353:"kraan", 56354:"krab", 56355:"krabbe", 56356:"krabde", 56361:"krach", 56362:"kracht", 56363:"kragen", 56364:"krak", 56365:"kraken", 56366:"kraker", 56411:"krakte", 56412:"kralen", 56413:"kram", 56414:"kramde", 56415:"kramen", 56416:"kramer", 56421:"kramp", 56422:"kranen", 56423:"kranig", 56424:"krank", 56425:"kranke", 56426:"krans", 56431:"krant", 56432:"krap", 56433:"krappe", 56434:"krapte", 56435:"kras", 56436:"krasse", 56441:"kraste", 56442:"krat", 56443:"krater", 56444:"kraton", 56445:"krats", 56446:"krauw", 56451:"kreeft", 56452:"kreeg", 56453:"kreek", 56454:"kreet", 56455:"kregel", 56456:"krek", 56461:"krekel", 56462:"kreken", 56463:"kreng", 56464:"krent", 56465:"krepte", 56466:"kresen", 56511:"kreten", 56512:"kreuk", 56513:"krevel", 56514:"kribbe", 56515:"kribde", 56516:"kribje", 56521:"kriek", 56522:"kriel", 56523:"krijg", 56524:"krijn", 56525:"krijs", 56526:"krijt", 56531:"krik", 56532:"krikte", 56533:"krill", 56534:"krimi", 56535:"krimp", 56536:"kring", 56541:"krip", 56542:"kris", 56543:"kriste", 56544:"krocht", 56545:"kroeg", 56546:"kroep", 56551:"kroes", 56552:"kroeze", 56553:"kroket", 56554:"krokus", 56555:"krol", 56556:"krols", 56561:"krolse", 56562:"krom", 56563:"kromde", 56564:"kromme", 56565:"kromp", 56566:"kromte", 56611:"kronen", 56612:"kroon", 56613:"kroop", 56614:"kroos", 56615:"kroost", 56616:"kroot", 56621:"krop", 56622:"kropte", 56623:"krot", 56624:"kroten", 56625:"krozen", 56626:"kruid", 56631:"kruide", 56632:"kruien", 56633:"kruier", 56634:"kruik", 56635:"kruim", 56636:"kruin", 56641:"kruis", 56642:"kruit", 56643:"kruk", 56644:"krukas", 56645:"krukte", 56646:"krul", 56651:"krulde", 56652:"ks", 56653:"kt", 56654:"ku", 56655:"kubiek", 56656:"kubist", 56661:"kubus", 56662:"kuch", 56663:"kuchen", 56664:"kuchte", 56665:"kudde", 56666:"kudden", 61111:"kuddes", 61112:"kuier", 61113:"kuif", 61114:"kuifde", 61115:"kuiken", 61116:"kuil", 61121:"kuilde", 61122:"kuilen", 61123:"kuiler", 61124:"kuip", 61125:"kuipen", 61126:"kuiper", 61131:"kuipte", 61132:"kuis", 61133:"kuise", 61134:"kuisen", 61135:"kuiser", 61136:"kuiste", 61141:"kuit", 61142:"kuiten", 61143:"kuiter", 61144:"kuiven", 61145:"kuizen", 61146:"kul", 61151:"kulas", 61152:"kulde", 61153:"kullen", 61154:"kummel", 61155:"kunde", 61156:"kundig", 61161:"kungfu", 61162:"kunne", 61163:"kunnen", 61164:"kunst", 61165:"kŸr", 61166:"kuras", 61211:"kuren", 61212:"kurk", 61213:"kurken", 61214:"kurkte", 61215:"kus", 61216:"kussen", 61221:"kust", 61222:"kuste", 61223:"kusten", 61224:"kut", 61225:"kutten", 61226:"kuub", 61231:"kuur", 61232:"kuurde", 61233:"kv", 61234:"kw", 61235:"kwaad", 61236:"kwaaie", 61241:"kwaal", 61242:"kwab", 61243:"kwade", 61244:"kwaden", 61245:"kwader", 61246:"kwak", 61251:"kwaken", 61252:"kwakte", 61253:"kwal", 61254:"kwalen", 61255:"kwam", 61256:"kwant", 61261:"kwanta", 61262:"kwark", 61263:"kwart", 61264:"kwarto", 61265:"kwarts", 61266:"kwast", 61311:"kwee", 61312:"kwee‘n", 61313:"kweek", 61314:"kween", 61315:"kwek", 61316:"kweken", 61321:"kweker", 61322:"kwekte", 61323:"kwel", 61324:"kwelde", 61325:"kwelen", 61326:"kwenen", 61331:"kwets", 61332:"kwezel", 61333:"kwibus", 61334:"kwiek", 61335:"kwieke", 61336:"kwijl", 61341:"kwijt", 61342:"kwik", 61343:"kwint", 61344:"kx", 61345:"ky", 61346:"kz", 61351:"l", 61352:"laadde", 61353:"laaf", 61354:"laafde", 61355:"laag", 61356:"laagje", 61361:"laagte", 61362:"laaide", 61363:"laaie", 61364:"laaien", 61365:"laakte", 61366:"laan", 61411:"laar", 61412:"laars", 61413:"laat", 61414:"laatje", 61415:"laatst", 61416:"lab", 61421:"label", 61422:"labels", 61423:"labeur", 61424:"labiel", 61425:"labo", 61426:"lach", 61431:"lachen", 61432:"lacher", 61433:"lachte", 61434:"lacune", 61435:"ladder", 61436:"lade", 61441:"laden", 61442:"lader", 61443:"laders", 61444:"lades", 61445:"lading", 61446:"lady", 61451:"laesie", 61452:"laf", 61453:"lafbek", 61454:"laffe", 61455:"laffer", 61456:"lag", 61461:"lage", 61462:"lagen", 61463:"lager", 61464:"lagune", 61465:"lak", 61466:"lakei", 61511:"laken", 61512:"lakens", 61513:"lakken", 61514:"lakooi", 61515:"laks", 61516:"lakse", 61521:"lakser", 61522:"lakte", 61523:"lala", 61524:"lalde", 61525:"lallen", 61526:"lam", 61531:"lama", 61532:"lama's", 61533:"lamŽ", 61534:"lamel", 61535:"lamfer", 61536:"lamme", 61541:"lammen", 61542:"lammer", 61543:"lammig", 61544:"lamoen", 61545:"lamp", 61546:"lampen", 61551:"lamzak", 61552:"lancet", 61553:"land", 61554:"landde", 61555:"lande", 61556:"landen", 61561:"landje", 61562:"lanen", 61563:"lang", 61564:"langde", 61565:"lange", 61566:"langen", 61611:"langer", 61612:"langs", 61613:"lans", 61614:"lansen", 61615:"Lap", 61616:"Lappen", 61621:"Laps", 61622:"lapsus", 61623:"lapte", 61624:"laptop", 61625:"laquŽ", 61626:"laren", 61631:"larf", 61632:"largo", 61633:"larie", 61634:"lariks", 61635:"larve", 61636:"larven", 61641:"larynx", 61642:"las", 61643:"laser", 61644:"lasers", 61645:"lassen", 61646:"lasser", 61651:"lasso", 61652:"last", 61653:"laste", 61654:"lasten", 61655:"laster", 61656:"lastig", 61661:"lat", 61662:"late", 61663:"latei", 61664:"laten", 61665:"latent", 61666:"later", 62111:"latere", 62112:"latex", 62113:"Latijn", 62114:"latte", 62115:"latten", 62116:"latuw", 62121:"lauden", 62122:"lauw", 62123:"lauwe", 62124:"lauwer", 62125:"lava", 62126:"lavabo", 62131:"lavas", 62132:"laven", 62133:"lavet", 62134:"laving", 62135:"lawaai", 62136:"lawine", 62141:"laxans", 62142:"lazer", 62143:"lazuur", 62144:"lb", 62145:"lc", 62146:"ld", 62151:"le", 62152:"league", 62153:"lease", 62154:"leasen", 62155:"leb", 62156:"lebaal", 62161:"lebbe", 62162:"lebben", 62163:"lebbig", 62164:"lector", 62165:"led", 62166:"lede", 62211:"leden", 62212:"leder", 62213:"ledig", 62214:"ledige", 62215:"leed", 62216:"leefde", 62221:"leeg", 62222:"leegde", 62223:"leegte", 62224:"leek", 62225:"leekte", 62226:"leem", 62231:"leeman", 62232:"leemde", 62233:"leemte", 62234:"leen", 62235:"leende", 62236:"leep", 62241:"leer", 62242:"leerde", 62243:"leest", 62244:"leeuw", 62245:"lef", 62246:"leg", 62251:"legaal", 62252:"legaat", 62253:"legale", 62254:"legato", 62255:"legde", 62256:"lege", 62261:"legen", 62262:"leger", 62263:"legers", 62264:"leges", 62265:"leggen", 62266:"legger", 62311:"leghen", 62312:"legio", 62313:"lego", 62314:"legsel", 62315:"lei", 62316:"leidde", 62321:"leiden", 62322:"leider", 62323:"leien", 62324:"leis", 62325:"leisel", 62326:"leitje", 62331:"leizen", 62332:"lek", 62333:"lekbak", 62334:"leken", 62335:"lekgat", 62336:"lekke", 62341:"lekken", 62342:"lekker", 62343:"lekte", 62344:"lel", 62345:"lelde", 62346:"lelie", 62351:"leli‘n", 62352:"lelies", 62353:"lelijk", 62354:"lellen", 62355:"lemen", 62356:"lemma", 62361:"lemmer", 62362:"lemmet", 62363:"lende", 62364:"lenden", 62365:"lenen", 62366:"lener", 62411:"leners", 62412:"leng", 62413:"lengde", 62414:"lengen", 62415:"lengte", 62416:"lenig", 62421:"lenige", 62422:"lening", 62423:"lens", 62424:"lensde", 62425:"lente", 62426:"lentes", 62431:"lento", 62432:"lenze", 62433:"lenzen", 62434:"lepe", 62435:"lepel", 62436:"lepels", 62441:"leper", 62442:"leperd", 62443:"leppen", 62444:"lepra", 62445:"lepte", 62446:"lepton", 62451:"leraar", 62452:"leren", 62453:"lering", 62454:"les", 62455:"lesbo", 62456:"lessen", 62461:"lest", 62462:"leste", 62463:"lesuur", 62464:"Let", 62465:"letaal", 62466:"letale", 62511:"letsel", 62512:"lette", 62513:"Letten", 62514:"letter", 62515:"leugen", 62516:"leuk", 62521:"leuke", 62522:"leuker", 62523:"leunde", 62524:"leunen", 62525:"leur", 62526:"leurde", 62531:"leuren", 62532:"leus", 62533:"leute", 62534:"leuter", 62535:"leutig", 62536:"leuze", 62541:"leuzen", 62542:"Levant", 62543:"leven", 62544:"levend", 62545:"levens", 62546:"lever", 62551:"levers", 62552:"leviet", 62553:"lexica", 62554:"lezen", 62555:"lezer", 62556:"lezers", 62561:"lezing", 62562:"lf", 62563:"lg", 62564:"lh", 62565:"li", 62566:"liaan", 62611:"liane", 62612:"lianen", 62613:"Lias", 62614:"libel", 62615:"libero", 62616:"libido", 62621:"libris", 62622:"licht", 62623:"lichte", 62624:"lictor", 62625:"lid", 62626:"lidje", 62631:"lidjes", 62632:"lied", 62633:"lieden", 62634:"liedje", 62635:"lief", 62636:"liefde", 62641:"liefje", 62642:"liefst", 62643:"liegen", 62644:"liep", 62645:"lier", 62646:"lieren", 62651:"li‘ren", 62652:"lies", 62653:"liet", 62654:"lieve", 62655:"lieven", 62656:"liever", 62661:"lievig", 62662:"liezen", 62663:"lift", 62664:"liften", 62665:"lifter", 62666:"liftte", 63111:"liga", 63112:"ligbad", 63113:"ligdag", 63114:"liggen", 63115:"ligger", 63116:"lij", 63121:"lijden", 63122:"lijder", 63123:"lijf", 63124:"lijfde", 63125:"lijfje", 63126:"lijk", 63131:"lijken", 63132:"lijkte", 63133:"lijkwa", 63134:"lijm", 63135:"lijmde", 63136:"lijmen", 63141:"lijmer", 63142:"lijmig", 63143:"lijn", 63144:"lijnde", 63145:"lijnen", 63146:"lijs", 63151:"lijst", 63152:"lijve", 63153:"lijven", 63154:"lijvig", 63155:"lijzen", 63156:"lijzig", 63161:"lijzij", 63162:"lik", 63163:"likeur", 63164:"likken", 63165:"likker", 63166:"likte", 63211:"lil", 63212:"lila", 63213:"lilde", 63214:"lillen", 63215:"liman", 63216:"limans", 63221:"limbo", 63222:"limbus", 63223:"limiet", 63224:"limit", 63225:"limoen", 63226:"linde", 63231:"linden", 63232:"linea", 63233:"linie", 63234:"linies", 63235:"link", 63236:"linke", 63241:"linken", 63242:"linker", 63243:"links", 63244:"linkse", 63245:"linnen", 63246:"lino", 63251:"lint", 63252:"linten", 63253:"lintje", 63254:"linze", 63255:"linzen", 63256:"lip", 63261:"lipje", 63262:"lipjes", 63263:"liplap", 63264:"lippen", 63265:"lipte", 63266:"lipvis", 63311:"lira", 63312:"lire", 63313:"lires", 63314:"lis", 63315:"lissen", 63316:"list", 63321:"listen", 63322:"listig", 63323:"liter", 63324:"liters", 63325:"litho", 63326:"liturg", 63331:"live", 63332:"living", 63333:"livrei", 63334:"lj", 63335:"lk", 63336:"ll", 63341:"lll", 63342:"llll", 63343:"lm", 63344:"lmn", 63345:"ln", 63346:"lo", 63351:"lob", 63352:"lobben", 63353:"lobbes", 63354:"lobbig", 63355:"lobby", 63356:"loboor", 63361:"loc", 63362:"locale", 63363:"locker", 63364:"loco", 63365:"lodder", 63366:"loden", 63411:"lodens", 63412:"loding", 63413:"loeder", 63414:"loef", 63415:"loefde", 63416:"loeide", 63421:"loeien", 63422:"loens", 63423:"loense", 63424:"loep", 63425:"loepen", 63426:"loer", 63431:"loerde", 63432:"loeren", 63433:"loeres", 63434:"loeris", 63435:"loet", 63436:"loeten", 63441:"loeven", 63442:"lof", 63443:"log", 63444:"logde", 63445:"loge", 63446:"logŽ", 63451:"logee", 63452:"logees", 63453:"logen", 63454:"loges", 63455:"logŽs", 63456:"logge", 63461:"loggen", 63462:"logger", 63463:"loggia", 63464:"logica", 63465:"logies", 63466:"logo", 63511:"logo's", 63512:"loipe", 63513:"lok", 63514:"lokaal", 63515:"lokaas", 63516:"lokale", 63521:"loket", 63522:"lokken", 63523:"lokkig", 63524:"lokte", 63525:"lol", 63526:"lolde", 63531:"lolita", 63532:"lollen", 63533:"lollig", 63534:"lolly", 63535:"lom", 63536:"lombok", 63541:"lome", 63542:"lomer", 63543:"lomig", 63544:"lommen", 63545:"lommer", 63546:"lomp", 63551:"lompe", 63552:"lompen", 63553:"lonen", 63554:"long", 63555:"longen", 63556:"lonk", 63561:"lonken", 63562:"lonkte", 63563:"lont", 63564:"lonten", 63565:"lood", 63566:"loodde", 63611:"loodje", 63612:"loods", 63613:"loof", 63614:"loofde", 63615:"loog", 63616:"loogde", 63621:"looi", 63622:"looide", 63623:"looien", 63624:"looier", 63625:"look", 63626:"loom", 63631:"loon", 63632:"loonde", 63633:"loop", 63634:"loopje", 63635:"loops", 63636:"loopse", 63641:"loos", 63642:"loosde", 63643:"loot", 63644:"lootje", 63645:"lootte", 63646:"lopen", 63651:"lopend", 63652:"loper", 63653:"lopers", 63654:"lor", 63655:"lord", 63656:"lorde", 63661:"lork", 63662:"lorken", 63663:"lorre", 63664:"lorren", 63665:"lorres", 63666:"lorrie", 64111:"lorrig", 64112:"lorum", 64113:"los", 64114:"losbol", 64115:"losdag", 64116:"losjes", 64121:"loss", 64122:"lšss", 64123:"losse", 64124:"lossen", 64125:"losser", 64126:"loste", 64131:"losweg", 64132:"lot", 64133:"loten", 64134:"loting", 64135:"lotion", 64136:"lotje", 64141:"lotto", 64142:"lotus", 64143:"louche", 64144:"lounge", 64145:"louter", 64146:"louw", 64151:"louwen", 64152:"loven", 64153:"lover", 64154:"loyaal", 64155:"loyale", 64156:"loze", 64161:"lozen", 64162:"lozer", 64163:"lozing", 64164:"lp", 64165:"lq", 64166:"lr", 64211:"ls", 64212:"lt", 64213:"lu", 64214:"lubben", 64215:"lubde", 64216:"lucht", 64221:"lucide", 64222:"ludiek", 64223:"lues", 64224:"lui", 64225:"luid", 64226:"luidde", 64231:"luide", 64232:"luiden", 64233:"luider", 64234:"luidop", 64235:"luien", 64236:"luier", 64241:"luiers", 64242:"luifel", 64243:"Luik", 64244:"luiken", 64245:"luilak", 64246:"luim", 64251:"luimde", 64252:"luimen", 64253:"luimig", 64254:"luis", 64255:"luisde", 64256:"luit", 64261:"luiten", 64262:"luizen", 64263:"luizig", 64264:"luk", 64265:"lukken", 64266:"lukte", 64311:"lul", 64312:"lulde", 64313:"lullen", 64314:"lullig", 64315:"lummel", 64316:"lunair", 64321:"lunch", 64322:"lunet", 64323:"luns", 64324:"lunsde", 64325:"lunzen", 64326:"lupine", 64331:"lupus", 64332:"luren", 64333:"lurken", 64334:"lurkte", 64335:"lurven", 64336:"lus", 64341:"lussen", 64342:"lust", 64343:"lusten", 64344:"luster", 64345:"lustig", 64346:"lustra", 64351:"lustre", 64352:"lustte", 64353:"lutje", 64354:"lutjes", 64355:"luttel", 64356:"luw", 64361:"luwde", 64362:"luwe", 64363:"luwen", 64364:"luwte", 64365:"lux", 64366:"luxe", 64411:"lv", 64412:"lw", 64413:"lx", 64414:"ly", 64415:"lycea", 64416:"lyceum", 64421:"lychee", 64422:"lycra", 64423:"lymfe", 64424:"lynx", 64425:"lynxen", 64426:"lyriek", 64431:"lysine", 64432:"lysol", 64433:"lz", 64434:"m", 64435:"maag", 64436:"maagd", 64441:"maaide", 64442:"maaien", 64443:"maaier", 64444:"maak", 64445:"maakte", 64446:"maal", 64451:"maalde", 64452:"maan", 64453:"maand", 64454:"maande", 64455:"maar", 64456:"maart", 64461:"maarte", 64462:"maarts", 64463:"maas", 64464:"maasde", 64465:"maat", 64466:"maatje", 64511:"mach", 64512:"macho", 64513:"macht", 64514:"macro", 64515:"madam", 64516:"madame", 64521:"madams", 64522:"made", 64523:"maden", 64524:"madera", 64525:"madras", 64526:"maf", 64531:"maffe", 64532:"maffen", 64533:"maffer", 64534:"maffia", 64535:"mafte", 64536:"magen", 64541:"mager", 64542:"magere", 64543:"maggi", 64544:"magie", 64545:"magi‘r", 64546:"magma", 64551:"magnum", 64552:"Mahdi", 64553:"mail", 64554:"mailen", 64555:"ma•s", 64556:"ma”tre", 64561:"majeur", 64562:"majoor", 64563:"major", 64564:"majors", 64565:"mak", 64566:"maken", 64611:"maker", 64612:"makers", 64613:"makke", 64614:"makker", 64615:"makron", 64616:"mal", 64621:"malaga", 64622:"malde", 64623:"Maleis", 64624:"malen", 64625:"maler", 64626:"malers", 64631:"malie", 64632:"mali‘n", 64633:"malies", 64634:"maling", 64635:"malle", 64636:"mallen", 64641:"maller", 64642:"mals", 64643:"malse", 64644:"malser", 64645:"malta", 64646:"malus", 64651:"maluwe", 64652:"malve", 64653:"malven", 64654:"mam", 64655:"mama", 64656:"mama's", 64661:"mamma", 64662:"mammen", 64663:"mammon", 64664:"mams", 64665:"man", 64666:"manche", 65111:"manco", 65112:"mand", 65113:"mande", 65114:"manden", 65115:"manege", 65116:"manen", 65121:"maner", 65122:"maners", 65123:"manga", 65124:"mangat", 65125:"mangel", 65126:"mango", 65131:"maniak", 65132:"manie", 65133:"manier", 65134:"manies", 65135:"maniok", 65136:"mank", 65141:"manke", 65142:"manken", 65143:"mankte", 65144:"manna", 65145:"mannen", 65146:"mannin", 65151:"manou", 65152:"mans", 65153:"mantel", 65154:"mantra", 65155:"manuur", 65156:"mao•st", 65161:"map", 65162:"mappen", 65163:"marde", 65164:"mare", 65165:"maren", 65166:"marge", 65211:"marges", 65212:"Maria", 65213:"marine", 65214:"mark", 65215:"marken", 65216:"marker", 65221:"markt", 65222:"marlde", 65223:"marlen", 65224:"marmer", 65225:"marmot", 65226:"marot", 65231:"marquŽ", 65232:"marren", 65233:"marron", 65234:"mars", 65235:"marsen", 65236:"marter", 65241:"maseur", 65242:"masker", 65243:"massa", 65244:"mast", 65245:"mastel", 65246:"masten", 65251:"mastte", 65252:"mat", 65253:"match", 65254:"mate", 65255:"matŽ", 65256:"maten", 65261:"mater", 65262:"maters", 65263:"matig", 65264:"matige", 65265:"matje", 65266:"matjes", 65311:"matrak", 65312:"matras", 65313:"matrix", 65314:"matse", 65315:"matsen", 65316:"matses", 65321:"matste", 65322:"matte", 65323:"matten", 65324:"matter", 65325:"mauser", 65326:"mauve", 65331:"mauwde", 65332:"mauwen", 65333:"maxi", 65334:"maxima", 65335:"maxime", 65336:"maya", 65341:"mazen", 65342:"mazzel", 65343:"mb", 65344:"mc", 65345:"md", 65346:"me", 65351:"mede", 65352:"media", 65353:"medici", 65354:"medina", 65355:"medio", 65356:"medium", 65361:"medley", 65362:"medoc", 65363:"medusa", 65364:"mee", 65365:"meel", 65366:"meelde", 65411:"meelij", 65412:"meende", 65413:"meent", 65414:"meer", 65415:"ME'er", 65416:"meerde", 65421:"meers", 65422:"mees", 65423:"meest", 65424:"meeste", 65425:"meet", 65426:"meeuw", 65431:"mf", 65432:"mg", 65433:"mh", 65434:"mi", 65435:"mj", 65436:"mk", 65441:"ml", 65442:"mm", 65443:"mmm", 65444:"mmmm", 65445:"mn", 65446:"mno", 65451:"mo", 65452:"mp", 65453:"mq", 65454:"mr", 65455:"ms", 65456:"mt", 65461:"mu", 65462:"mv", 65463:"mw", 65464:"mx", 65465:"my", 65466:"mz", 65511:"n", 65512:"nb", 65513:"nc", 65514:"nd", 65515:"ne", 65516:"nf", 65521:"ng", 65522:"nh", 65523:"ni", 65524:"nj", 65525:"nk", 65526:"nl", 65531:"nm", 65532:"nn", 65533:"nnn", 65534:"nnnn", 65535:"no", 65536:"nop", 65541:"np", 65542:"nq", 65543:"nr", 65544:"ns", 65545:"nt", 65546:"nu", 65551:"nv", 65552:"nw", 65553:"nx", 65554:"ny", 65555:"nz", 65556:"o", 65561:"ob", 65562:"oc", 65563:"od", 65564:"oe", 65565:"of", 65566:"og", 65611:"oh", 65612:"oi", 65613:"oj", 65614:"ok", 65615:"ol", 65616:"om", 65621:"on", 65622:"oo", 65623:"ooo", 65624:"oooo", 65625:"op", 65626:"opq", 65631:"oq", 65632:"or", 65633:"os", 65634:"ot", 65635:"ou", 65636:"ov", 65641:"ow", 65642:"ox", 65643:"oy", 65644:"oz", 65645:"p", 65646:"pb", 65651:"pc", 65652:"pd", 65653:"pe", 65654:"pf", 65655:"pg", 65656:"ph", 65661:"pi", 65662:"pj", 65663:"pk", 65664:"pl", 65665:"pm", 65666:"pn", 66111:"po", 66112:"pp", 66113:"ppp", 66114:"pppp", 66115:"pq", 66116:"pqr", 66121:"pr", 66122:"ps", 66123:"pt", 66124:"pu", 66125:"pv", 66126:"pw", 66131:"px", 66132:"py", 66133:"pz", 66134:"q", 66135:"qb", 66136:"qc", 66141:"qd", 66142:"qe", 66143:"qf", 66144:"qg", 66145:"qh", 66146:"qi", 66151:"qj", 66152:"qk", 66153:"ql", 66154:"qm", 66155:"qn", 66156:"qo", 66161:"qp", 66162:"qq", 66163:"qqq", 66164:"qqqq", 66165:"qr", 66166:"qrs", 66211:"qs", 66212:"qt", 66213:"qu", 66214:"qv", 66215:"qw", 66216:"qx", 66221:"qy", 66222:"qz", 66223:"r", 66224:"rb", 66225:"rc", 66226:"rd", 66231:"re", 66232:"rf", 66233:"rg", 66234:"rh", 66235:"ri", 66236:"rj", 66241:"rk", 66242:"rl", 66243:"rm", 66244:"rn", 66245:"ro", 66246:"rp", 66251:"rq", 66252:"rr", 66253:"rrr", 66254:"rrrr", 66255:"rs", 66256:"rst", 66261:"rt", 66262:"ru", 66263:"rv", 66264:"rw", 66265:"rx", 66266:"ry", 66311:"rz", 66312:"s", 66313:"sb", 66314:"sc", 66315:"sd", 66316:"se", 66321:"sf", 66322:"sg", 66323:"sh", 66324:"si", 66325:"sj", 66326:"sk", 66331:"sl", 66332:"sm", 66333:"sn", 66334:"so", 66335:"sp", 66336:"sq", 66341:"sr", 66342:"ss", 66343:"sss", 66344:"ssss", 66345:"st", 66346:"stu", 66351:"su", 66352:"sv", 66353:"sw", 66354:"sx", 66355:"sy", 66356:"sz", 66361:"t", 66362:"tb", 66363:"tc", 66364:"td", 66365:"te", 66366:"tf", 66411:"tg", 66412:"th", 66413:"ti", 66414:"tj", 66415:"tk", 66416:"tl", 66421:"tm", 66422:"tn", 66423:"to", 66424:"tp", 66425:"tq", 66426:"tr", 66431:"ts", 66432:"tt", 66433:"ttt", 66434:"tttt", 66435:"tu", 66436:"tuv", 66441:"tv", 66442:"tw", 66443:"tx", 66444:"ty", 66445:"tz", 66446:"u", 66451:"ub", 66452:"uc", 66453:"ud", 66454:"ue", 66455:"uf", 66456:"ug", 66461:"uh", 66462:"ui", 66463:"uj", 66464:"uk", 66465:"ul", 66466:"um", 66511:"un", 66512:"uo", 66513:"up", 66514:"uq", 66515:"ur", 66516:"us", 66521:"ut", 66522:"uu", 66523:"uuu", 66524:"uuuu", 66525:"uv", 66526:"uvw", 66531:"uw", 66532:"ux", 66533:"uy", 66534:"uz", 66535:"v", 66536:"vb", 66541:"vc", 66542:"vd", 66543:"ve", 66544:"vf", 66545:"vg", 66546:"vh", 66551:"vi", 66552:"vj", 66553:"vk", 66554:"vl", 66555:"vm", 66556:"vn", 66561:"vo", 66562:"vp", 66563:"vq", 66564:"vr", 66565:"vs", 66566:"vt", 66611:"vu", 66612:"vv", 66613:"vvv", 66614:"vvvv", 66615:"vw", 66616:"vwx", 66621:"vx", 66622:"vy", 66623:"vz", 66624:"w", 66625:"wb", 66626:"wc", 66631:"wd", 66632:"we", 66633:"wf", 66634:"wg", 66635:"wh", 66636:"wi", 66641:"wj", 66642:"wk", 66643:"wl", 66644:"wm", 66645:"wn", 66646:"wo", 66651:"wp", 66652:"wq", 66653:"wr", 66654:"ws", 66655:"wt", 66656:"wu", 66661:"wv", 66662:"ww", 66663:"www", 66664:"wwww", 66665:"wx", 66666:"wxy"};
'use strict'; /*jshint -W106 */// Disable underscore_case warnings in this file var chai = require( 'chai' ); var expect = chai.expect; var LinesCollection = require( '../../../public/js/collections/lines' ); var LineModel = require( '../../../public/js/models/line' ); describe( 'LinesCollection', function() { var lines; beforeEach(function() { lines = new LinesCollection([{ slug: 'a', name: 'Line 1' }, { slug: 'b', name: 'Line 2' }, { slug: 'c', name: 'Line 3' }]); }); it( 'creates LineModel instances for each provided data object', function() { expect( lines.length ).to.equal( 3 ); lines.forEach(function( line ) { expect( line ).to.be.an.instanceof( LineModel ); }); }); });
// Karma configuration // http://karma-runner.github.io/0.10/config/configuration-file.html module.exports = function(config) { config.set({ basePath: '', frameworks: ['jasmine'], files: [ 'app/bower_components/angular/angular.js', 'app/bower_components/angular-mocks/angular-mocks.js', 'app/bower_components/angular-cookies/angular-cookies.js', 'app/scripts/*.js', 'app/scripts/**/*.js', 'test/mock/**/*.js', 'test/spec/**/*.js' ], exclude: [], port: 8080, logLevel: config.LOG_INFO, // LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG autoWatch: true, browsers: ['PhantomJS'], singleRun: false }); };
import DS from 'ember-data'; export default DS.Model.extend({ name: DS.attr('string'), url: DS.attr('string'), parentId: DS.attr('number'), parent: DS.belongsTo('category', { inverse: null }) });
var assert = require('assert'); var optional = require('../src/optional'); describe('optional', function(){ it('1. arguments to object', function(){ function test(){ return optional([ { id: 'int' }, { name: 'string' }, { id: 'int', name: 'string' } ], arguments); } assert.deepEqual({ id: 1 }, test(1)); assert.deepEqual({ name: 'optional' }, test('optional')); assert.deepEqual({ id: 0, name: 'tnRaro' }, test(0, 'tnRaro')); }); it('2. .', function(){ function People(age){ this.age = age; } People.prototype.howOldAreYou = optional([ { }, { callback: 'function' } ], function(args){ var callback = args.callback; if(callback != null) callback.call(this, this.age); return this.age; }); var kaga = new People(21); assert.equal(21, kaga.howOldAreYou()); kaga.howOldAreYou(function(age){ assert.equal(21, age); assert.equal(age, this.age); }); }); });
function add_to_cart(id) { var key = 'product_' + id; var x = window.localStorage.getItem(key); x = x * 1 + 1; window.localStorage.setItem(key, x); // вывод количество товаров в корзине // alert('Колличестов пицц: ' + cart_get_number_of_items()); update_orders_input(); update_orders_button(); } function update_orders_input() { var orders = cart_get_orders(); $('#orders_input').val(orders); } function update_orders_button() { var text = 'Корзина(' + cart_get_number_of_items() + ')'; $('#orders_button').val(text); } function cart_get_number_of_items() { var cnt = 0; for(var i = 0; i < window.localStorage.length; i++) { var key = window.localStorage.key(i); // получаем ключ var value = window.localStorage.getItem(key); // получаем значение, fаналог ruby: hh[key] = x if(key.indexOf('product_') == 0) { cnt = cnt + value * 1 ; } } return cnt; } function cart_get_orders() { var orders = ''; for(var i = 0; i < window.localStorage.length; i++) { var key = window.localStorage.key(i); // получаем ключ var value = window.localStorage.getItem(key); // получаем значение, fаналог ruby: hh[key] = x if(key.indexOf('product_') == 0) { orders = orders + key + '=' + value + ','; } } return orders; } function cancel_order() { window.localStorage.clear(); update_orders_input(); update_orders_button(); $('#cart').text('Ваша корзина очищена'); return false; }
'use strict'; var d = require('dejavu'), automaton = require('automaton').create(), BaseModule = require('../BaseModule') ; var Module = d.Class.declare({ $name: 'Module', $extends: BaseModule, create: function (name, options) { this._assertProject(); // create spoon base module by running the autofile // use the generator autofile or the local one if not available var autofile = process.cwd() + '/tasks/generators/module_create.js'; if (!this._fileExists(autofile)) { autofile = '../../plugins/spoon/module_create'; } autofile = require(autofile); options.name = name; automaton .run(autofile, options, function (err) { process.exit(err ? 1 : 0); }) .pipe(process.stdout); }, // -------------------------------------------------- // -------------------------------------------------- getCommands: function () { return { 'create <name>': { description: 'Create a new module', options: [ ['-f, --force', 'Force the creation of the module, even if the module already exists.', null, Boolean] ] } }; } }); module.exports = Module;
/* irc.js - Node JS IRC client library (C) Copyright Martyn Smith 2010 This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this library. If not, see <http://www.gnu.org/licenses/>. */ exports.Client = Client; var net = require('net'); var tls = require('tls'); var util = require('util'); var colors = require('./colors'); exports.colors = colors; var replyFor = require('./codes'); function Client(server, nick, opt) { var self = this; self.opt = { server: server, nick: nick, password: null, userName: 'ChaseBot', realName: 'ChaseBot', port: 6667, debug: false, showErrors: false, autoRejoin: true, autoConnect: true, channels: [], retryCount: null, retryDelay: 2000, secure: false, selfSigned: false, certExpired: false, floodProtection: false, floodProtectionDelay: 1000, sasl: false, stripColors: false, channelPrefixes: "&#", messageSplit: 512 }; // Features supported by the server // (initial values are RFC 1459 defaults. Zeros signify // no default or unlimited value) self.supported = { channel: { idlength: [], length: 200, limit: [], modes: { a: '', b: '', c: '', d: ''}, types: self.opt.channelPrefixes }, kicklength: 0, maxlist: [], maxtargets: [], modes: 3, nicklength: 9, topiclength: 0, usermodes: '' }; if (typeof arguments[2] == 'object') { var keys = Object.keys(self.opt); for (var i = 0; i < keys.length; i++) { var k = keys[i]; if (arguments[2][k] !== undefined) self.opt[k] = arguments[2][k]; } } if (self.opt.floodProtection) { self.activateFloodProtection(); } // TODO - fail if nick or server missing // TODO - fail if username has a space in it if (self.opt.autoConnect === true) { self.connect(); } self.addListener("raw", function (message) { // {{{ switch ( message.command ) { case "rpl_welcome": // Set nick to whatever the server decided it really is // (normally this is because you chose something too long and // the server has shortened it self.nick = message.args[0]; self.emit('registered', message); break; case "rpl_myinfo": self.supported.usermodes = message.args[3]; break; case "rpl_isupport": message.args.forEach(function(arg) { var match; if ( match = arg.match(/([A-Z]+)=(.*)/) ) { var param = match[1]; var value = match[2]; switch(param) { case 'CHANLIMIT': value.split(',').forEach(function(val) { val = val.split(':'); self.supported.channel.limit[val[0]] = parseInt(val[1]); }); break; case 'CHANMODES': value = value.split(','); var type = ['a','b','c','d'] for (var i = 0; i < type.length; i++) { self.supported.channel.modes[type[i]] += value[i]; } break; case 'CHANTYPES': self.supported.channel.types = value; break; case 'CHANNELLEN': self.supported.channel.length = parseInt(value); break; case 'IDCHAN': value.split(',').forEach(function(val) { val = val.split(':'); self.supported.channel.idlength[val[0]] = val[1]; }); break; case 'KICKLEN': self.supported.kicklength = value; break; case 'MAXLIST': value.split(',').forEach(function(val) { val = val.split(':'); self.supported.maxlist[val[0]] = parseInt(val[1]); }); break; case 'NICKLEN': self.supported.nicklength = parseInt(value); break; case 'PREFIX': if (match = value.match(/\((.*?)\)(.*)/)) { match[1] = match[1].split(''); match[2] = match[2].split(''); while ( match[1].length ) { self.modeForPrefix[match[2][0]] = match[1][0]; self.supported.channel.modes.b += match[1][0]; self.prefixForMode[match[1].shift()] = match[2].shift(); } } break; case 'STATUSMSG': break; case 'TARGMAX': value.split(',').forEach(function(val) { val = val.split(':'); val[1] = (!val[1]) ? 0 : parseInt(val[1]); self.supported.maxtargets[val[0]] = val[1]; }); break; case 'TOPICLEN': self.supported.topiclength = parseInt(value); break; } } }); break; case "rpl_yourhost": case "rpl_created": case "rpl_luserclient": case "rpl_luserop": case "rpl_luserchannels": case "rpl_luserme": case "rpl_localusers": case "rpl_globalusers": case "rpl_statsconn": // Random welcome crap, ignoring break; case "err_nicknameinuse": if ( typeof(self.opt.nickMod) == 'undefined' ) self.opt.nickMod = 0; self.opt.nickMod++; self.send("NICK", self.opt.nick + self.opt.nickMod); self.nick = self.opt.nick + self.opt.nickMod; break; case "PING": self.send("PONG", message.args[0]); self.emit('ping', message.args[0]); break; case "PONG": self.emit("pong", message.args[0]); break; case "NOTICE": var from = message.nick; var to = message.args[0]; if (!to) { to = null; } var text = message.args[1] || ''; if (text[0] === '\u0001' && text.lastIndexOf('\u0001') > 0) { self._handleCTCP(from, to, text, 'notice', message); break; } self.emit('notice', from, to, text, message); if ( self.opt.debug && to == self.nick ) util.log('GOT NOTICE from ' + (from?'"'+from+'"':'the server') + ': "' + text + '"'); break; case "MODE": if ( self.opt.debug ) util.log("MODE: " + message.args[0] + " sets mode: " + message.args[1]); var channel = self.chanData(message.args[0]); if ( !channel ) break; var modeList = message.args[1].split(''); var adding = true; var modeArgs = message.args.slice(2); modeList.forEach(function(mode) { if ( mode == '+' ) { adding = true; return; } if ( mode == '-' ) { adding = false; return; } if ( mode in self.prefixForMode ) { // channel user modes var user = modeArgs.shift(); if ( adding ) { if ( channel.users[user].indexOf(self.prefixForMode[mode]) === -1 ) channel.users[user] += self.prefixForMode[mode]; self.emit('+mode', message.args[0], message.nick, mode, user, message); } else { channel.users[user] = channel.users[user].replace(self.prefixForMode[mode], ''); self.emit('-mode', message.args[0], message.nick, mode, user, message); } } else { var modeArg; // channel modes if ( mode.match(/^[bkl]$/) ) { modeArg = modeArgs.shift(); if ( modeArg.length === 0 ) modeArg = undefined; } // TODO - deal nicely with channel modes that take args if ( adding ) { if ( channel.mode.indexOf(mode) === -1 ) channel.mode += mode; self.emit('+mode', message.args[0], message.nick, mode, modeArg, message); } else { channel.mode = channel.mode.replace(mode, ''); self.emit('-mode', message.args[0], message.nick, mode, modeArg, message); } } }); break; case "NICK": if ( message.nick == self.nick ) // the user just changed their own nick self.nick = message.args[0]; if ( self.opt.debug ) util.log("NICK: " + message.nick + " changes nick to " + message.args[0]); var channels = []; // TODO better way of finding what channels a user is in? Object.keys(self.chans).forEach(function(channame) { var channel = self.chans[channame]; channel.users[message.args[0]] = channel.users[message.nick]; delete channel.users[message.nick]; channels.push(channame); }); // old nick, new nick, channels self.emit('nick', message.nick, message.args[0], channels, message); break; case "rpl_motdstart": self.motd = message.args[1] + "\n"; break; case "rpl_motd": self.motd += message.args[1] + "\n"; break; case "rpl_endofmotd": case "err_nomotd": self.motd += message.args[1] + "\n"; self.emit('motd', self.motd); break; case "rpl_namreply": var channel = self.chanData(message.args[2]); var users = message.args[3].trim().split(/ +/); if ( channel ) { users.forEach(function (user) { var match = user.match(/^(.)(.*)$/); if ( match ) { if ( match[1] in self.modeForPrefix ) { channel.users[match[2]] = match[1]; } else { channel.users[match[1] + match[2]] = ''; } } }); } break; case "rpl_endofnames": var channel = self.chanData(message.args[1]); if ( channel ) { self.emit('names', message.args[1], channel.users); self.emit('names' + message.args[1], channel.users); self.send('MODE', message.args[1]); } break; case "rpl_topic": var channel = self.chanData(message.args[1]); if ( channel ) { channel.topic = message.args[2]; } break; case "rpl_away": self._addWhoisData(message.args[1], 'away', message.args[2], true); break; case "rpl_whoisuser": self._addWhoisData(message.args[1], 'user', message.args[2]); self._addWhoisData(message.args[1], 'host', message.args[3]); self._addWhoisData(message.args[1], 'realname', message.args[5]); break; case "rpl_whoisidle": self._addWhoisData(message.args[1], 'idle', message.args[2]); break; case "rpl_whoischannels": self._addWhoisData(message.args[1], 'channels', message.args[2].trim().split(/\s+/)); // TODO - clean this up? break; case "rpl_whoisserver": self._addWhoisData(message.args[1], 'server', message.args[2]); self._addWhoisData(message.args[1], 'serverinfo', message.args[3]); break; case "rpl_whoisoperator": self._addWhoisData(message.args[1], 'operator', message.args[2]); break; case "330": // rpl_whoisaccount? self._addWhoisData(message.args[1], 'account', message.args[2]); self._addWhoisData(message.args[1], 'accountinfo', message.args[3]); break; case "rpl_endofwhois": self.emit('whois', self._clearWhoisData(message.args[1])); break; case "rpl_liststart": self.channellist = []; self.emit('channellist_start'); break; case "rpl_list": var channel = { name: message.args[1], users: message.args[2], topic: message.args[3], }; self.emit('channellist_item', channel); self.channellist.push(channel); break; case "rpl_listend": self.emit('channellist', self.channellist); break; case "rpl_topicwhotime": var channel = self.chanData(message.args[1]); if ( channel ) { channel.topicBy = message.args[2]; // channel, topic, nick self.emit('topic', message.args[1], channel.topic, channel.topicBy, message); } break; case "TOPIC": // channel, topic, nick self.emit('topic', message.args[0], message.args[1], message.nick, message); var channel = self.chanData(message.args[0]); if ( channel ) { channel.topic = message.args[1]; channel.topicBy = message.nick; } break; case "rpl_channelmodeis": var channel = self.chanData(message.args[1]); if ( channel ) { channel.mode = message.args[2]; } break; case "rpl_creationtime": var channel = self.chanData(message.args[1]); if ( channel ) { channel.created = message.args[2]; } break; case "JOIN": // channel, who if ( self.nick == message.nick ) { self.chanData(message.args[0], true); } else { var channel = self.chanData(message.args[0]); if (channel && channel.users) { channel.users[message.nick] = ''; } } self.emit('join', message.args[0], message.nick, message); self.emit('join' + message.args[0], message.nick, message); if ( message.args[0] != message.args[0].toLowerCase() ) { self.emit('join' + message.args[0].toLowerCase(), message.nick, message); } break; case "PART": // channel, who, reason self.emit('part', message.args[0], message.nick, message.args[1], message); self.emit('part' + message.args[0], message.nick, message.args[1], message); if ( message.args[0] != message.args[0].toLowerCase() ) { self.emit('part' + message.args[0].toLowerCase(), message.nick, message.args[1], message); } if ( self.nick == message.nick ) { var channel = self.chanData(message.args[0]); delete self.chans[channel.key]; } else { var channel = self.chanData(message.args[0]); if (channel && channel.users) { delete channel.users[message.nick]; } } break; case "KICK": // channel, who, by, reason self.emit('kick', message.args[0], message.args[1], message.nick, message.args[2], message); self.emit('kick' + message.args[0], message.args[1], message.nick, message.args[2], message); if ( message.args[0] != message.args[0].toLowerCase() ) { self.emit('kick' + message.args[0].toLowerCase(), message.args[1], message.nick, message.args[2], message); } if ( self.nick == message.args[1] ) { var channel = self.chanData(message.args[0]); delete self.chans[channel.key]; } else { var channel = self.chanData(message.args[0]); if (channel && channel.users) { delete channel.users[message.args[1]]; } } break; case "KILL": var nick = message.args[0]; var channels = []; Object.keys(self.chans).forEach(function(channame) { var channel = self.chans[channame]; channels.push(channame); delete channel.users[nick]; }); self.emit('kill', nick, message.args[1], channels, message); break; case "PRIVMSG": var from = message.nick; var to = message.args[0]; var text = message.args[1] || ''; if (text[0] === '\u0001' && text.lastIndexOf('\u0001') > 0) { self._handleCTCP(from, to, text, 'privmsg', message); break; } self.emit('message', from, to, text, message); if ( self.supported.channel.types.indexOf(to.charAt(0)) !== -1 ) { self.emit('message#', from, to, text, message); self.emit('message' + to, from, text, message); if ( to != to.toLowerCase() ) { self.emit('message' + to.toLowerCase(), from, text, message); } } if ( to == self.nick ) self.emit('pm', from, text, message); if ( self.opt.debug && to == self.nick ) util.log('GOT MESSAGE from ' + from + ': ' + text); break; case "INVITE": var from = message.nick; var to = message.args[0]; var channel = message.args[1]; self.emit('invite', channel, from, message); break; case "QUIT": if ( self.opt.debug ) util.log("QUIT: " + message.prefix + " " + message.args.join(" ")); if ( self.nick == message.nick ) { // TODO handle? break; } // handle other people quitting var channels = []; // TODO better way of finding what channels a user is in? Object.keys(self.chans).forEach(function(channame) { var channel = self.chans[channame]; delete channel.users[message.nick]; channels.push(channame); }); // who, reason, channels self.emit('quit', message.nick, message.args[0], channels, message); break; // for sasl case "CAP": if ( message.args[0] === '*' && message.args[1] === 'ACK' && message.args[2] === 'sasl ' ) // there's a space after sasl self.send("AUTHENTICATE", "PLAIN"); break; case "AUTHENTICATE": if ( message.args[0] === '+' ) self.send("AUTHENTICATE", new Buffer( self.opt.nick + '\0' + self.opt.userName + '\0' + self.opt.password ).toString('base64')); break; case "903": self.send("CAP", "END"); break; case "err_umodeunknownflag": if ( self.opt.showErrors ) util.log("\u001b[01;31mERROR: " + util.inspect(message) + "\u001b[0m"); break; case "err_erroneusnickname": if ( self.opt.showErrors ) util.log("\033[01;31mERROR: " + util.inspect(message) + "\033[0m"); self.emit('error', message); break; default: if ( message.commandType == 'error' ) { self.emit('error', message); if ( self.opt.showErrors ) util.log("\u001b[01;31mERROR: " + util.inspect(message) + "\u001b[0m"); } else { if ( self.opt.debug ) util.log("\u001b[01;31mUnhandled message: " + util.inspect(message) + "\u001b[0m"); break; } } }); // }}} self.addListener('kick', function(channel, who, by, reason) { if ( self.opt.autoRejoin ) self.send.apply(self, ['JOIN'].concat(channel.split(' '))); }); self.addListener('motd', function (motd) { self.opt.channels.forEach(function(channel) { self.send.apply(self, ['JOIN'].concat(channel.split(' '))); }); }); process.EventEmitter.call(this); } util.inherits(Client, process.EventEmitter); Client.prototype.conn = null; Client.prototype.prefixForMode = {}; Client.prototype.modeForPrefix = {}; Client.prototype.chans = {}; Client.prototype._whoisData = {}; Client.prototype.chanData = function( name, create ) { // {{{ var key = name.toLowerCase(); if ( create ) { this.chans[key] = this.chans[key] || { key: key, serverName: name, users: {}, mode: '', }; } return this.chans[key]; } // }}} Client.prototype.connect = function ( retryCount, callback ) { // {{{ if ( typeof(retryCount) === 'function' ) { callback = retryCount; retryCount = undefined; } retryCount = retryCount || 0; if (typeof(callback) === 'function') { this.once('registered', callback); } var self = this; self.chans = {}; // try to connect to the server if (self.opt.secure) { var creds = self.opt.secure; if (typeof self.opt.secure !== 'object') { creds = {rejectUnauthorized: !self.opt.selfSigned}; } self.conn = tls.connect(self.opt.port, self.opt.server, creds, function() { // callback called only after successful socket connection self.conn.connected = true; if (self.conn.authorized || (self.opt.selfSigned && (self.conn.authorizationError === 'DEPTH_ZERO_SELF_SIGNED_CERT' || self.conn.authorizationError === 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' || self.conn.authorizationError === 'SELF_SIGNED_CERT_IN_CHAIN')) || (self.opt.certExpired && self.conn.authorizationError === 'CERT_HAS_EXPIRED')) { // authorization successful self.conn.setEncoding('utf-8'); if ( self.opt.certExpired && self.conn.authorizationError === 'CERT_HAS_EXPIRED' ) { util.log('Connecting to server with expired certificate'); } if ( self.opt.password !== null ) { self.send( "PASS", self.opt.password ); } if ( self.opt.debug ) util.log('Sending irc NICK/USER'); self.send("NICK", self.opt.nick); self.nick = self.opt.nick; self.send("USER", self.opt.userName, 8, "*", self.opt.realName); self.emit("connect"); } else { // authorization failed util.log(self.conn.authorizationError); } }); }else { self.conn = net.createConnection(self.opt.port, self.opt.server); } self.conn.requestedDisconnect = false; self.conn.setTimeout(0); self.conn.setEncoding('utf8'); self.conn.addListener("connect", function () { if ( self.opt.sasl ) { // see http://ircv3.atheme.org/extensions/sasl-3.1 self.send("CAP REQ", "sasl"); } else if ( self.opt.password !== null ) { self.send( "PASS", self.opt.password ); } self.send("NICK", self.opt.nick); self.nick = self.opt.nick; self.send("USER", self.opt.userName, 8, "*", self.opt.realName); self.emit("connect"); }); var buffer = ''; self.conn.addListener("data", function (chunk) { buffer += chunk; var lines = buffer.split("\r\n"); buffer = lines.pop(); lines.forEach(function (line) { var message = parseMessage(line, self.opt.stripColors); try { self.emit('raw', message); } catch ( err ) { if ( !self.conn.requestedDisconnect ) { throw err; } } }); }); self.conn.addListener("end", function() { if ( self.opt.debug ) util.log('Connection got "end" event'); }); self.conn.addListener("close", function() { if ( self.opt.debug ) util.log('Connection got "close" event'); if ( self.conn.requestedDisconnect ) return; if ( self.opt.debug ) util.log('Disconnected: reconnecting'); if ( self.opt.retryCount !== null && retryCount >= self.opt.retryCount ) { if ( self.opt.debug ) { util.log( 'Maximum retry count (' + self.opt.retryCount + ') reached. Aborting' ); } self.emit( 'abort', self.opt.retryCount ); return; } if ( self.opt.debug ) { util.log( 'Waiting ' + self.opt.retryDelay + 'ms before retrying' ); } setTimeout( function() { self.connect( retryCount + 1 ); }, self.opt.retryDelay ); }); self.conn.addListener("error", function(exception) { self.emit("netError", exception); }); }; // }}} Client.prototype.disconnect = function ( message, callback ) { // {{{ if ( typeof(message) === 'function' ) { callback = message; message = undefined; } message = message || "node-irc says goodbye"; var self = this; if ( self.conn.readyState == 'open' ) { var sendFunction; if (self.opt.floodProtection) { sendFunction = self._sendImmediate; self._clearCmdQueue(); } else { sendFunction = self.send; } sendFunction.call(self, "QUIT", message); } self.conn.requestedDisconnect = true; if (typeof(callback) === 'function') { self.conn.once('end', callback); } self.conn.end(); }; // }}} Client.prototype.send = function(command) { // {{{ var args = Array.prototype.slice.call(arguments); // Note that the command arg is included in the args array as the first element if ( args[args.length-1].match(/\s/) || args[args.length-1].match(/^:/) || args[args.length-1] === "" ) { args[args.length-1] = ":" + args[args.length-1]; } if ( this.opt.debug ) util.log('SEND: ' + args.join(" ")); if ( ! this.conn.requestedDisconnect ) { this.conn.write(args.join(" ") + "\r\n"); } }; // }}} Client.prototype.activateFloodProtection = function(interval) { // {{{ var cmdQueue = [], safeInterval = interval || this.opt.floodProtectionDelay, self = this, origSend = this.send, dequeue; // Wrapper for the original function. Just put everything to on central // queue. this.send = function() { cmdQueue.push(arguments); }; this._sendImmediate = function () { origSend.apply(self, arguments); } this._clearCmdQueue = function () { cmdQueue = []; } dequeue = function() { var args = cmdQueue.shift(); if (args) { origSend.apply(self, args); } }; // Slowly unpack the queue without flooding. setInterval(dequeue, safeInterval); dequeue(); }; // }}} Client.prototype.join = function(channel, callback) { // {{{ var channelName = channel.split(' ')[0]; this.once('join' + channelName, function () { // if join is successful, add this channel to opts.channels // so that it will be re-joined upon reconnect (as channels // specified in options are) if (this.opt.channels.indexOf(channel) == -1) { this.opt.channels.push(channel); } if ( typeof(callback) == 'function' ) { return callback.apply(this, arguments); } }); this.send.apply(this, ['JOIN'].concat(channel.split(' '))); } // }}} Client.prototype.part = function(channel, message, callback) { // {{{ if ( typeof(message) === 'function' ) { callback = message; message = undefined; } if ( typeof(callback) == 'function' ) { this.once('part' + channel, callback); } // remove this channel from this.opt.channels so we won't rejoin // upon reconnect if (this.opt.channels.indexOf(channel) != -1) { this.opt.channels.splice(this.opt.channels.indexOf(channel), 1); } if (message) { this.send('PART', channel, message); } else { this.send('PART', channel); } } // }}} Client.prototype.say = function(target, text) { // {{{ var self = this; if (typeof text !== 'undefined') { text.toString().split(/\r?\n/).filter(function(line) { return line.length > 0; }).forEach(function(line) { var r = new RegExp(".{1," + self.opt.messageSplit + "}", "g"); while ((messagePart = r.exec(line)) != null) { self.send('PRIVMSG', target, messagePart[0]); self.emit('selfMessage', target, messagePart[0]); } }); } } // }}} Client.prototype.action = function(channel, text) { // {{{ var self = this; if (typeof text !== 'undefined') { text.toString().split(/\r?\n/).filter(function(line) { return line.length > 0; }).forEach(function(line) { self.say(channel, '\u0001ACTION ' + line + '\u0001'); }); } } // }}} Client.prototype.notice = function(target, text) { // {{{ this.send('NOTICE', target, text); } // }}} Client.prototype.whois = function(nick, callback) { // {{{ if ( typeof callback === 'function' ) { var callbackWrapper = function(info) { if ( info.nick == nick ) { this.removeListener('whois', callbackWrapper); return callback.apply(this, arguments); } }; this.addListener('whois', callbackWrapper); } this.send('WHOIS', nick); } // }}} Client.prototype.list = function() { // {{{ var args = Array.prototype.slice.call(arguments, 0); args.unshift('LIST'); this.send.apply(this, args); } // }}} Client.prototype._addWhoisData = function(nick, key, value, onlyIfExists) { // {{{ if ( onlyIfExists && !this._whoisData[nick] ) return; this._whoisData[nick] = this._whoisData[nick] || {nick: nick}; this._whoisData[nick][key] = value; } // }}} Client.prototype._clearWhoisData = function(nick) { // {{{ // Ensure that at least the nick exists before trying to return this._addWhoisData(nick, 'nick', nick); var data = this._whoisData[nick]; delete this._whoisData[nick]; return data; } // }}} Client.prototype._handleCTCP = function(from, to, text, type, message) { text = text.slice(1) text = text.slice(0, text.indexOf('\u0001')) var parts = text.split(' ') this.emit('ctcp', from, to, text, type, message) this.emit('ctcp-'+type, from, to, text, message) if (type === 'privmsg' && text === 'VERSION') this.emit('ctcp-version', from, to, message) if (parts[0] === 'ACTION' && parts.length > 1) this.emit('action', from, to, parts.slice(1).join(' '), message) if (parts[0] === 'PING' && type === 'privmsg' && parts.length > 1) this.ctcp(from, 'notice', text) } Client.prototype.ctcp = function(to, type, text) { return this[type === 'privmsg' ? 'say' : 'notice'](to, '\1'+text+'\1'); } /* * parseMessage(line, stripColors) * * takes a raw "line" from the IRC server and turns it into an object with * useful keys */ function parseMessage(line, stripColors) { // {{{ var message = {}; var match; if (stripColors) { line = line.replace(/[\x02\x1f\x16\x0f]|\x03\d{0,2}(?:,\d{0,2})?/g, ""); } // Parse prefix if ( match = line.match(/^:([^ ]+) +/) ) { message.prefix = match[1]; line = line.replace(/^:[^ ]+ +/, ''); if ( match = message.prefix.match(/^([_a-zA-Z0-9\[\]\\`^{}|-]*)(!([^@]+)@(.*))?$/) ) { message.nick = match[1]; message.user = match[3]; message.host = match[4]; } else { message.server = message.prefix; } } // Parse command match = line.match(/^([^ ]+) */); message.command = match[1]; message.rawCommand = match[1]; message.commandType = 'normal'; line = line.replace(/^[^ ]+ +/, ''); if ( replyFor[message.rawCommand] ) { message.command = replyFor[message.rawCommand].name; message.commandType = replyFor[message.rawCommand].type; } message.args = []; var middle, trailing; // Parse parameters if ( line.search(/^:|\s+:/) != -1 ) { match = line.match(/(.*?)(?:^:|\s+:)(.*)/); middle = match[1].trimRight(); trailing = match[2]; } else { middle = line; } if ( middle.length ) message.args = middle.split(/ +/); if ( typeof(trailing) != 'undefined' && trailing.length ) message.args.push(trailing); return message; } // }}} exports.parseMessage = parseMessage;
module.exports = function() { Object.defineProperty(Structure.prototype, 'memory', { get: function() { if (_.isUndefined(Memory.structures)) { Memory.structures = {}; } if (!_.isObject(Memory.structures)) { return undefined; } return Memory.structures[this.id] = Memory.structures[this.id] || {}; }, set: function(value) { if (_.isUndefined(Memory.structures)) { Memory.structures = {}; } if (!_.isObject(Memory.structures)) { throw new Error('Could not set source memory'); } Memory.structures[this.id] = value; } }); Structure.prototype.energy_stored = function() { return this.store ? this.store[RESOURCE_ENERGY] : (this.energy || 0); }; Structure.prototype.has_energy = function() { return this.energy_stored() > 0; }; Structure.prototype.has_energy_capacity = function() { return this.store && this.store[RESOURCE_ENERGY] < this.storeCapacity || this.energy < this.energyCapacity; }; Structure.prototype.is_controller = function() { return this.structureType == STRUCTURE_CONTROLLER; }; Structure.prototype.is_spawn = function() { return this.structureType == STRUCTURE_SPAWN; }; Structure.prototype.is_extension = function() { return this.structureType == STRUCTURE_EXTENSION; }; Structure.prototype.is_tower = function() { return this.structureType == STRUCTURE_TOWER; }; Structure.prototype.is_storage = function() { return this.structureType == STRUCTURE_STORAGE; }; Structure.prototype.is_container = function() { return this.structureType == STRUCTURE_CONTAINER; }; Structure.prototype.is_link = function() { return this.structureType == STRUCTURE_LINK; }; Structure.prototype.is_road = function() { return this.structureType == STRUCTURE_ROAD; }; Structure.prototype.is_rampart = function() { return this.structureType == STRUCTURE_RAMPART; }; Structure.prototype.is_supply_dropoff = function() { return this.my && this.is_storage() || this.my && this.is_link() && this.is_export() || this.is_container() && this.is_import(); }; Structure.prototype.is_supply_pickup = function() { return this.is_container() && this.is_export(); }; Structure.prototype.needs_hauler = function() { return this.my && this.is_import() && this.is_link() || this.is_export() && this.is_container(); }; Structure.prototype.needs_custodian = function() { return this.my && (this.is_storage() || this.is_spawn()); }; Structure.prototype.is_supply = function() { return this.my && this.is_storage() || this.my && this.is_link() && this.is_import() || this.is_container() && this.is_export(); }; Structure.prototype.is_import = function() { if (_.isUndefined(this.memory.type)) { this.classify_importer_exporter(); } return this.memory.type == 'importer'; }; Structure.prototype.is_export = function() { if (_.isUndefined(this.memory.type)) { this.classify_importer_exporter(); } return this.memory.type == 'exporter'; }; Structure.prototype.classify_importer_exporter = function() { if (this.is_container() || this.is_link()) { if (this.id == '58468bbd915c5af56d99d946') { this.memory.type = 'exporter'; } else { this.memory.type = this.pos.findInRange(FIND_MY_STRUCTURES, 2, {filter: (item) => item.is_storage()}).length ? 'importer' : 'exporter'; } } }; };
'use strict'; exports.config = { baseUrl: 'http://127.0.0.1:8000', specs: ['test/acceptance/spec/**/*.js'], };
const path = require('path') module.exports = { context: path.resolve(__dirname, 'src'), entry: ['@babel/polyfill', './index.js'], resolve: { alias: { '@actions': path.resolve(__dirname, 'src/redux/actions'), '@assets': path.resolve(__dirname, 'src/assets'), '@atoms': path.resolve(__dirname, 'src/components/atoms'), '@molecules': path.resolve(__dirname, 'src/components/molecules'), '@organisms': path.resolve(__dirname, 'src/components/organisms') } }, module: { rules: [ { test: /\.js$/, exclude: /node_modules/, oneOf: [ { resourceQuery: /raw/, use: 'raw-loader' }, { include: path.resolve(__dirname, 'src'), use: 'babel-loader' }, { include: path.resolve(__dirname, '../src'), use: { loader: 'babel-loader', options: { babelrc: false, extends: path.resolve(__dirname, '../.babelrc') } } } ] }, { test: /\.svg$/, exclude: /node_modules/, use: [ 'url-loader', 'img-loader' ] } ] }, output: { path: path.resolve(__dirname, 'dist'), publicPath: '/', filename: 'bundle.js' }, devServer: { contentBase: './dist' }, devtool: 'cheap-module-eval-source-map' }
'use strict'; /*eslint-env node, mocha */ import ClientBuilder from '../src/ClientBuilder'; import LimeTransportWebsocket from 'lime-transport-websocket'; import Lime from 'lime-js'; require('chai').should(); describe('ClientBuilder', function () { function buildClient() { return new ClientBuilder() .withDomain('test') .withScheme('test') .withCompression(Lime.SessionCompression.NONE) .withIdentifier(Lime.Guid()) .withInstance('test') .withHostName('127.0.0.1') .withEcho(true) .withEncryption(Lime.SessionEncryption.NONE) .withPort(8126) .withNotifyConsumed(false) .withTransportFactory(() => new LimeTransportWebsocket()) .build(); } // it('should have client properties from builder', (done) => { var client = buildClient(); client._application.domain.should.equal('test'); client._application.scheme.should.equal('test'); client._application.instance.should.equal('test'); client._application.compression.should.equal('none'); client._application.encryption.should.equal('none'); client._application.notifyConsumed.should.equal(false); done(); }); });
(function($, undefined) { var InpNumber = function(el) { var $el = $(el); var _this = this; this.$input = $el.find('.inp-number__input'); this.$inc = $('<a href="#" class="inp-number__btn inp-number__btn--inc"><span>+</span></a>'); this.$dec = $('<a href="#" class="inp-number__btn inp-number__btn--dec"><span>&minus;</span></a>'); this.$btns = this.$inc.add(this.$dec); this.min = parseInt(this.$input.attr('min') || 0); this.max = parseInt(this.$input.attr('max') || Number.MAX_SAFE_INTEGER); this.timer = null; $el.find('.inp-number__btn').remove(); $el .data('initialized', true) .prepend(this.$dec) .append(this.$inc); // inicializace, upravení hodnoty do intervalu <min;max>, vypnutí tlačítek this.adjustValue(); this.setDisabledBtns(); // bind handlers this.$btns .on('click', $.proxy(this.handleClick, this)) .on('contextmenu', function(e) { e.preventDefault(); }) // longtap na Android zařízeních otevírá menu; pro iOS je nutné uvést v css -webkit-touch-callout: none; .on('mousedown longtap', $.proxy(this.startRapidChange, this)) .on('mouseup mouseleave touchend touchcancel', $.proxy(this.stopRapidChange, this)); this.$input .on('change', $.proxy(this.handleChange, this)) // mouseup není vyvoláno, pokud z tlačítka sjedeme, proto mouseleave .on('focus', $.proxy(this.handleFocus, this)); }; InpNumber.prototype = { getValue: function() { return parseInt(this.$input.val()) || 0; }, setValue: function(value) { this.$input.val(value); }, getOp: function(e) { return e.currentTarget === this.$dec[0] ? 'getDecrement' : 'getIncrement'; }, isClickedBtnDisabled: function(e) { return $(e.currentTarget).data('disabled'); }, getIncrement: function(value) { value++; return value > this.max ? this.max : value; }, getDecrement: function(value) { value--; return value < this.min ? this.min : value; }, valueChanged: function() { this.$input.trigger('change'); }, adjustValue: function() { var value = this.getValue(); value = value < this.min ? this.min : (value > this.max ? this.max : value); this.setValue(value); }, setDisabledBtns: function() { var value = this.getValue(); this.$btns .data('disabled', false) .removeClass('inp-number__btn--disabled'); if (value === this.min || this.$input.is(':disabled')) { this.$dec .data('disabled', true) .addClass('inp-number__btn--disabled'); } if (value === this.max || this.$input.is(':disabled')) { this.$inc .data('disabled', true) .addClass('inp-number__btn--disabled'); } }, handleClick: function(e) { e.preventDefault(); // rapidChangeFlag flag je nastavován v případě mousedown, tj. pokud měníme hodnotu vícenásobně if (! this.rapidChangeFlag && ! this.isClickedBtnDisabled(e)) { var value = this.getValue(); var op = this.getOp(e); value = this[op](value); this.setValue(value); this.valueChanged(); } // musíme nastavit zde, protože click je vyvolán až po mouseup události this.rapidChangeFlag = false; }, handleChange: function() { this.adjustValue(); this.setDisabledBtns(); }, handleFocus: function() { this.$input[0].select(); }, startRapidChange: function(e) { e.preventDefault(); // už zpracováváme z click event -> desktop, takže longtap ignorujeme // nebo je tlačítko disabled if ((e.type === 'longtap' && this.rapidChangeFlag) || this.isClickedBtnDisabled(e)) { return; } var _this = this; var value = this.getValue(); var op = this.getOp(e); var counter = 0; var rapidChange = function() { counter++; newValue = _this[op](value); _this.rapidChangeFlag = true; if (value !== newValue) { value = newValue; _this.valueChangedFlag = true; _this.setValue(value); if (counter === 1) { _this.setDisabledBtns(); } } // hodnota se v této iteraci nezměnila -> narazili jsme na min/max hodnotu, urychlíme vyvolání change eventy else { if (_this.valueChangedFlag) { _this.stopRapidChange(); } return; } var delay = 150; if (counter > 10) { delay = Math.max(10, delay - 5 * counter); } _this.timer = setTimeout(rapidChange, delay); }; this.timer = setTimeout(rapidChange, 300); }, stopRapidChange: function(e) { clearTimeout(this.timer); if (this.valueChangedFlag) { this.valueChanged(); this.valueChangedFlag = false; } } }; /** * @author Radek Šerý * * Inicializace .inp-number elementů, dynamicky vytvoří tlačítka a naváže eventy */ $.nette.ext('inpNumber', { init: function() { var snippetsExt = this.ext('snippets', true); var ext = this; snippetsExt.after(function($el) { ext.init.call(ext, $el); }); this.init($(document)); } }, { selector: '.inp-number', init: function($el) { var ext = this; $el .find(this.selector) .each(function() { var inpNumber = new InpNumber(this); $(this).data('inpNumber', inpNumber); }); } }); })(jQuery);
const Exception = require('./Exception') const defaultFileType = 'application/octet-stream' const defaultTextType = 'text/html' function Response(onSend, onFail) { var _type = 'json' var _status = 200 var _errors = [] var _data = {} var _addData = null var _sent = false var _headers = {} var _failure = false const self = this const _onSend = (onSend !== undefined) ? onSend : function() { return self.serializeToString() } const _onFail = (onFail !== undefined) ? onFail : function() { return self.serializeToString() } Object.defineProperty(this, 'failure', { get: function () { return _failure }, set: function() { throw new Exception( 'READ_ONLY', 'Property "failure" is not writeable' ) } }) Object.defineProperty(this, 'type', { get: function () { return _type }, set: function() { throw new Exception( 'READ_ONLY', 'Property "type" is not writeable' ) } }) Object.defineProperty(this, 'addData', { get: function () { return _addData }, set: function() { throw new Exception( 'READ_ONLY', 'Property "addData" is not writeable' ) } }) Object.defineProperty(this, 'status', { get: function () { return _status }, set: function(newStatus) { _status = newStatus } }) Object.defineProperty(this, 'headers', { get: function () { return _headers }, set: function() { throw new Exception( 'READ_ONLY', 'Property "headers" is not writeable' ) } }) Object.defineProperty(this, 'dataSet', { get: function () { return _data }, set: function() { throw new Exception( 'READ_ONLY', 'Property "dataSet" is not writeable' ) } }) Object.defineProperty(this, 'errors', { get: function () { return _errors }, set: function() { throw new Exception( 'READ_ONLY', 'Property "errors" is not writeable' ) } }) this.data = function(label, content) { _data[label] = content } this.header = function(label, content) { _headers[label] = content } this.error = function(label, message) { _errors.push({label: label, message: message}) } this.setType = function(newType, data, add) { switch(newType) { case 'json': _headers['Content-Type'] = 'application/json' break case 'file': //file type _headers['Content-Type'] = (add ? add : defaultFileType) //file path _addData = data break case 'text': _headers['Content-Type'] = (add ? add : defaultTextType) //actual text _addData = data break default: throw new Exception( 'WRONG_RESPONSE_TYPE', 'Unknown response type: "' + newType + '"' ) break } _type = newType } this.send = function() { if(_sent) { throw new Exception( 'ALREADY_SENT', 'Response has already been set' ) } _sent = true _onSend() } this.fail = function(error) { if(!_sent) { _failure = error _onFail(error) } } this.serializeToString = function() { switch(_type) { case 'json': return JSON.stringify({ errors: _errors, data: _data }) case 'html': return _text } } } module.exports = Response
'use strict'; // Include Gulp & tools we'll use var gulp = require('gulp'), ts = require('gulp-typescript'), merge = require('merge2'); var tsProject = { typescript: require('typescript'), //sourceRoot: 'app/scripts', sortOutput: true, declarationFiles: true, noExternalResolve: false, //emitDecoratorMetadata: true, //declaration: false, //noImplicitAny: false, //removeComments: true, //noLib: false, //target: 'ES6' target: 'ES5', module: 'amd' // commonjs (for Node) or amd (eg RequireJS for web) }; gulp.task('default', function () { var tsResult = gulp.src('angular2-now.ts') .pipe(ts(tsProject, {}, ts.reporter.longReporter())); return merge( tsResult.js.pipe(gulp.dest('.')), tsResult.dts.pipe(gulp.dest('.')) ); });
'use strict'; var React = require('react'); var page = require('page'); var Promise = require('promise'); var thenRequest = require('then-request'); var Request = require('./request'); var Response = require('./response'); var global = Function('', 'return this')(); var container = document.getElementById('container'); var element = document.getElementById('client'); function attr(name) { return element.getAttribute('data-' + name); } var url = '/'; var basePath = attr('base').replace(/\/$/, '');; var props = attr('props') ? JSON.parse(attr('props')) : {}; var user = attr('user') ? JSON.parse(attr('user')) : null; var csrf = attr('csrf'); global._csrf = csrf; function makeRequest(method, url, user, body) { var options = {}; if (body) options.json = body; if (csrf) options.headers = {'x-csrf-token': csrf}; return thenRequest(method, basePath + url, options) .getBody('utf8').then(JSON.parse).then(function (body) { return {type: 'json', value: body}; }); } exports.run = function run() { var req, res; var hasGlobal = {}, valueGlobal = {}; var first = true; page('*', function (ctx, next) { url = ctx.path; req = new Request('get', url, user, {}, makeRequest, basePath); res = new Response(req); if (first) { first = false; res.setProps(props, {save: true}); } else { res.setProps(ctx.state.props, {save: true}); } return this.handle(req, res).done(function (result) { function update() { if (!result || (result._type !== 'component' && result._type !== 'redirect')) { page.stop(); window.location = ctx.canonicalPath; return; } if (result !== res) { if (typeof console !== 'undefined' && console.warn) { console.warn('You cannot re-render an old request'); } return; } if (result._type == 'component') { Object.keys(hasGlobal).forEach(function (key) { if (hasGlobal[key]) { global[key] = valueGlobal[key]; } else { delete global[key]; } }); hasGlobal = {}, valueGlobal = {}; Object.keys(result._globals).forEach(function (key) { hasGlobal[key] = key in global; valueGlobal[key] = global[key]; global[key] = result._globals[key]; }); ctx.state.props = JSON.parse(JSON.stringify(result._saved)); ctx.save(); var element = React.createElement(result._value, result.props); React.render(element, container); } else if (result._type === 'redirect') { page.show(result._value); } } if (result) { result._onChange.push(update); } update(); }); }.bind(this)); page.base(basePath); page.start(); };
var q = require('q'), http = require('http') watch = require('watch'), sys = require('sys'), exec = require('child_process').exec; var Syncd = function(){ this.etcd_endpoint = process.env.ETCD_ENDPOINT this.etcd_services_directory = (process.env.ETCD_SERVICES_DIRECTORY != null) ? process.env.ETCD_SERVICES_DIRECTORY : "services" this.etcd_service_key = "/v2/keys/" + this.etcd_services_directory + "/" + process.env.ETCD_SERVICE_KEY; this.directory_to_sync = process.env.DIRECTORY_TO_SYNC; this.current_host_ip = process.env.CURRENT_HOST_IP; this.init(); } Syncd.prototype.getServices = function(){ var deferred = q.defer(); http.get(this.etcd_endpoint + this.etcd_service_key, function(res) { var body = ''; res.on('data', function(chunk) { body += chunk; }); res.on('end', function() { deferred.resolve(JSON.parse(body)); }); }).on('error', function(e) { deferred.reject(e); }); return deferred.promise; } Syncd.prototype.log = function(error, stdout, stderr){ console.log('stdout: ' + stdout); console.log('stderr: ' + stderr); if (error !== null) { console.log('exec error: ' + error); } } Syncd.prototype.init = function(){ _this = this; watch.watchTree(this.directory_to_sync, function (f, curr, prev) { if (typeof f != "object" && prev !== null && curr !== null) { _this.getServices().then(function(data){ for(var i = 0; i < data.node.nodes.length; i++){ var portPos = data.node.nodes[i].value.indexOf(":"); var ip = data.node.nodes[i].value.substring(0, portPos); if(ip != _this.current_host_ip){ console.log("Files changed, syncing...") exec("scp -r " + _this.directory_to_sync + " core@" + ip + ":" + _this.directory_to_sync, this.log); } } }); } }) }; module.exports = Syncd;
version https://git-lfs.github.com/spec/v1 oid sha256:5be8c6eb9cb5a4638c6e4605b1bf08244c8cc9155d326644f77aa2f5f2a1d721 size 6263
'use strict'; // MODULES // var partial = require( './partial.js' ), recurse = require( './recurse.js' ); // RANDOM // /** * FUNCTION: random( dims, alpha, beta[, rand] ) * Creates a multidimensional array of Pareto (Type I) distributed random numbers. * * @param {Number[]} dims - dimensions * @param {Number} alpha - shape parameter * @param {Number} beta - scale parameter * @param {Function} [rand=Math.random] - random number generator * @returns {Array} multidimensional array filled with Pareto (Type I) random numbers */ function random( dims, alpha, beta, rand ) { var draw = partial( alpha, beta, rand ); return recurse( dims, 0, draw ); } // end FUNCTION random() // EXPORTS // module.exports = random;
jQuery(document).ready(function($) { $.ajax({ url:'https://dailyverses.net/getdailyverse.ashx?language=es&isdirect=1&url=' + window.location.hostname, dataType: 'JSONP', success:function(json){ $(".dailyVersesWrapper").prepend(json.html); } }); });
/** * @license Highcharts JS v9.0.0 (2021-02-02) * * Dot plot series type for Highcharts * * (c) 2010-2019 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; module.exports = factory; } else if (typeof define === 'function' && define.amd) { define('highcharts/modules/dotplot', ['highcharts'], function (Highcharts) { factory(Highcharts); factory.Highcharts = Highcharts; return factory; }); } else { factory(typeof Highcharts !== 'undefined' ? Highcharts : undefined); } }(function (Highcharts) { var _modules = Highcharts ? Highcharts._modules : {}; function _registerModule(obj, path, args, fn) { if (!obj.hasOwnProperty(path)) { obj[path] = fn.apply(null, args); } } _registerModule(_modules, 'Series/DotPlot/DotPlotSymbols.js', [_modules['Core/Renderer/SVG/SVGRenderer.js']], function (SVGRenderer) { /* * * * (c) 2009-2021 Torstein Honsi * * Dot plot series type for Highcharts * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ SVGRenderer.prototype.symbols.rect = function (x, y, w, h, options) { return SVGRenderer.prototype.symbols.callout(x, y, w, h, options); }; }); _registerModule(_modules, 'Series/DotPlot/DotPlotSeries.js', [_modules['Series/Column/ColumnSeries.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (ColumnSeries, SeriesRegistry, U) { /* * * * (c) 2009-2021 Torstein Honsi * * Dot plot series type for Highcharts * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ /** * @private * @todo * - Check update, remove etc. * - Custom icons like persons, carts etc. Either as images, font icons or * Highcharts symbols. */ var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); var extend = U.extend, merge = U.merge, objectEach = U.objectEach, pick = U.pick; /* * * * Class * * */ /** * @private * @class * @name Highcharts.seriesTypes.dotplot * * @augments Highcharts.Series */ var DotPlotSeries = /** @class */ (function (_super) { __extends(DotPlotSeries, _super); function DotPlotSeries() { /* * * * Static Properties * * */ var _this = _super !== null && _super.apply(this, arguments) || this; /* * * * Properties * * */ _this.data = void 0; _this.options = void 0; _this.points = void 0; return _this; } /* * * * Functions * * */ DotPlotSeries.prototype.drawPoints = function () { var series = this, renderer = series.chart.renderer, seriesMarkerOptions = this.options.marker, itemPaddingTranslated = this.yAxis.transA * series.options.itemPadding, borderWidth = this.borderWidth, crisp = borderWidth % 2 ? 0.5 : 1; this.points.forEach(function (point) { var yPos, attr, graphics, itemY, pointAttr, pointMarkerOptions = point.marker || {}, symbol = (pointMarkerOptions.symbol || seriesMarkerOptions.symbol), radius = pick(pointMarkerOptions.radius, seriesMarkerOptions.radius), size, yTop, isSquare = symbol !== 'rect', x, y; point.graphics = graphics = point.graphics || {}; pointAttr = point.pointAttr ? (point.pointAttr[point.selected ? 'selected' : ''] || series.pointAttr['']) : series.pointAttribs(point, point.selected && 'select'); delete pointAttr.r; if (series.chart.styledMode) { delete pointAttr.stroke; delete pointAttr['stroke-width']; } if (point.y !== null) { if (!point.graphic) { point.graphic = renderer.g('point').add(series.group); } itemY = point.y; yTop = pick(point.stackY, point.y); size = Math.min(point.pointWidth, series.yAxis.transA - itemPaddingTranslated); for (yPos = yTop; yPos > yTop - point.y; yPos--) { x = point.barX + (isSquare ? point.pointWidth / 2 - size / 2 : 0); y = series.yAxis.toPixels(yPos, true) + itemPaddingTranslated / 2; if (series.options.crisp) { x = Math.round(x) - crisp; y = Math.round(y) + crisp; } attr = { x: x, y: y, width: Math.round(isSquare ? size : point.pointWidth), height: Math.round(size), r: radius }; if (graphics[itemY]) { graphics[itemY].animate(attr); } else { graphics[itemY] = renderer.symbol(symbol) .attr(extend(attr, pointAttr)) .add(point.graphic); } graphics[itemY].isActive = true; itemY--; } } objectEach(graphics, function (graphic, key) { if (!graphic.isActive) { graphic.destroy(); delete graphic[key]; } else { graphic.isActive = false; } }); }); }; DotPlotSeries.defaultOptions = merge(ColumnSeries.defaultOptions, { itemPadding: 0.2, marker: { symbol: 'circle', states: { hover: {}, select: {} } } }); return DotPlotSeries; }(ColumnSeries)); extend(DotPlotSeries.prototype, { markerAttribs: void 0 }); SeriesRegistry.registerSeriesType('dotplot', DotPlotSeries); /* * * * Default Export * * */ return DotPlotSeries; }); _registerModule(_modules, 'masters/modules/dotplot.src.js', [], function () { }); }));
const baseConfig = require('./karma.base'); module.exports = function karma(config) { Object.assign(baseConfig, { browsers: ['PhantomJS'], }); baseConfig.plugins.push('karma-phantomjs-launcher'); config.set(baseConfig); };
exports.buildQuery = function(filters){ var query = {}; if (filters){ console.log("lets build a query"); console.log(filters); query = {$and: []}; for (var filter_list in filters){ for (var filter of filters[filter_list]){ query_part = {}; if (filter.type == "text"){ if (filter.modifier == "is"){ query_part[filter.key] = filter.value; }else if (filter.modifier == "is not"){ query_part[filter.key] = {$ne: filter.value}; }else if (filter.modifier == "contains"){ query_part[filter.key] = {$regex: filter.value}; } }else if (filter.type == "number"){ var number_value = parseFloat(filter.value); if (filter.modifier == "equals"){ query_part[filter.key] = number_value; }else if(filter.modifier == "!equals"){ query_part[filter.key] = {$ne: number_value}; }else if (filter.modifier == "< lt"){ query_part[filter.key] = {$lt: number_value}; }else if (filter.modifier == "> gt"){ query_part[filter.key] = {$gt: number_value}; } }else if (filter.type == "date"){ console.log("date is"); console.log(filter.value); var date = new Date(filter.value) if (filter.modifier == "is"){ query_part[filter.key] = date; }else if(filter.modifier == "before"){ query_part[filter.key] = {$lt: date}; }else if (filter.modifier == "after"){ query_part[filter.key] = {$gt: date}; } } query.$and.push(query_part); } } } console.log("here is our query"); console.log(query); return query; }
"use strict"; const net = require('net'), client = net.connect({port: 5432}); client.on('data', function (data) { let message = JSON.parse(data); if (message.type === 'watching') { console.log("Now watching: " + message.file); } else if (message.type === 'changed') { let date = new Date(message.timestamp); console.log("file '" + message.file + "' changed at " + date); } else { throw Error("Unrecognized message type: " + message.type); } });
var assert = require('assert'); var request = require('supertest'); var express = require('express'); var bodyParser = require('body-parser'); var demoApp = require('../demo/demoApp'); var app = express(); app.use(bodyParser.json()); demoApp(app, {debugToConsole: false}); describe('demoApp/nodulejs test suite', function(){ describe('Testing multiple routes (home page) - GET /home', function(){ it('should respond with home page HTML', function(done){ request(app) .get('/home') .end(function(err, res){ assert(res.text.indexOf('<h1>HOME PAGE') > -1, 'res.text='+res.text); done(); }); }); it('should also respond with home page HTML', function(done){ request(app) .get('/') .end(function(err, res){ assert(res.text.indexOf('<h1>HOME PAGE') > -1, 'res.text='+res.text); done(); }); }); }); describe('Testing request-time custom property (home page alternate template) - GET /special', function(){ it('should respond with alternate page HTML', function(done){ request(app) .get('/special') .end(function(err, res){ assert(res.text.indexOf('<h1>ALTERNATE HOME PAGE') > -1, 'res.text='+res.text); done(); }); }); }); describe('Testing normal route with :id wildcard - GET /json/getData/sner', function(){ it('should respond to generic :id match with JSON object, id=sner', function(done){ request(app) .get('/json/getData/sner') .end(function(err, res){ assert.equal(res.body.id, 'sner'); done(); }); }); }); describe('Testing nodule with post but otherwise same route as anotherr nodule :id wildcard - POST /json/getData/flur', function(){ it('should respond to generic :id match with JSON object, id=flur', function(done){ request(app) .post('/json/getData/flur') .end(function(err, res){ assert.equal(res.body.data.testId, 'flur'); done(); }); }); }); describe('Testing RegExp route with wildcard, and negative routeIndex - GET /json/getData/specialId2', function(){ it('should respond to specific :id match with special JSON object', function(done){ request(app) .get('/json/getData/specialId2') .end(function(err, res){ assert.equal(res.body.id, 'specialId2'); assert.equal(res.body.msg, "getData called with special ID = specialId2, doing special things"); done(); }); }); }); describe('Testing post request with alternate middleware - POST /json/submitForm, param1=test1', function(){ it('should respond valid to post submit with expected param', function(done){ request(app) .post('/json/submitForm') .send({param1: 'test1' }) .end(function(err, res){ assert.equal(res.body.data.dbMsg, 'valid data, param1=test1'); done(); }); }); }); describe('Testing post submit with alternate middleware - POST /json/submitForm', function(){ it('should respond to post submit with missing param', function(done){ request(app) .post('/json/submitForm') .type('json') .end(function(err, res){ assert.equal(res.body.msg, 'Form submit failed, please supply valid param1'); done(); }); }); }); describe('Testing high positive routeIndex and nodule-specified middleware - GET /badUrl', function(){ it('should show 404 error response', function(done){ request(app) .get('/badUrl') .end(function(err, res){ assert.equal(res.text, '<html><body><h1>404 error!</h1></body></html>'); done(); }); }); }); });
import browserSync from 'browser-sync'; gulp.task('sync', () => { browserSync(config.browserSync); gulp.watch(['build/*.html', 'build/*.css'], browserSync.reload); });
'use strict'; //Feeds service used to communicate Feeds REST endpoints angular.module('feeds').factory('Feeds', ['$resource', '$http', function($resource, $http) { var endPoint = 'feeds'; return { find: function (query) { var options = {}; if (query) { options.params = query; } return $http.get(endPoint, options); } }; }]);
let wegameCanvas = null if (typeof wx !== 'undefined') { // 在开放数据域的环境下,用`wx.getSharedCanvas`创建canvas if (wx.getSharedCanvas) { wegameCanvas = wx.getSharedCanvas() } else if (wx.createCanvas) { wegameCanvas = wx.createCanvas() } } export default wegameCanvas
const path = require("path"); const testRunnerConfig = require('test-runner-config'); const _ = require("underscore"); const unitTestRunnerConfig = require("./.unitTestRunnerConfig.js"); const wallabyFiles = testRunnerConfig.getWallabyFiles(unitTestRunnerConfig.files); const _processorConfig = { preprocessors: { '**/*.js': file => require('babel').transform(file.content, { sourceMap: true, blacklist: ["useStrict"], }), }, env: { type: 'node', runner: path.resolve(process.env.HOME, '.nvm/versions/node/v4.4.0/bin/node'), } }; const _config = _.extend({}, wallabyFiles, _processorConfig); module.exports = function () { return _config; };
modules.define( 'spec', ['checkbox', 'i-bem__dom', 'jquery', 'dom', 'BEMHTML', 'chai'], function(provide, Checkbox, BEMDOM, $, dom, BEMHTML, chai) { describe('checkbox_type_button', function() { var expect = chai.expect, checkbox, button; function buildCheckbox() { return BEMDOM.init($(BEMHTML.apply({ block : 'checkbox', mods : { type : 'button' }, name : 'name', val : 'val', label : 'label' })) .appendTo('body')) .bem('checkbox'); } beforeEach(function() { checkbox = buildCheckbox(); button = checkbox.findBlockInside('button'); }); afterEach(function() { BEMDOM.destruct(checkbox.domElem); }); describe('checked', function() { it('should set/unset "checked" mod for button according to self', function() { checkbox.setMod('checked'); button.hasMod('checked').should.be.true; checkbox.delMod('checked'); button.hasMod('checked').should.be.false; }); it('should set/unset property properly', function() { expect(checkbox.elem('control')[0].checked).to.be.false; checkbox.setMod('checked'); expect(checkbox.elem('control')[0].checked).to.be.true; checkbox.delMod('checked'); expect(checkbox.elem('control')[0].checked).to.be.false; checkbox.setMod('checked'); expect(checkbox.elem('control')[0].checked).to.be.true; }); it('should set/unset aria-attributes properly', function() { checkbox.setMod('checked'); expect(button.domElem.attr('aria-pressed')).to.be.undefined; button.domElem.attr('aria-checked').should.be.equal('true'); checkbox.delMod('checked'); expect(button.domElem.attr('aria-pressed')).to.be.undefined; button.domElem.attr('aria-checked').should.be.equal('false'); }); }); describe('disabled', function() { it('should set/unset "disabled" mod for button according to self', function() { checkbox.setMod('disabled'); button.hasMod('disabled').should.be.true; checkbox.delMod('disabled'); button.hasMod('disabled').should.be.false; }); }); describe('focused', function() { it('should set/unset "focused" mod for button according to self', function() { checkbox.setMod('focused'); button.hasMod('focused').should.be.true; checkbox.delMod('focused'); button.hasMod('focused').should.be.false; }); }); }); provide(); });
const BORDER_LEFT = 'border-left'; const DRAG_START_BORDER_LEFT = '4px solid #d64336'; let _node; const _dragStart = function(ev){ if (_node){ _node.style.removeProperty(BORDER_LEFT) } _node = ev.currentTarget _node.style.setProperty(BORDER_LEFT, DRAG_START_BORDER_LEFT) } const _dragEnd = function(ev){ if (_node) { _node.style.removeProperty(BORDER_LEFT) _node = void 0 } } const withDnDStyle = (target) => { const _proto = target.prototype; _proto.dragStartWithDnDStyle = _dragStart _proto.dragEndWithDnDStyle = _dragEnd } export default withDnDStyle
describe("Queue", function () { var queue; beforeEach(function () { queue = new Queue(); }); describe("length", function () { it("should be zero if empty", function () { expect(queue.length()).toEqual(0); }); it("should be the right size", function () { queue.enqueue({id: 1}); queue.enqueue({id: 2}); expect(queue.length()).toEqual(2); }); }); describe("isEmpty", function () { it("should be true when empty", function () { expect(queue.isEmpty()).toBeTruthy(); queue.enqueue({}); queue.dequeue(); expect(queue.isEmpty()).toBeTruthy(); }); it("should be false when not empty", function () { queue.enqueue(""); expect(queue.isEmpty()).toBeFalsy(); }); }); describe("dequeue", function () { it("should return undefined if queue is empty", function () { expect(queue.dequeue()).toEqual(undefined); expect(queue.length()).toEqual(0); }); it("should return in FIFO order", function () { queue.enqueue({id: 1}); queue.enqueue({id: 2}); expect(queue.dequeue()).toEqual({id: 1}); expect(queue.dequeue()).toEqual({id: 2}); }); }); describe("enqueue", function () { it("should enqueue a lot of types", function () { queue.enqueue(undefined); queue.enqueue(null); queue.enqueue(""); queue.enqueue({a: [1, 2, {b: 3}]}); queue.enqueue(undefined); expect(queue.dequeue()).toEqual(undefined); expect(queue.dequeue()).toEqual(null); expect(queue.dequeue()).toEqual(""); expect(queue.dequeue()).toEqual({a: [1, 2, {b: 3}]}); expect(queue.dequeue()).toEqual(undefined); expect(queue.length()).toEqual(0); expect(queue.dequeue()).toEqual(undefined); expect(queue.length()).toEqual(0); }); it("should chain queues", function () { queue.enqueue({a: [1, 2, {b: 3}]}).enqueue(3); expect(queue.dequeue()).toEqual({a: [1, 2, {b: 3}]}); expect(queue.dequeue()).toEqual(3); }); }); describe("clear", function () { it("should clear", function () { queue.enqueue({}); queue.clear(); expect(queue.length()).toEqual(0); expect(queue.dequeue()).toEqual(undefined); }); }); describe("pointer reduction", function () { it("should shift pointers back to zero", function () { queue.enqueue(0); queue.enqueue(1); queue.enqueue(2); queue.dequeue(); // reduce pointers as if 2 was the largest desired value queue.__getPrivateMembers__().reducePointers(2); expect(queue.__getPrivateMembers__().head).toEqual(0); expect(queue.__getPrivateMembers__().tail).toEqual(2); }); it("should shift pointers to zero when emptied", function () { queue.enqueue(0); queue.enqueue(1); queue.enqueue(2); queue.dequeue(); queue.dequeue(); queue.dequeue(); expect(queue.__getPrivateMembers__().head).toEqual(0); expect(queue.__getPrivateMembers__().tail).toEqual(0); }); it("should not shift pointers when unneccesary", function () { queue.enqueue(0); queue.enqueue(1); queue.enqueue(2); // we try to shift even though we don't need to queue.__getPrivateMembers__().reducePointers(); expect(queue.__getPrivateMembers__().head).toEqual(0); expect(queue.__getPrivateMembers__().tail).toEqual(3); }); it("should not shift pointers when 'full'", function () { queue.enqueue(0); queue.enqueue(1); queue.enqueue(2); // shouldn't shift even though tail exceeds the max expect(queue.__getPrivateMembers__().tail).toEqual(3); queue.__getPrivateMembers__().reducePointers(2); expect(queue.__getPrivateMembers__().head).toEqual(0); expect(queue.__getPrivateMembers__().tail).toEqual(3); }); }); });
var mergeOptions=require('./libs/option_helper').mergeOptionsWithDefault; var HttpClient=function(url,attrs) { this.url=url; mergeOptions.call(this,attrs); } HttpClient.prototype._options={ accept : "application/json; charset=UTF-8" ,contentType : "application/json" } HttpClient.prototype._prepareHeader=function(xhr) { xhr.setRequestHeader("Accept",this.options.accept); xhr.setRequestHeader("Content-Type",this.options.contentType); } HttpClient.prototype.get=function(queries) { var that=this; return new Promise(function(resolve,reject) { var url=that.url; if("string" == typeof queries) { url+="?"+queries }else if("object" ==typeof queries) { var querystring=""; var sep=""; for(var key in queries) { querystring += sep + key + "=" + encodeURIComponent(queries[key]); sep = "&" } url+="?"+querystring; } $.ajax(url,{ type: 'GET', beforeSend: function(xhr){that._prepareHeader(xhr)}, success: function(data) { if("string" ==typeof data)//debug only { data=JSON.parse(data); } resolve(data); }, error: function(jqXHR,textStatus,erroThrown) { reject(jqXHR); }, timeout: 30000 }) }) } HttpClient.prototype.post=function(data,queries) { var that=this; return new Promise(function(resolve,reject) { var url=that.url; if(queries) { url+="?"+queries } $.ajax(url,{ type: 'POST', data: JSON.stringify(data), beforeSend: function(xhr){that._prepareHeader(xhr)}, success: function(data) { if("string" ==typeof data)//debug only { data=JSON.parse(data); } resolve(data); }, error: function(jqXHR,textStatus,erroThrown) { reject(jqXHR); }, timeout: 30000 }) }) } exports.HttpClient = HttpClient;
import { combineReducers } from 'redux'; //Reducers import favourites from './favourites'; import home from './home'; import moviePage from './moviePage'; export default combineReducers({ favourites, home, moviePage });
import mocha from 'mocha' import chai from 'chai' import expect from 'expect' import isObject from '../src/isObject' describe ('isObject', () => { it ('returns true if input is an Object', () => { expect(isObject({Name:'Lizz'})).toEqual(true) }) it ('returns false if input is a Number', () => { expect( isObject(1) ).toEqual(false) }) it ('returns false if input is a string', () => { expect( isObject('Hello') ).toEqual(false) }) it ( 'returns false if input is null', () => { expect( isObject( null ) ).toEqual(false) }) it ( 'returns false if input is undefined', () => { expect( isObject( undefined ) ).toEqual(false) }) it ( 'returns true if input is an array', () => { expect ( isObject( [1,2] ) ).toEqual(true) }) })
/** * Wraps `querySelector` à la jQuery's `$`. * * @param {String|Element} sel CSS selector to match an element. * @param {Element=} parent Parent from which to query. * @returns {Element} Element matched by selector. */ module.exports.$ = function (sel, parent) { if (sel && typeof sel === 'string') { sel = (parent || document).querySelector(sel); } return sel; }; /** * Wraps `querySelectorAll` à la jQuery's `$`. * * @param {String|Element} sel CSS selector to match elements. * @param {Element=} parent Parent from which to query. * @returns {Array} Array of elements matched by selector. */ module.exports.$$ = function (sel, parent) { if (sel && typeof sel === 'string') { sel = (parent || document).querySelectorAll(sel); } if (Array.isArray(sel)) { return sel; } return Array.prototype.slice.call(sel); }; /** * Wraps `Array.prototype.forEach`. * * @param {Array|NamedNodeMap|NodeList|HTMLCollection} arr An array-like object. * @returns {Array} A real array. */ var forEach = module.exports.forEach = function (arr, fn) { return Array.prototype.forEach.call(arr, fn); }; /** * Merges attributes à la `Object.assign`. * * @param {...Array|NamedNodeMap} els Parent element from which to query. * @returns {Array} Array of merged attributes. */ module.exports.mergeAttrs = function () { var mergedAttrs = {}; forEach(arguments, function (el) { forEach(el.attributes, function (attr) { // NOTE: We use `getAttribute` instead of `attr.value` so our wrapper // for coordinate objects gets used. mergedAttrs[attr.name] = el.getAttribute(attr.name); }); }); return mergedAttrs; }; /** * Does ES6-style (or mustache-style) string formatting. * * > format('${0}', ['zzz']) * "zzz" * * > format('${0}{1}', 1, 2) * "12" * * > format('${x}', {x: 1}) * "1" * * > format('my favourite color is ${color=blue}', {x: 1}) * "my favourite color is blue" * * @returns {String} Formatted string with interpolated variables. */ module.exports.format = (function () { var regexes = [ /\$?\{\s*([^}= ]+)(\s*=\s*(.+))?\s*\}/g, /\$?%7B\s*([^}= ]+)(\s*=\s*(.+))?\s*%7D/g ]; return function (s, args) { if (!s) { throw new Error('Format string is empty!'); } if (!args) { return; } if (!(args instanceof Array || args instanceof Object)) { args = Array.prototype.slice.call(arguments, 1); } Object.keys(args).forEach(function (key) { args[String(key).toLowerCase()] = args[key]; }); regexes.forEach(function (re) { s = s.replace(re, function (_, name, rhs, defaultVal) { var val = args[name.toLowerCase()]; if (typeof val === 'undefined') { return (defaultVal || '').trim().replace(/^["']|["']$/g, ''); } return (val || '').trim().replace(/^["']|["']$/g, ''); }); }); return s; }; })();
// Dependências const restful = require('node-restful'); const mongoose = restful.mongoose; const Schema = mongoose.Schema; //var funcoes = require('../util/functions'); const cpf = require('./fields/field-cpf'); const cnpj = require('./fields/field-cnpj'); // Schema var usuarioSchema = new Schema({ "tipo": String, "nome_fantasia": String, "razao_social": String, "user": { type: String, required: true, unique: true }, "senha": { type: String, required: true, select: false }, "primeiro_nome": String, "segundo_nome": String, cpf, cnpj, "configuracoes": { "atividade_principal": String, "regime_tributario": String, "aliquota_simples": Number, "moeda": String, "taxa_um": Number, "taxa_dois": Number, "caixa_inicial": String, "logo_path": String }, "auth": { "username" : String, "email" : String, "password" : String, "last_access" : Date, "online" : Boolean, "disabled" : Boolean, "hash_token" : String }, "arquivos": [{ "name": String, "path": String, "weight": String }], "clientes_fornecedores": [{ "tipo": String, "nome": String, "cliente_fornecedor_id": [{ type: Schema.Types.ObjectId, ref: 'cliente_fornecedor' }] }], "ativo": { type: Boolean, default: true }, "bloqueado": { type: Boolean, default: false }, "email": String, "email_confirmado": { type: Boolean, default: false }, "telefone": String, "redes_sociais": { "facebook": String, "google_plus": String }, "dt_cadastro": { type: Date, default: Date.now }, "dt_encerramento": Date, "trial": { type: Boolean, default: false } }); // Return model module.exports = restful.model('usuario', usuarioSchema);
var webpack = require('webpack'); var path = require('path'); module.exports = { context: __dirname, devtool: 'eval-source-map', entry: { main: [ 'webpack-dev-server/client?http://localhost:3335', 'webpack/hot/only-dev-server', './src/index.js' ] }, output:{ path: path.join(__dirname, 'dist'), filename: 'bundle.js', publicPath: 'http://localhost:3335/', hotUpdateChunkFilename: 'hot/hot-update.js', hotUpdateMainFilename: 'hot/hot-update.json' }, devServer: { inline: true, hot: true, port: 3335, headers: { 'Access-Control-Allow-Origin': '*' } }, module: { loaders: [ { test: /\.js?$/, include: path.join(__dirname, 'src'), loader: 'react-hot-loader/webpack' }, { test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader', query: { presets: [['es2015', { modules: false }], 'react', 'stage-0'] } } ] }, plugins: [ new webpack.HotModuleReplacementPlugin(), new webpack.NoEmitOnErrorsPlugin(), new webpack.LoaderOptionsPlugin({ debug: true }), new webpack.NamedModulesPlugin() ] };
module.exports = { url: 'mongodb://localhost/ambidex' }
var Translator = require('./translator'); function i18n(options) { return new Translator(options); } i18n.middleware = require('./middleware'); i18n.Translator = Translator; i18n.backends = { fs: require('./backends/fs') }; module.exports = i18n;
const path = require('path') const writeFile = require('../utils/write-file') const padZero = require('../utils/pad-zero') const destPath = require('../utils/dest-path') const loadPage = require('../utils/load-page') const renderPage = require('./render-page') /** * MarkdownのファイルをHTMLに変換する処理。 * Markdownへのパス -> Pageというモデル -> HTML という処理の流れ。 * */ function buildPage(paths, { rootDir, destDir, destFromSeverRoot, tmplMap }, { isEditable }) { console.log('>>> publishing pages...') return Promise.all( paths.map((mdPath, idx) => { const destFile = `${destPath(mdPath)}.html` const dest = path.resolve(destDir, destFile) // 進捗をログ const total = String(paths.length) console.log(`[${padZero(idx + 1, total.length)}/${total}] ${dest}`) return Promise.resolve() .then(() => loadPage({ rootDir, mdPath, destFromSeverRoot })) .then(pageInfo => renderPage(tmplMap, pageInfo, { isEditable })) .then(html => writeFile(dest, html)) .catch(err => { console.log(err) }) }), ).then(() => { console.log('>>> pages published!') }) } module.exports = buildPage
/* * Compartido por el cliente y servidor */ var lang = { anon: 'Anónimo', search: 'Buscar', show: 'Mostrar', hide: 'Esconder', report: 'Reportar', focus: 'Centrar', expand: 'Ampliar', last: 'Últimos', see_all: 'Mostrar todos', bottom: 'Abajo', expand_images: 'Ampliar imágenes', live: 'En vivo', catalog: 'Catálogo', return: 'Regresar', top: 'Arriba', reply: 'Respuesta', newThread: 'Nuevo Hilo', locked_to_bottom: 'Pegado al fondo', you: '(Tu)', done: 'Hecho', send: 'Enviar', locked: 'Cerrado', thread_locked: 'Este hilo esta cerrado.', langApplied: 'Opciones de idioma applicadas. La pagina sera recargada ahora.', googleSong: 'Clock para googlear la cancion', quoted: 'Has sido citado', syncwatchStarting: 'Syncwatch empezando end 10 segundos', finished: 'Terminado', expander: ['Expandir imagenes', 'Contraer imagenes'], uploading: 'Subiendo...', subject: 'Sujeto', cancel: 'Cancelar', unknownUpload: 'Error de subida desconocido', unknownResult: 'Resultado desconocido', rescan: 'Rescan', reports: { post: 'Reportando post', reporting: 'Reportando...', submitted: 'Report enviado!', setup: 'Obteniendo reCAPTCHA...', loadError: 'No se pudo cargar reCATPCHA' }, // Relacionado con el tiempo week: ['Dom', 'Lun', 'Mar', 'Mie', 'Jue', 'Vie', 'Sab'], year: ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'], just_now: 'ahora mismo', unit_minute: 'minuto', unit_hour: 'hora', unit_day: 'día', unit_month: 'mes', unit_year: 'año', // Estado de sincronizacion de websockets sync: { notSynced: 'No sincronizado', connecting: 'Conectando', syncing: 'Sincronizando', synced: 'Sincronizado', dropped: 'Caido', reconnecting: 'Reconectando' }, // Mapa de lenguage de moderación mod: { title: ['Title', 'Mostrar tituloe de staff en mis posts nuevos'], clearSelection: ['Limpiar', 'Limpiar posts seleccionados'], spoilerImages: ['Spoiler', 'Esconde posts seleccionados'], deleteImages: ['Del Img', 'Eliminar images de los posts seleccionados'], deletePosts: ['Del Post', 'Elimina posts seleccionados'], lockThreads: ['Cerrar', 'Cierra/Abre los hilos seleccionados'], toggleMnemonics: ['Mnemónico', 'Habilita la muestra de mnemónicos'], sendNotification: [ 'Notificación', 'Enviar mensaje de notificación a todos los clientes' ], renderPanel: ['Panel', 'Habilita la muestra de el panel de administrador'], ban: ['Expulsar', 'Expulsar poster(s) por el numero seleccionado de post(s)'], modLog: ['Log', 'Mostrar el log de moderación'], djPanel: ['DJ', 'DJ tool panel'], displayBan: [ 'Exponer', 'Añadir un mensaje \'USUARIO A SIDO EXPULSADO POR ESTE POST\' publico' ], banMessage: 'USUARIO A SIDO EXPULSADO POR ESTE POST', unban: 'Levantar expulsion', placeholders: { msg: 'Mensaje', days: 'd', hours: 'h', minutes: 'min', reason: 'Motivo' }, needReason: 'Debe especificar razon', // Corresponde a llamadas de websocket en common/index.js 7: 'Imagen Spoileada', 8: 'Imagen eliminada', 9: 'Post eliminado', 10: 'Hilo cerrado', 11: 'Hilo abierto', 12: 'Usuario expulsado', 53: 'Expulsion levantada', // Formato de función para mensajes de moderación formatLog: function (act) { var msg = lang.mod[act.kind] + ' por ' + act.ident; if (act.reason) msg += ' por ' + act.reason; return msg; } }, // Funciones de formato pluralize: function(n, noun) { // Para palabras que acaban 'y' y no hay una vocal antes. if (n != 1 && noun.slice(-1) == 'n' && ['a', 'i', 'o', 'u'].indexOf(noun.slice(-2, -1) .toLowerCase()) < 0) { noun = noun.slice(0, -1) + 'nes'; } return n + ' ' + noun + (n == 1 ? '' : 's'); }, capitalize: function(word) { return word[0].toUpperCase() + word.slice(1); }, // 56 minutos atrás ago: function(time, unit, isFuture) { var res = lang.pluralize(time, unit); if (isFuture) res = 'en ' + res; else res += ' atrás'; return res; }, // 47 respuestas y 21 imágenes omitidas abbrev_msg: function(omit, img_omit, url) { var html = lang.pluralize(omit, 'respuesta'); if (img_omit) html += ' y ' + lang.pluralize(img_omit, 'imagen'); html += ' omitida'; if (url) { html += ' <span class="act"><a href="' + url + '" class="history">' + lang.see_all + '</a></span>'; } return html; } }; export default lang
/* eslint-env node, mocha */ import Assert from 'assert' import Request from 'supertest' import Server from '../../src/server' describe('#Server', () => { let app before(() => { const noop = () => { } console.info = noop console.warn = noop }) after(() => { delete console.info delete console.warn }) beforeEach(async () => { const { server } = await Server() app = server }) afterEach((done) => { app.close() done() }) describe('GET /ping', () => { it('should return 200 and message === \'pong\'', (done) => { Request(app) .get('/ping') .expect(200) .end((error, { body: response }) => { if (error) { return done(error) } Assert.strictEqual(response.message, 'pong') done() }) }) }) describe('Other endpoints', () => { it('should return 404', (done) => { Request(app) .get('/testsAreAwesome') .expect(404, done) }) }) })
var app = require('application'); app.start({ moduleName: 'views/todo-list' });
// Eloquent JavaScript // Run this file in your terminal using `node my_solution.js`. Make sure it works before moving on! // Program Structure // Write your own variable and do something to it. // var my_name = "Sarah" // var math = 2 + 4 // console.log(my_name.length) // console.log(math) // prompt("What's your favorite food?"); // alert("Hey! That's my favorite too!"); // Complete one of the exercises: Looping a Triangle, FizzBuzz, or Chess Board // var mark = "#" // var counter = 1 // while (counter<=7){ // console.log(mark); // mark += "#"; // counter ++; // } // var number = 1; // while(number <= 100){ // if (number % 3 == 0 && number % 5 == 0) // console.log("FizzBuzz"); // else if (number % 3 == 0) // console.log("Fizz"); // else if (number % 5 == 0) // console.log("Buzz"); // else // console.log(number); // number ++; // } // Functions // Complete the `minimum` exercise. // function min(x,y) { // if (x < y) // return x; // else if (y < x) // return y; // else if (y == x) // return "Equal"; // else // return "Invalid"; // } // Data Structures: Objects and Arrays // Create an object called "me" that stores your name, age, 3 favorite foods, and a quirk below. // var me = { // name: "Sarah", // age: 36, // faveFoods: ["donuts, fruit, veggie korma"], // quirk: "My wife says I am one giant quirk." // }; /* INTRO Did you learn anything new about JavaScript or programming in general? I don't feel like I learned anything brand-new, but the intro did help me get a better understanding of JavaScript and the purpose and history of programming. The comparison walking through the same commands from binary language to fairly English-like programming language was really interesting. Oh, I did learn that Java and JavaScript have basically no connection to each other and the similarity in names was just a marketing trick. Are there any concepts you feel uncomfortable with? No, not really. JavaScript seems really interesting and this made me excited to get started with it. CHAPTER ONE Identify two similarities and two differences between JavaScript and Ruby syntax with regard to numbers, arithmetic, strings, booleans, and various operators. Two similarities: -Both Ruby and JavaScript have similar basic data types (string, integer/number, boolean). -Both use the same operators for comparisons (<, <=, etc.) and logic (&& ||). Two differences: -JavaScript does automatic type conversion, and judging by the number type errors that I've gotten with Ruby, it does not. This is consistent with a general trait of JavaScript -- it is designed to be more flexible and tries to do something with what you put in, even though it might not do what you want or expect. -JavaScript has special numbers Infinity and -Infinity, which Ruby does not. CHAPTER TWO What is an expression? An expression is a fragment of code that produces a value. Every value that is written literally is an expression (eg. "cat"). What is the purpose of semicolons in JavaScript? Are they always required? Semi-colons break code lines. They prevent the following line of code being read as part of the one preceding it. They aren't always needed, but the situations when you can leave them out are complicated. What causes a variable to return undefined? Null represents the intentional absence of a value, while undefined represents an unintentional absence of a value, or an impossible value. The best example of this is dividing by zero. It is mathematically impossible to divide by zero, so the value of an equation dividing by zero isn't zero or empty, it is undefined. Write your own variable and do something to it in the eloquent.js file. (done) What does console.log do and when would you use it? What Ruby method(s) is this similar to? console.log prints to the console so you can see what the computer is processing. It is similar to puts, print and p in Ruby. Write a short program that asks for a user to input their favorite food. After they hit return, have the program respond with "Hey! That's my favorite too!" (You will probably need to run this in the Chrome console (Links to an external site.) rather than node since node does not support prompt or alert). Paste your program into the eloquent.js file. prompt("What's your favorite food?"); alert("Hey! That's my favorite too!"); Describe while and for loops while loops can be written like this: var name = value while(condition) { code block; code to change the condition; } The while loop will keep looping and executing the code block until the condition produces a value that is false. If there is nothing to change the condition (like a counter that increases the value of your variable), you will have an infinite loop. for loops can be written like this: for (var name = value; condition; code to change the condition) code block; The for loop will keep looping and executing the code block until the condition is false. Many times you could use either of these loops. It's just a matter of clarity and style. What other similarities or differences between Ruby and JavaScript did you notice in this section? There seem to be a lot of similarities between Ruby and JavaScript. They both use loops and conditionals in very similar ways, with minor differences in syntax. alert, prompt and confirm are unique to JavaScript. And, JavaScript has ++, which Ruby does not. Complete at least one of the exercises (Looping a Triangle, FizzBuzz, of Chess Board) in the eloquent.js file. (done) CHAPTER THREE What are the differences between local and global variables in JavaScript? Local variables are created inside a function and are only able to be accessed from within that function. Global variables are created outside of a function and are accessible anywhere. When should you use functions? You should use functions when you want to create a reusable code block to perform a specific task. What is a function declaration? A function declaration is an alternative way to write a function. It looks like this: function square(x) { return x*x; } Complete the minimum exercise in the eloquent.js file. (done) CHAPTER FOUR What is the difference between using a dot and a bracket to look up a property? Ex. array.max vs array["max"] Both expressions will access a property of array, but not necessarily the same one. array.max will use x as a variable name to directly retrive the property value of x. (So, x must be a valid variable name). array["max"] will evaluate x as an expression and use the result of the evaluation as the property name. Create an object called me that stores your name, age, three favorite foods, and a quirk in your eloquent.js file. (done) What is a JavaScript object with a name and value property similar to in Ruby? Looks a lot like a hash to me. REFLECTION What are the biggest similarities and differences between JavaScript and Ruby? There are a lot of similarities between JavaScript and Ruby. They seem to have generally the same purpose, almost like different dialects of the same language rather than two very different languages. Much of the structure and many tools seem very similar. They both use variables, and they both have similar data types and ways to group or contain a set of data that you want to hold and manipulate. Both have a set of tools to start with that allow you to build very complex programs to do all sorts of cool stuff. Some of the syntax is different, as well as what different things are called, and some of the particular ways that things run are a little different in the two languages. One big difference is that JavaScript can be used to build web applications and is a part of almost everything you do on the Internet. Ruby can't (or at least isn't commonly) used in this way. Was some of your Ruby knowledge solidified by learning another language? If so, which concepts? How do you feel about diving into JavaScript after reading these chapters? Yes, I feel like this has helped solidify my knowledge of Ruby. Learning about a language that is similar, but a little different, has helped push my thinking to the next level because I've had to consider those little differences, what causes them and what the results will be in a program. Specifically, I feel like I have a better understanding on some of the behind the scenes stuff, like the difference between a program is useful for the value that it returns vs. a side effect, and how scope affects the relationship between different variables and methods or functions. I'm excited to dive into JavaScript. I'll be honest--at the beginning of this week, I was like, Seriously, ANOTHER language?! My brain can't take this. Can't we just stick with Ruby? But, starting to learn JavaScript actuallly helped me understand Ruby better and it wasn't too hard to understand JavaScript after having some experience with Ruby. Also, it seems like we're getting closer to being able to write some more complex and interesting programs which I'm excited about. */
module.exports = function (App) { //Enable CORS App.use(require('./utils/cors')); //USER var User = require("./user"); User.addRoutes(App); //TASKS var Tasks = require("./tasks"); Tasks.addRoutes(App); }
/** * Image.js * * @description :: This represents a product image with file paths for different variations (original, thumb, ...). * @docs :: http://sailsjs.org/documentation/concepts/models-and-orm/models */ var cloudinary = require('cloudinary'); module.exports = { attributes: { width: { type: 'integer', min: 0 }, height: { type: 'integer', min: 0 }, filename: { type: 'string', required: true }, toJSON: function() { var obj = this.toObject(); obj.thumb = cloudinary.url(obj.filename, { secure: true, width: 600, height: 450, crop: 'thumb', gravity: 'center' }); obj.medium = cloudinary.url(obj.filename, { secure: true, width: 800, height: 600 }); obj.large = cloudinary.url(obj.filename, { secure: true, width: 1600, height: 1200 }); obj.original = cloudinary.url(obj.filename, { secure: true }); delete obj.filename; return obj; } }, beforeUpdate: function (values, next) { if (values.thumb && values.thumb.indexOf('http') === 0) { delete values.thumb; } if (values.medium && values.medium.indexOf('http') === 0) { delete values.medium; } if (values.large && values.large.indexOf('http') === 0) { delete values.large; } // Prevent user from overriding these attributes delete values.original; delete values.createdAt; delete values.updatedAt; next(); } };
/******************************************************************************* * SixteenSegment * @constructor * Implements Points[] and CharacterMasks[] for a sixteen segment display ******************************************************************************/ function SixteenSegment(count, canvas, width, height, x, y) { "use strict"; // Set the starting position on the canvas. Default is (0,0) this.X = x || 0; this.Y = y || 0; // Set display size. Defaults to the size of the canvas this.Width = width || canvas.width; this.Height = height || canvas.height; this.Canvas = canvas; this.CalcPoints(); this.SetCount(count); } // Implements SegmentCanvas using Points[][] and CharacterMasks[] for 16 segments SixteenSegment.prototype = new SegmentCanvas(); // Calculates the point positions for each segment & stores them in Points[][]. // Ex. The first point for the second segment is stored at Points[1][0]; // Segments are labeled a1, a2, b, c, d1, d2, e, f, g1, g2, h, i, j, k, l, m SixteenSegment.prototype.CalcPoints = function() { "use strict"; var d = this.CalcElementDimensions(), w = d.Width, h = d.Height, sw = this.SegmentWidth * w, si = this.SegmentInterval * w, bw = this.BevelWidth * sw, ib = (this.SideBevelEnabled) ? 1 : 0, sf = sw * 0.8, slope = h / w, sqrt2 = Math.SQRT2, sqrt3 = Math.sqrt(3); // Base position of points w/out bevel and interval var w0 = w / 2 - sw / 2, h0 = 0, w1 = w / 2, h1 = sw / 2, w2 = w / 2 + sw / 2, h2 = sw, w3 = w - sw, h3 = h / 2 - sw / 2, w4 = w - sw / 2, h4 = h / 2, w5 = w, h5 = h / 2 + sw / 2; // Order of segments stored in Points[][] var A1 = 0, A2 = 1, B = 2, C = 3, D1 = 4, D2 = 5, E = 6, F = 7, G1 = 8, G2 = 9, H = 10, I = 11, J = 12, K = 13, L = 14, M = 15; // Create the points array for all segments var points = []; points[A1] = [ { x: bw * 2 + si / sqrt2, y: h0 }, { x: w1 - si / 2 - sw / 2 * ib, y: h0 }, { x: w1 - si / 2, y: h1 }, { x: w0 - si / 2, y: h2 }, { x: sw + si / sqrt2, y: h2 }, { x: bw + si / sqrt2, y: h0 + bw } ]; points[G2] = [ { x: w2 + si / sqrt2, y: h3 }, { x: w3 - si / 2 * sqrt3, y: h3 }, { x: w4 - si / 2 * sqrt3, y: h4 }, { x: w3 - si / 2 * sqrt3, y: h5 }, { x: w2 + si / sqrt2, y: h5 }, { x: w1 + si / sqrt2, y: h4 } ]; points[B] = [ { x: w5, y: h0 + bw * 2 + si / sqrt2 }, { x: w5, y: h4 - si / 2 - sw / 2 * ib }, { x: w4, y: h4 - si / 2 }, { x: w3, y: h3 - si / 2 }, { x: w3, y: h2 + si / sqrt2 }, { x: w5 - bw, y: h0 + bw + si / sqrt2 } ]; points[I] = [ { x: w2, y: h2 + si / 2 * sqrt3 }, { x: w2, y: h3 - si / sqrt2 }, { x: w1, y: h4 - si / sqrt2 }, { x: w0, y: h3 - si / sqrt2 }, { x: w0, y: h2 + si / 2 * sqrt3 }, { x: w1, y: h1 + si / 2 * sqrt3 } ]; points[H] = [ { x: (sw + sf) / slope + si, y: h2 + si }, { x: w0 - si, y: w0 * slope - sf - si }, { x: w0 - si, y: h3 - si }, { x: (h3 - sf) / slope - si, y: h3 - si }, { x: sw + si, y: h2 * slope + sf + si }, { x: sw + si, y: h2 + si } ]; points[A2] = this.FlipHorizontal(points[A1], w); // A2 points[C] = this.FlipVertical(points[2], h); // C points[D1] = this.FlipVertical(points[0], h); // D1 points[D2] = this.FlipHorizontal(points[4], w); // D2 points[E] = this.FlipHorizontal(points[3], w); // E points[F] = this.FlipHorizontal(points[2], w); // F points[G1] = this.FlipHorizontal(points[9], w); // G1 points[J] = this.FlipHorizontal(points[10], w); // J points[K] = this.FlipVertical(points[12], h); // K points[L] = this.FlipVertical(points[11], h); // L points[M] = this.FlipVertical(points[10], h); // M this.Points = points; }; // Sets the mapping of characters to bitmasks. Bitmasks store a display pattern. // Segments are turned on by flipping the bit in the segments position. SixteenSegment.prototype.CharacterMasks = (function() { "use strict"; // Segment Bitmasks for individual segments. // Binary Or them together to create bitmasks // a1|a2|b|c|d1|d2|e|f|g1|g2|h|i|j|k|l|m var a1 = 1 << 0, a2 = 1 << 1, b = 1 << 2, c = 1 << 3, d1 = 1 << 4, d2 = 1 << 5, e = 1 << 6, f = 1 << 7, g1 = 1 << 8, g2 = 1 << 9, h = 1 << 10, i = 1 << 11, j = 1 << 12, k = 1 << 13, l = 1 << 14, m = 1 << 15; // Character map associates characters with a bit pattern return { ' ' : 0, '' : 0, '0' : a1|a2|b|c|d1|d2|e|f|j|m, '1' : b|c|j, '2' : a1|a2|b|d1|d2|e|g1|g2, '3' : a1|a2|b|c|d1|d2|g2, '4' : b|c|f|g1|g2, '5' : a1|a2|c|d1|d2|f|g1|g2, '6' : a1|a2|c|d1|d2|e|f|g1|g2, '7' : a1|a2|b|c, '8' : a1|a2|b|c|d1|d2|e|f|g1|g2, '9' : a1|a2|b|c|f|g1|g2, 'A' : e|f|a1|a2|b|c|g1|g2, 'B' : a1|a2|b|c|d1|d2|g2|i|l, 'C' : a1|a2|f|e|d1|d2, 'D' : a1|a2|b|c|d1|d2|i|l, 'E' : a1|a2|f|e|d1|d2|g1|g2, 'F' : a1|a2|e|f|g1 , 'G' : a1|a2|c|d1|d2|e|f|g2, 'H' : b|c|e|f|g1|g2, 'I' : a1|a2|d1|d2|i|l, 'J' : b|c|d1|d2|e, 'K' : e|f|g1|j|k, 'L' : d1|d2|e|f, 'M' : b|c|e|f|h|j, 'N' : b|c|e|f|h|k, 'O' : a1|a2|b|c|d1|d2|e|f, 'P' : a1|a2|b|e|f|g1|g2, 'Q' : a1|a2|b|c|d1|d2|e|f|k, 'R' : a1|a2|b|e|f|g1|g2|k, 'S' : a1|a2|c|d1|d2|f|g1|g2, 'T' : a1|a2|i|l, 'U' : b|c|d1|d2|e|f, 'V' : e|f|j|m, 'W' : b|c|e|f|k|m, 'X' : h|j|k|m, 'Y' : b|f|g1|g2|l, 'Z' : a1|a2|d1|d2|j|m, '-' : g1|g2, '?' : a1|a2|b|g2|l, '+' : g1|g2|i|l, '*' : g1|g2|h|i|j|k|l|m }; }());
var G = function() { this.x = 0; this.y = 0; } G.prototype.printG = function(ctx) { xG = this.x; yG = this.y; wG = 88; hG = 140; ctx.beginPath(); ctx.moveTo(xG + wG, yG); // ctx.lineTo(xG, yG); ctx.lineTo(xG, yG + hG); ctx.lineWidth = 20; ctx.strokeStyle = "#2FEF11"; ctx.lineCap = 'square'; ctx.stroke(); } var V = function() { this.x = 0; this.y = 0; } V.prototype.printV = function(ctx) { var wV = 88, hV = 140, xV = this.x, yV = this.y; ctx.beginPath(); ctx.moveTo(xV + 60, yV); ctx.lineTo(xV, yV); ctx.lineTo(xV, yV + hV); ctx.lineTo(xV + wV, yV + hV); ctx.lineTo(xV + wV, yV + 60); ctx.lineTo(xV, yV + 60); ctx.moveTo(xV + 60, yV + 60); ctx.lineTo(xV + 60, yV); ctx.strokeStyle = "#EC0FCF"; ctx.lineWidth = 20; ctx.lineCap = 'square'; ctx.stroke(); } var A = function() { this.x = 0; this.y = 0; } A.prototype.printA = function(ctx) { xA = this.x; yA = this.y; wA = 88; hA = 140; ctx.beginPath(); ctx.moveTo(xA, yA); ctx.lineTo(xA - 44, yA + hA); ctx.moveTo(xA, yA); ctx.lineTo(xA + 44, yA + hA); ctx.moveTo(xA - 22, yA + 90); ctx.lineTo(xA + 22, yA + 90); ctx.lineWidth = 20; ctx.strokeStyle = "#FFC62A"; ctx.lineCap = 'round'; ctx.stroke(); }
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ import React, { PropTypes, Component } from 'react'; import { addMemory } from '../../stores/MemoryStore'; import TypeSelector from '../TypeSelector'; import PersonForm from '../PersonForm'; import PlaceForm from '../PlaceForm'; import './CreatePage.scss'; const $ = require('jquery'); class CreatePage extends Component { static contextTypes = { onSetTitle: PropTypes.func.isRequired, }; constructor() { super(); this.state = { type: 'person', properties: {}}; this.form = { person: <PersonForm className="create-page__input" inputsCleared={this.state.inputsCleared} onInputChange={this.handleInputChange.bind(this)} />, place: <PlaceForm className="create-page__input" inputsCleared={this.state.inputsCleared} onInputChange={this.handleInputChange.bind(this)} /> } } handleTypeChange(e) { console.log(e.target.value); this.state = {}; this.setState({ type: e.target.value }); } handleSubmit(e) { e.preventDefault(); addMemory(this.state); this.setState({inputsCleared: true}); } handleInputChange(e) { let type = $(e.target).attr('data-type'); let id = $(e.target).attr('data-id'); console.log(id); console.log(type); let newState = {inputsCleared: false, properties: this.state.properties}; if (e.target.name.toString() === 'title') { newState.title = e.target.value; } else { newState.properties[e.target.name.toString()] = e.target.value; } this.setState(newState); } render() { const title = 'Create Page'; this.context.onSetTitle(title); return ( <form className="create-page" onSubmit={this.handleSubmit.bind(this)}> <TypeSelector onTypeChange={this.handleTypeChange.bind(this)} /> { this.form[this.state.type] } <button type="submit"> Add New Memory </button> </form> ); } } export default CreatePage;
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments)).next()); }); }; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t; return { next: verb(0), "throw": verb(1), "return": verb(2) }; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); while (_) try { if (f = 1, y && (t = y[op[0] & 2 ? "return" : op[0] ? "throw" : "next"]) && !(t = t.call(y, op[1])).done) return t; if (y = 0, t) op = [0, t.value]; switch (op[0]) { case 0: case 1: t = op; break; case 4: _.label++; return { value: op[1], done: false }; case 5: _.label++; y = op[1]; op = [0]; continue; case 7: op = _.ops.pop(); _.trys.pop(); continue; default: if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } if (t[2]) _.ops.pop(); _.trys.pop(); continue; } op = body.call(thisArg, _); } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; var sourceMapSupport = require("source-map-support"); var BehaviorSubject_1 = require("rxjs/BehaviorSubject"); var __1 = require(".."); var assert = require("power-assert"); sourceMapSupport.install(); describe("RxComputed", function () { var _this = this; it('sync without dependencies', function () { var counter = 0; var computed = __1.RxComputed.sync(function () { ++counter; return 1; }); assert.equal(counter, 1); assert.equal(computed.value, 1); }); it('sync with two dependencies', function () { var counter = 0; var n1 = new BehaviorSubject_1.BehaviorSubject(0); var n2 = new BehaviorSubject_1.BehaviorSubject(100); n1.next(9); n1.next(10); var computed = __1.RxComputed.sync(function (context) { ++counter; return context.get(n1) + context.get(n2); }); assert.equal(counter, 1); assert.equal(computed.value, 110); n1.next(11); assert.equal(counter, 2); assert.equal(computed.value, 111); n2.next(200); assert.equal(counter, 3); assert.equal(computed.value, 211); computed.dispose(); n1.next(12); n2.next(300); assert.equal(counter, 3); }); it('sync with one dependency read two times', function () { var counter = 0; var n = new BehaviorSubject_1.BehaviorSubject(10); var computed = __1.RxComputed.sync(function (context) { ++counter; return context.get(n) + context.get(n); }); assert.equal(counter, 1); assert.equal(computed.value, 20); n.next(11); assert.equal(counter, 2); assert.equal(computed.value, 22); n.next(13); assert.equal(counter, 3); assert.equal(computed.value, 26); computed.dispose(); n.next(14); assert.equal(counter, 3); }); it('sync with one dependency used in two computeds', function () { var counter1 = 0, counter2 = 0; var n = new BehaviorSubject_1.BehaviorSubject(10); var computed1 = __1.RxComputed.sync(function (context) { ++counter1; return context.get(n); }); var computed2 = __1.RxComputed.sync(function (context) { ++counter2; return context.get(n); }); assert.equal(counter1, 1); assert.equal(counter1, 1); assert.equal(computed1.value, 10); assert.equal(computed1.value, 10); n.next(20); assert.equal(counter1, 2); assert.equal(counter2, 2); assert.equal(computed1.value, 20); assert.equal(computed2.value, 20); n.next(30); assert.equal(counter1, 3); assert.equal(counter2, 3); assert.equal(computed1.value, 30); assert.equal(computed2.value, 30); computed1.dispose(); computed2.dispose(); n.next(40); assert.equal(counter1, 3); assert.equal(counter2, 3); }); it('sync with one track dependency to BehaviorSubject', function () { var counter = 0; var n = new BehaviorSubject_1.BehaviorSubject(1); var computed = __1.RxComputed.sync(function (context) { ++counter; context.track(n); return counter; }); assert.equal(counter, 1); assert.equal(computed.value, 1); assert.equal(counter, 1); assert.equal(computed.value, 1); n.next(n.value + 1); assert.equal(counter, 2); assert.equal(computed.value, 2); computed.dispose(); }); it('async with one dependency', function () { return __awaiter(_this, void 0, void 0, function () { var counter, n1, computed, resolve, promise, emit, numbers; return __generator(this, function (_a) { switch (_a.label) { case 0: counter = 0; n1 = new BehaviorSubject_1.BehaviorSubject(10); computed = __1.RxComputed.async(function (context) { ++counter; var val1 = context.get(n1); return new Promise(function (resolve) { setTimeout(function () { resolve(val1 + 1); }, 10); }); }); assert.equal(counter, 1); assert.equal(computed.value, null); promise = new Promise(function (resolver) { return resolve = resolver; }); emit = [20, 30, 40]; computed .take(2 + emit.length) .toArray() .subscribe(function (array) { return resolve(array); }); emit.forEach(function (n) { return n1.next(n); }); return [4 /*yield*/, promise]; case 1: numbers = _a.sent(); assert.equal(numbers.length, 2 + emit.length); assert.equal(numbers[0], null); assert.equal(numbers[1], 11); emit.forEach(function (n, index) { return assert.equal(numbers[2 + index], n + 1); }); computed.dispose(); return [2 /*return*/]; } }); }); }); }); //# sourceMappingURL=rx-computed.js.map
var gulp = require('gulp'); var dest = gulp.dest; var concat = require('gulp-concat'); var babel = require('gulp-babel'); var package = require('./package.json'); var version = package.version; gulp.task('10.5.1-ES3', function() { return gulp.src([ 'lib/es5-shim/es5-shim.min.js', 'lib/es5-shim/es5-sham.min.js', 'lib/Finesse/finesse-10.5.1-ES3.js', 'lib/Finesse/finesse-config-10.5.1.js', 'lib/EventEmitter/EventEmitter.js', 'lib/EventEmitter/heir.js', 'src/finn-container.js', 'src/call.js', 'src/mediachannel.js', 'src/agent.js', 'src/queue.js', 'src/finn.js' ]) .pipe(babel({ presets: ['env'], "plugins": ["transform-es2015-modules-umd"], ignore: ['lib/**'] })) .pipe(concat('finn-10_5_1_ES3-' + version + '.js')) .pipe(dest('dist')) }); gulp.task('11.0+', function() { return gulp.src([ 'lib/es5-shim/es5-shim.min.js', 'lib/es5-shim/es5-sham.min.js', 'lib/EventEmitter/EventEmitter.js', 'lib/EventEmitter/heir.js', 'src/finn-container.js', 'src/call.js', 'src/mediachannel.js', 'src/agent.js', 'src/queue.js', 'src/finn.js' ]) .pipe(babel({ presets: ['env'], plugins: ["transform-es2015-modules-umd"], ignore: ['lib/**'] })) .pipe(concat('finn-' + version + '.js')) .pipe(dest('dist')) }); gulp.task('next', function() { return gulp.src([ 'lib/EventEmitter/EventEmitter.js', 'src/finn-container.js', 'src/call.js', 'src/mediachannel.js', 'src/agent.js', 'src/queue.js', 'src/finn.js' ]) .pipe(babel({ presets: ['env'], // plugins: ["transform-es2015-modules-umd"], ignore: ['lib/**'] })) .pipe(concat('index.js')) .pipe(dest('dist')) }); gulp.task('watch', ['10.5.1-ES3', '11.0+'], function () { gulp.watch('src/**/*.js', ['10.5.1-ES3', '11.0+']); }); gulp.task('default', ['10.5.1-ES3', '11.0+']);
// usage: log('inside coolFunc', this, arguments); // paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/ window.log = function() { log.history = log.history || []; // store logs to an array for reference log.history.push(arguments); if(this.console) { arguments.callee = arguments.callee.caller; var newarr = [].slice.call(arguments); ( typeof console.log === 'object' ? log.apply.call(console.log, console, newarr) : console.log.apply(console, newarr)); } }; // make it safe to use console.log always (function(b) { function c() { } for(var d = "assert,clear,count,debug,dir,dirxml,error,exception,firebug,group,groupCollapsed,groupEnd,info,log,memoryProfile,memoryProfileEnd,profile,profileEnd,table,time,timeEnd,timeStamp,trace,warn".split(","), a; a = d.pop(); ) { b[a] = b[a] || c } })((function() { try {console.log(); return window.console; } catch(err) { return window.console = {}; } })()); /* * Peach - Clean & Smooth Admin Template * by Stammi <http://themeforest.net/user/Stammi> * * =========== * Plugins * =========== * * ----------------- * TABLE OF CONTENTS * ----------------- * * 1) Menu * 2) Alert Boxes * a) Create * b) Remove * 3) Tabs * 4) CSS height/width hook */ /* ================================================== * 1) Menu by Simon Stamm * ================================================== */ jQuery.fn.initMenu = function() { return $(this).each(function() { var $menu = $(this); // Set the container's height $menu.find('.sub').show(); $menu.parent().height($menu.height() + 10); $menu.find('.sub').hide(); // Append arrow to submenu items $menu.find('li:has(ul)').each(function() { $(this).children('a').append("<span class='arrow'>&raquo;</span>"); }); $menu.find('.sub').hide(); // The main part $menu.find('li a').click(function(e) { e.stopImmediatePropagation(); var $submenu = $(this).next(), $this = $(this); if($menu.hasClass('noaccordion')) { if($submenu.length == 0) { window.location.href = this.href; } $submenu.slideToggle('normal'); return false; } else { // Using accordeon if($submenu.hasClass('sub') && $submenu.is(':visible')) { // If already visible, slide up if($menu.hasClass('collapsible')) { $menu.find('.sub:visible').slideUp('normal'); return false; } return false; } else if($submenu.hasClass('sub') && !$submenu.is(':visible')) { // If not visible, slide down $menu.find('.sub:visible').slideUp('normal'); $submenu.slideDown('normal'); return false; } } }); }); }; /* ================================================== * 2) Alert Boxes by Simon Stamm * ================================================== */ /* ================================================== * 2a) Alert Boxes: Create * ================================================== */ (function($) { $.fn.alertBox = function(message, options) { var settings = $.extend({}, $.fn.alertBox.defaults, options); this.each(function(i) { var block = $(this); var alertClass = 'alert ' + settings.type; if(settings.noMargin) { alertClass += ' no-margin'; } if(settings.position) { alertClass += ' ' + settings.position; } var alertMessage = $('<div style="display:none" class="' + alertClass + ' .generated">' + message + '</div>'); if (settings.icon) { alertMessage.prepend($('<span>').addClass('icon')); } var alertElement = block.prepend(alertMessage); $(alertMessage).fadeIn(); }); }; // Default config for the alertBox function $.fn.alertBox.defaults = { type : 'info', position : 'top', noMargin : true, icon: false }; })(jQuery); /* ================================================== * 2b) Alert Boxes: Remove * ================================================== */ (function($) { $.fn.removeAlertBoxes = function() { var block = $(this); var alertMessages = block.find('.alert'); alertMessages.fadeOut(function(){$(this).remove()}); }; })(jQuery); /* ================================================== * 3) Tabs by Simon Stamm * ================================================== */ (function($){ $.fn.createTabs = function(){ var container = $(this), tab_nr = 0; container.find('.tab-content').hide(); // Open tab by hashtag if (window.location.hash.indexOf('#tab') == 0) { var hash = window.location.hash.substr(1); console.log(hash); if (typeof hash == 'number') { var tmp = parseInt(window.location.hash.substr(1), 10); if (tmp > 0 && tmp < container.find('.tab-content').size()) { tab_nr = tmp - 1; } } else { var tab_name = container.find('#' + hash.replace('tab-', '') + '.tab-content'); if (tab_name.size() && tab_name.not(':visible')) { tab_nr = tab_name.index(); } } } container.find(".header").find("li").eq(tab_nr).addClass("current").show(); container.find(".tab-content").eq(tab_nr).show(); container.find(".header").find("li").click(function() { container.find(".header").find("li").removeClass("current"); $(this).addClass("current"); container.find(".tab-content").hide(); var activeTab = $(this).find("a").attr("href"); $(activeTab).fadeIn(); return false; }); }; })(jQuery); /* ================================================== * 4) CSS height/width hook * ================================================== */ /* * Because jQuery rounds the values :-/ */ (function($) { if ($.browser.msie) { if (!window.getComputedStyle) { window.getComputedStyle = function(el, pseudo) { this.el = el; this.getPropertyValue = function(prop) { var re = /(\-([a-z]){1})/g; if (prop == 'float') prop = 'styleFloat'; if (re.test(prop)) { prop = prop.replace(re, function () { return arguments[2].toUpperCase(); }); } return el.currentStyle[prop] ? el.currentStyle[prop] : null; } return this; } } } var dir = ['height', 'width']; $.each(dir, function() { var self = this; $.cssHooks[this + 'Exact'] = { get : function(elem, computed, extra) { return window.getComputedStyle(elem)[self]; } }; }); })(jQuery);
import React from 'react'; import ReactDOM from 'react-dom'; export default class CustomUrl extends React.Component{ constructor(props){ super(props) this.state = {url:""} } componentDidUpdate(){ this.setFocus(); } componentDidMount(){ this.setFocus(); } setFocus(){ } handleChange(event){ this.setState({url: event.target.value}); } onSubmit(e){ e.preventDefault(); e.stopPropagation(); console.log(this.state.url); this.props.handleSend(this.state.url); return false; } render(){ return(<form method="" action="" onSubmit={this.onSubmit.bind(this)}><input ref="input" placeholder="http://example.com" value={this.state.url} onChange={this.handleChange.bind(this)} type="text"/><button type="submit">Submit</button></form>) } }
Parsley.addMessages("fr",{dateiso:"Cette valeur n'est pas une date valide (YYYY-MM-DD).",minwords:"Cette valeur est trop courte. Elle doit contenir au moins %s mots.",maxwords:"Cette valeur est trop longue. Elle doit contenir tout au plus %s mots.",words:"Cette valeur est invalide. Elle doit contenir entre %s et %s mots.",gt:"Cette valeur doit \xeatre plus grande.",gte:"Cette valeur doit \xeatre plus grande ou \xe9gale.",lt:"Cette valeur doit \xeatre plus petite.",lte:"Cette valeur doit \xeatre plus petite ou \xe9gale.",notequalto:"Cette valeur doit \xeatre diff\xe9rente."});
/* *** INVENTORY JS *** */ //console.log("inventory.js called"); var hasKey = false; var itemsDiv = document.createElement("div"); itemsDiv.setAttribute("id", "itemsDiv"); var itemsStyle = "position:absolute; top:20px; right:0; width:50%; height:100px; text-align:center;" itemsDiv.setAttribute("style", itemsStyle); document.body.appendChild(itemsDiv); itemsHTML = '<div class="btn green" style="float:left; width:55px; height:55px; margin:0 25px 0 0; background:green; border-radius:50%; cursor:pointer;"></div><div class="btn blue" style="float:left; width:55px; height:55px; background:blue; border-radius:50%; cursor:pointer;"></div>'; document.getElementById("itemsDiv").innerHTML = itemsHTML; function updateInventory() { //console.log("updateInventory() called"); hasKey = true; keyNum = 1; keyHTML = '<div class="key" style="display:block; width:30px; height:30px; margin:0 0 20px 0; background:#c0c0c0; position:relative; top:10px; left:10px;"><div class="circle" style="display:block; margin: 0 auto; background:#000; width:10px; height:10px; position:absolute; top:10px; bottom:0; left:0;right:0; border-radius:50%;"><div class="handle" style="display:block; width:50px; height:5px; position:relative; left:20px; background:#c0c0c0;"><div class="end" style="display:block; width:5px; height:15px; position:absolute; top:0; right:15px; background:#c0c0c0;"></div><div class="end2" style="display:block; width:5px; height:15px; position:absolute; top:0; right:5px; background:#c0c0c0;"></div></div></div></div>'+keyNum; var keyDiv = document.createElement("div"); keyDiv.setAttribute("id", "keyDiv"); var keyStyle = "position:absolute; top:0; left:0; width:100px; height:100px; padding:10px; text-align:center; color:#c0c0c0; font-size:20px;" keyDiv.setAttribute("style", keyStyle); document.body.appendChild(keyDiv); document.getElementById("keyDiv").innerHTML = keyHTML; //console.log(document.getElementById("keyDiv").innerHTML); //parent.location = "?hasKey=true"; } function getQueryVariable(variable) { var query = window.location.search.substring(1); var vars = query.split("&"); for (var i=0;i<vars.length;i++) { var pair = vars[i].split("="); if(pair[0] == variable){return pair[1];} } return(false); } //console.log(getQueryVariable("id")); var queryKey = getQueryVariable("hasKey"); //console.log(queryKey); if (queryKey == "true") { //console.log("key queried"); updateInventory(); }
/* * Utilities: A classic collection of JavaScript utilities * Copyright 2112 Matthew Eernisse (mde@fleegix.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ var fs = require('fs') , path = require('path') , JS_PAT = /\.(js|coffee)$/ , logger; var logger = new (function () { var out; try { out = require('./logger'); } catch (e) { out = console; } this.log = function (o) { out.log(o); }; })(); var fileUtils = new (function () { var _copyFile = function(fromPath, toPath, opts) { var from = path.normalize(fromPath) , to = path.normalize(toPath) , options = opts || {} , fromStat , toStat , destExists , destDoesNotExistErr , content , filename , dirContents , targetDir; fromStat = fs.statSync(from); try { //console.dir(to + ' destExists'); toStat = fs.statSync(to); destExists = true; } catch(e) { //console.dir(to + ' does not exist'); destDoesNotExistErr = e; destExists = false; } // Destination dir or file exists, copy into (directory) // or overwrite (file) if (destExists) { // If there's a rename-via-copy file/dir name passed, use it. // Otherwise use the actual file/dir name filename = options.rename || path.basename(from); // Copying a directory if (fromStat.isDirectory()) { dirContents = fs.readdirSync(from); targetDir = path.join(to, filename); // We don't care if the target dir already exists try { fs.mkdirSync(targetDir, options.mode || 0755); } catch(e) { if (e.code != 'EEXIST') { throw e; } } for (var i = 0, ii = dirContents.length; i < ii; i++) { //console.log(dirContents[i]); _copyFile(path.join(from, dirContents[i]), targetDir); } } // Copying a file else { content = fs.readFileSync(from); // Copy into dir if (toStat.isDirectory()) { //console.log('copy into dir ' + to); fs.writeFileSync(path.join(to, filename), content); } // Overwrite file else { //console.log('overwriting ' + to); fs.writeFileSync(to, content); } } } // Dest doesn't exist, can't create it else { throw destDoesNotExistErr; } } , _copyDir = function (from, to, opts) { var createDir = opts.createDir; } , _readDir = function (dirPath) { var dir = path.normalize(dirPath) , paths = [] , ret = [dir]; try { paths = fs.readdirSync(dir); } catch (e) { throw new Error('Could not read path ' + dir); } paths.forEach(function (p) { var curr = path.join(dir, p); var stat = fs.statSync(curr); if (stat.isDirectory()) { ret = ret.concat(_readDir(curr)); } else { ret.push(curr); } }); return ret; } , _rmDir = function (dirPath) { var dir = path.normalize(dirPath) , paths = []; paths = fs.readdirSync(dir); paths.forEach(function (p) { var curr = path.join(dir, p); var stat = fs.statSync(curr); if (stat.isDirectory()) { _rmDir(curr); } else { fs.unlinkSync(curr); } }); fs.rmdirSync(dir); } // Recursively watch files with a callback , _watch = function (path, callback) { fs.stat(path, function (err, stats) { if (err) { return false; } if (stats.isFile() && JS_PAT.test(path)) { fs.watchFile(path, callback); } else if (stats.isDirectory()) { fs.readdir(path, function (err, files) { if (err) { return log.fatal(err); } for (var f in files) { _watch(path + '/' + files[f], callback); } }); } }); }; this.cpR = function (fromPath, toPath, options) { var from = path.normalize(fromPath) , to = path.normalize(toPath) , toStat , doesNotExistErr , paths , filename , opts = options || {}; if (!opts.silent) { logger.log('cp -r ' + fromPath + ' ' + toPath); } opts = {}; // Reset if (from == to) { throw new Error('Cannot copy ' + from + ' to itself.'); } // Handle rename-via-copy try { toStat = fs.statSync(to); } catch(e) { doesNotExistErr = e; // Get abs path so it's possible to check parent dir if (!this.isAbsolute(to)) { to = path.join(process.cwd() , to); } // Save the file/dir name filename = path.basename(to); // See if a parent dir exists, so there's a place to put the /// renamed file/dir (resets the destination for the copy) to = path.dirname(to); try { toStat = fs.statSync(to); } catch(e) {} if (toStat && toStat.isDirectory()) { // Set the rename opt to pass to the copy func, will be used // as the new file/dir name opts.rename = filename; //console.log('filename ' + filename); } else { throw doesNotExistErr; } } _copyFile(from, to, opts); }; this.mkdirP = function (dir, mode) { var dirPath = path.normalize(dir) , paths = dirPath.split(/\/|\\/) , currPath , next; if (paths[0] == '' || /^[A-Za-z]+:/.test(paths[0])) { currPath = paths.shift() || '/'; currPath = path.join(currPath, paths.shift()); //console.log('basedir'); } while ((next = paths.shift())) { if (next == '..') { currPath = path.join(currPath, next); continue; } currPath = path.join(currPath, next); try { //console.log('making ' + currPath); fs.mkdirSync(currPath, mode || 0755); } catch(e) { if (e.code != 'EEXIST') { throw e; } } } }; this.readdirR = function (dir, opts) { var options = opts || {} , format = options.format || 'array' , ret; ret = _readDir(dir); return format == 'string' ? ret.join('\n') : ret; }; this.rmRf = function (p, options) { var stat , opts = options || {}; if (!opts.silent) { logger.log('rm -rf ' + p); } try { stat = fs.statSync(p); if (stat.isDirectory()) { _rmDir(p); } else { fs.unlinkSync(p); } } catch (e) {} }; this.isAbsolute = function (p) { var match = /^[A-Za-z]+:\\|^\//.exec(p); if (match && match.length) { return match[0]; } return false; }; this.absolutize = function (p) { if (this.isAbsolute(p)) { return p; } else { return path.join(process.cwd(), p); } }; this.basedir = function (p) { var str = p || '' , abs = this.isAbsolute(p); if (abs) { return abs; } // Split into segments str = str.split(/\\|\//)[0]; // If the path has a leading asterisk, basedir is the current dir if (str.indexOf('*') > -1) { return '.'; } // Otherwise it's the first segment in the path else { return str; } }; // Search for a directory in parent directories if it can't be found in cwd this.searchParentPath = function(location, callback) { var cwd = process.cwd(); if(!location) { // Return if no path is given return; } var relPath = '' , i = 5 // Only search up to 5 directories , pathLoc , pathExists; while(--i >= 0) { pathLoc = path.join(cwd, relPath, location); pathExists = this.existsSync(pathLoc); if(pathExists) { callback && callback(undefined, pathLoc); break; } else { // Dir could not be found if(i === 0) { callback && callback(new Error("Path \"" + pathLoc + "\" not found"), undefined); break; } // Add a relative parent directory relPath += '../'; // Switch to relative parent directory process.chdir(path.join(cwd, relPath)); } } }; this.watch = function () { _watch.apply(this, arguments); }; // Compatibility for fs.exists(0.8) and path.exists(0.6) this.exists = (typeof fs.exists === 'function') ? fs.exists : path.exists; // Compatibility for fs.existsSync(0.8) and path.existsSync(0.6) this.existsSync = (typeof fs.existsSync === 'function') ? fs.existsSync : path.existsSync; // Require a module locally, i.e., in the node_modules directory // in the current directory this.requireLocal = function(module, message) { // Try to require in the application directory try { dep = require(path.join(process.cwd(), 'node_modules', module)); } catch(err) { if(message) { throw new Error(message); } throw new Error('Module "' + module + '" could not be found as a ' + 'local module.\n Please make sure there is a node_modules directory in the ' + 'current directory,\n and install it by doing "npm install ' + module + '"'); } return dep; }; })(); module.exports = fileUtils;
/** * Created by AndrewLiang on 2015/11/24. */ 'use strict'; /** * Module dependencies. */ /* * Define Variable * fullPath : "E:\Andrew\serve-komplete\public\pure.html" * fullDistPath : "E:\Andrew\serve-komplete\public\dist\pure.html" * fullDotPath : "E:\Andrew\serve-komplete\public\pure." * filePath : "\pure.html" * fullFilePath : "\dist\pure.html", * fileName : "pure", * fullFileName : "pure.html", * extName : "html" * fullExtName : ".html" * */ var parseUrl = require('parseurl'); var path = require('path'); var fs = require('fs-extra'); var url = require('url'); var finalhandler = require('finalhandler'); var statuses = require('statuses'); var _extend = require('util')._extend; var config = require('../config'); var index = config.index || ['index.html', 'default.htm']; var extend = config.extend || ['html', 'htm']; var exclude = config.exclude || []; var root = determineRoot(config.root); var dist = config.dist || 'dist'; var indexLen = index.length; var indexExtend = extend.length; var staticServe = require('./static')(root, index); var engine = require('./' + config.engine.name)(root, config.engine.setting || {}); /** * Module exports. * @public */ module.exports = serve; function serve(req, res) { var filePath = parseUrl(req).pathname; // /index.html var fullExtName = path.extname(filePath); // .html // dir if (filePath === '/' || (filePath && filePath.substr(-1) === '/')) { findDefaultFile(filePath, req, res); return false; } // file if (fullExtName) { distribute(filePath, fullExtName, req, res); return false; } // file no extend findExtend(filePath, req, res); } /* * 如果访问的是目录的话(/ 或者 /xx/ ), 按照设置的索引文件挨个读取,如果存在此文件,则渲染返回,否则返回 404 * */ function findDefaultFile(filePath, req, res) { var fileDirectory = path.resolve(root + filePath) + '/'; // 当前将要访问文件的目录 var i = 0; function findFile(fullPath) { if (i >= indexLen) { error(res, 404, "", fullPath); return false; } fullPath = path.resolve(fullPath); fs.stat(fullPath, function (err, stats) { if (err) { if (err.code === 'ENOENT') { //console.log('ENOENT'); error(res, 404, "", fullPath); } else { error(res, 500, '读取索引文件状态出错!' + err, "", fullPath); } return false; } if (stats && stats.isFile()) { render(filePath + path.basename(fullPath), req, res); } else { i++; findFile(fileDirectory + index[i]); } }); } findFile(fileDirectory + index[0]); } function findExtend(filePath, req, res) { var fullDotPath = path.resolve(root + filePath) + '.'; // 当前将要访问文件 filePath /pure var i = 0; function findFile(fullPath, ext) { if (i >= indexExtend) { return false; } // E:\Andrew\serve-komplete\public\pure.html fs.stat(fullPath, function (err, stats) { if (err) { if (err.code === 'ENOENT') { //console.log('ENOENT'); error(res, 404, "", fullPath); return false; } else { error(res, 500, '读取索引文件状态出错!' + err, "", fullPath); return false; } } if (stats && stats.isFile()) { // /pure.html render(filePath + '.' + ext, req, res); } else { i++; findFile(fullDotPath + extend[i], extend[i]); } }); } findFile(fullDotPath + extend[0], extend[0]); } function distribute(pathname, extName, req, res) { var fileName = path.resolve(root + pathname); var file = path.basename(pathname); var ext = extName.replace('.', ''); var done = function () { }; if (extend.indexOf(ext) > -1) { fs.stat(fileName, function (err, stats) { if (err) { if (err.code === 'ENOENT') { error(res, 404, "", pathname); return false; } else { error(res, 500, '读取文件状态出错!' + err, "", pathname); return false; } } if (stats && stats.isFile()) { render(pathname, req, res); } }); } else { done = finalhandler(req, res); staticServe(req, res, done); } } function render(filePath, req, res) { var data = preData(req, res); var done = function () {}; //var production = process.env.NODE_ENV === 'production'; //var pathName = path.resolve(root + filePath); // E:\Andrew\serve-komplete\public\index.html //var filePath = fileName; // /index.html /*if (production) { fs.stat(pathName, function (err, stats) { if (err) { if (err.code === 'ENOENT') { error(res, 404, "", pathname); return false; } else { error(res, 500, '读取文件状态出错!' + err, "", pathname); return false; } } if (stats && stats.isFile()) { // 更改访问的路径,加上 dist 目录 req.url = req.url + config.dist + '/'; done = finalhandler(req, res); staticServe(req, res, done); } }); return false; }*/ var fullFileName = filePath.slice(1, filePath.length); engine.render(fullFileName, data, function (err, file) { if (err) { console.log(err); error(res, 500, err, "", filePath); return false; } writeFile(fullFileName, file, function (err, file) { if (err) { console.log('文件:' + (config.dist + fullFileName) + '生成失败,错误详情:' + err); return false; } req.url = config.dist + filePath; // dist/pure.html done = finalhandler(req, res); staticServe(req, res, done); }); }); } function writeFile(fileName, file, callback) { var fullDistPath = path.resolve(root + '/' + dist + '/' + fileName); var has = false; exclude.forEach(function (name, index) { if (fullDistPath.indexOf(name) > -1) { has = true; } }); if (has) { return false; } fs.outputFile(fullDistPath, file, function (err) { if (callback) { callback(err, fullDistPath); } }); } function error(res, status, msg, filePath) { msg = (msg || statuses[status]).toString(); console.log(filePath + ' ' + msg); res._headers = null; // send basic response res.statusCode = status; res.setHeader('Content-Type', 'text/html; charset=UTF-8'); res.setHeader('Content-Length', Buffer.byteLength(filePath + ' ' + msg)); res.setHeader('X-Content-Type-Options', 'nosniff'); res.write(filePath + ' ' + msg); res.end(); } function preData(req, res) { var query = url.parse(req.url, true).query; var filePath = parseUrl(req).pathname; query.navPath = filePath.slice(1, filePath.length); if (typeof config.data === 'function') { return config.data(query); } else { return _extend(query, config.data); } } function determineRoot(root) { if (!root) { root = path.resolve(__dirname + '/../public'); console.warn('Root Path is not set! Using ' + root + ' instead!'); } return root; }
let story = require('storyboard').mainStory; let plugged = require('../client'); module.exports = { event: plugged.SOCK_ERROR, handler:()=> { story.error('Socket', 'Socket errored. Restarting...'); process.exit(1); } };
jcmp.events.AddRemoteCallable('race_Freeze_player_wait', function() { jcmp.localPlayer.controlsEnabled = false; // Maybe have the UI say : Wait it's you're turn to see the checkpoint jcmp.ui.CallEvent('WaityoutimeTTS',true); jcmp.ui.CallEvent('IsTTS',true); jcmp.events.CallRemote('race_debug', "race_Freeze_player_wait" + jcmp.localPlayer.networkId); }); jcmp.events.AddRemoteCallable('TTS_race_Freeze_player', function() { countdowninprogress = true; jcmp.ui.CallEvent('WaityoutimeTTS',false); jcmp.ui.CallEvent('Race_Timer_container', true); jcmp.ui.CallEvent('Countdown_start'); jcmp.events.CallRemote('race_debug', "TTS_race_Freeze_player " + jcmp.localPlayer.networkId ); //doing the countdown for the race to start }); jcmp.ui.AddEvent('TTS_race_countdown_end', function() { jcmp.localPlayer.controlsEnabled = true; countdowninprogress = false; jcmp.events.CallRemote('race_debug', "TTS_race_countdown_end " + jcmp.localPlayer.networkId); jcmp.events.CallRemote('TTS_Race_player_Start_New_Player'); jcmp.events.CallRemote('race_debug', "CountdownEND"); });
"use strict"; let debug = location.hostname === "localhost"; module.exports = analytics; /** * Initializes Google Analytics and sends a "pageview" hit */ function analytics () { if (!debug) { if (typeof gtag === "undefined") { console.warn("Google Analytics is not enabled"); } } } /** * Tracks an event in Google Analytics * * @param {string} category - the object type (e.g. "button", "menu", "link", etc.) * @param {string} action - the action (e.g. "click", "show", "hide", etc.) * @param {string} [label] - label for categorization * @param {number} [value] - numeric value, such as a counter */ analytics.trackEvent = function (category, action, label, value) { try { console.log("Analytics event: ", category, action, label, value); if (!debug) { gtag("event", action, { event_category: category, // eslint-disable-line camelcase event_label: label, // eslint-disable-line camelcase value }); } } catch (error) { analytics.trackError(error); } }; /** * Tracks an error in Google Analytics * * @param {Error} err */ analytics.trackError = function (err) { try { console.error("Analytics error: ", err); if (!debug) { gtag("event", "exception", { name: err.name || "Error", description: err.message, stack: err.stack, }); } } catch (error) { console.error(err); } };
var HelloWorldLayer = cc.Layer.extend({ sprite: null, info: null, ctor: function() { ////////////////////////////// // 1. super init first this._super(); cc.log("Sample Startup") this.createTestMenu(); var winsize = cc.winSize; var logo = new cc.Sprite("res/Logo.png"); var logoSize = logo.getContentSize(); logo.x = logoSize.width / 2; logo.y = winsize.height - logoSize.height / 2; this.addChild(logo); var quit = new cc.MenuItemLabel(new cc.LabelTTF("QUIT", "sans", 32), function() { cc.log("QUIT"); }); var menu = new cc.Menu(quit); var size = quit.getContentSize(); menu.x = winsize.width - size.width / 2 - 16; menu.y = size.height / 2 + 16; this.addChild(menu); this.info = new cc.LabelTTF("unknown status", "sans", 24); this.info.x = cc.Director.getInstance().getWinSize().width / 2; this.info.y = 90; this.addChild(this.info); return true; }, createTestMenu: function() { cc.MenuItemFont.setFontName("sans"); var size = cc.Director.getInstance().getWinSize(); // var coin = 0; // var coinLabel = new cc.LabelTTF("0", "sans", 32); // coinLabel.x = size.width / 2; // coinLabel.y = size.height - 80; // this.addChild(coinLabel); var score = 1000; var menu = new cc.Menu( new cc.MenuItemFont("Connect/Disconnect", function() { if (sdkbox.PluginSdkboxPlay.isSignedIn()) { sdkbox.PluginSdkboxPlay.signout(); } else { sdkbox.PluginSdkboxPlay.signin(); } }), new cc.MenuItemFont("Show Leaderboard ldb1", function() { sdkbox.PluginSdkboxPlay.showLeaderboard("ldb1"); }), new cc.MenuItemFont("Achievements", function() { sdkbox.PluginSdkboxPlay.showAchievements(); }), new cc.MenuItemFont("Unlock Craftsmen", function() { sdkbox.PluginSdkboxPlay.unlockAchievement("craftsman"); }), new cc.MenuItemFont("Unlock Hunter", function() { sdkbox.PluginSdkboxPlay.unlockAchievement("hunter"); }), new cc.MenuItemFont("Unlock Ten Games", function() { sdkbox.PluginSdkboxPlay.unlockAchievement("ten-games"); }), new cc.MenuItemFont("Unlock incremental", function() { sdkbox.PluginSdkboxPlay.incrementAchievement("incremental", 1); }), new cc.MenuItemFont("Submit Score 1000", function() { sdkbox.PluginSdkboxPlay.submitScore("ldb1", score); }), new cc.MenuItemFont("load game data", function() { sdkbox.PluginSdkboxPlay.loadAllData(); }), new cc.MenuItemFont("save game data", function() { sdkbox.PluginSdkboxPlay.saveGameData("key1", "test data"); }) ); menu.alignItemsVerticallyWithPadding(5); menu.x = size.width / 2; menu.y = size.height / 2; this.addChild(menu); var me = this; var initSDK = function() { if ("undefined" == typeof(sdkbox)) { cc.log("sdkbox is not exist") return } if ("undefined" != typeof(sdkbox.PluginSdkboxPlay)) { var plugin = sdkbox.PluginSdkboxPlay plugin.setListener({ onConnectionStatusChanged: function(connection_status) { cc.log("connection status change: " + connection_status + " connection_status"); if (connection_status == 1000) { cc.log('Player id: ' + plugin.getPlayerId()); cc.log('Player name: ' + plugin.getPlayerAccountField("name")); me.info.setString("connection status: " + connection_status + " " + plugin.getPlayerId() + " " + plugin.getPlayerAccountField("name") + "(" + plugin.getPlayerAccountField("display_name") + ")"); } else { me.info.setString("Not connected. Status: " + connection_status); } }, onScoreSubmitted: function(leaderboard_name, score, maxScoreAllTime, maxScoreWeek, maxScoreToday) { cc.log('onScoreSubmitted trigger leaderboard_name:' + leaderboard_name + ' score:' + score + ' maxScoreAllTime:' + maxScoreAllTime + ' maxScoreWeek:' + maxScoreWeek + ' maxScoreToday:' + maxScoreToday); }, onMyScore: function(leaderboard_name, time_span, collection_type, score) { cc.log('onMyScore trigger leaderboard_name:' + leaderboard_name + ' time_span:' + time_span + ' collection_type:' + collection_type + ' score:' + score); }, onMyScoreError: function(leaderboard_name, time_span, collection_type, error_code, error_description) { cc.log('onMyScoreError trigger leaderboard_name:' + leaderboard_name + ' time_span:' + time_span + ' collection_type:' + collection_type + ' error_code:' + error_code + ' error_description:' + error_description); }, onPlayerCenteredScores: function(leaderboard_name, time_span, collection_type, json_with_score_entries) { cc.log('onPlayerCenteredScores trigger leaderboard_name:' + leaderboard_name + ' time_span:' + time_span + ' collection_type:' + collection_type + ' json_with_score_entries:' + json_with_score_entries); }, onPlayerCenteredScoresError: function(leaderboard_name, time_span, collection_type, error_code, error_description) { cc.log('onPlayerCenteredScoresError trigger leaderboard_name:' + leaderboard_name + ' time_span:' + time_span + ' collection_type:' + collection_type + ' error_code:' + error_code + ' error_description:' + error_description); }, onIncrementalAchievementUnlocked: function(achievement_name) { cc.log("incremental achievement " + achievement_name + " unlocked."); }, onIncrementalAchievementStep: function(achievement_name, step) { cc.log("incremental achievent " + achievement_name + " step: " + step); }, onIncrementalAchievementStepError: function(name, steps, error_code, error_description) { cc.log('onIncrementalAchievementStepError trigger leaderboard_name:' + name + ' steps:' + steps + ' error_code:' + error_code + ' error_description:' + error_description); }, onAchievementUnlocked: function(achievement_name, newlyUnlocked) { cc.log('onAchievementUnlocked trigger achievement_name:' + achievement_name + ' newlyUnlocked:' + newlyUnlocked); }, onAchievementUnlockError: function(achievement_name, error_code, error_description) { cc.log('onAchievementUnlockError trigger achievement_name:' + achievement_name + ' error_code:' + error_code + ' error_description:' + error_description); }, onAchievementsLoaded: function(reload_forced, json_achievements_info) { cc.log('onAchievementsLoaded trigger reload_forced:' + reload_forced + ' json_achievements_info:' + json_achievements_info); }, onSetSteps: function(name, steps) { cc.log('onSetSteps trigger name:' + name + ' steps:' + steps); }, onSetStepsError: function(name, steps, error_code, error_description) { cc.log('onSetStepsError trigger name:' + name + ' steps:' + steps + ' error_code:' + error_code + ' error_description:' + error_description); }, onReveal: function(name) { cc.log('onReveal trigger name:' + name); }, onRevealError: function(name, error_code, error_description) { cc.log('onRevealError trigger name:' + name + ' error_code:' + error_code + ' error_description:' + error_description); }, onGameData: function(action, name, data, error) { if (error) { // failed cc.log('onGameData failed:' + error); } else { //success if ('load' == action) { cc.log('onGameData load:' + name + ':' + data); } else if ('save' == action) { cc.log('onGameData save:' + name + ':' + data); } else { cc.log('onGameData unknown action:' + action); } } } }); plugin.init(); // ref to http://discuss.cocos2d-x.org/t/sdkbox-play-savegamedata-error/39367 plugin.saveGameData("name", 'test'); // crash here ? } else { printf("no plugin init") } } initSDK(); } }); var HelloWorldScene = cc.Scene.extend({ onEnter: function() { this._super(); var layer = new HelloWorldLayer(); this.addChild(layer); } });
(function() { 'use strict'; angular.module('services') .service('firebaseService', firebaseService); firebaseService.$inject = ['$q']; function firebaseService($q) { var svc = this; /*====================== Delegation Variables =========================== */ svc.checkUserSession = checkUserSession; svc.emailConfirm = emailConfirm; svc.initializeFireBase = initializeFireBase; svc.readChildKeysOnce = readChildKeysOnce; svc.readDataOn = readDataOn; svc.readDataOnce = readDataOnce; svc.readDataOff = readDataOff; svc.removeDataPoint = removeDataPoint; svc.readKeyOnce = readKeyOnce; svc.signInUser = signInUser; svc.signOutUser = signOutUser; svc.signUpUser = signUpUser; svc.writeData = writeData; /*====================== public Variables =============================== */ /*====================== private Variables ============================== */ var database; var auth; /*====================== Services ======================================= */ /*====================== Public Methods ================================= */ function checkUserSession(){ var deferred = $q.defer(); auth.onAuthStateChanged(function(user) { if (user) { // User is signed in. deferred.resolve(user); } else { // No user is signed in. deferred.reject(); } }); return deferred.promise; } function emailConfirm(_user){ _user.sendEmailVerification() .catch(function(error){ console.error(error.code+':'+error.message); }); } function initializeFireBase(){ console.log("starting firebaseapp"); var config = { apiKey: "AIzaSyD9wFQXNmqInupKbaFOrX_lxq29FmaahFo", authDomain: "angular-todo-3c46d.firebaseapp.com", databaseURL: "https://angular-todo-3c46d.firebaseio.com/", //storageBucket: "bucket.appspot.com", //messagingSenderId: "<SENDER_ID>" }; var fbApp = firebase.initializeApp(config); // Get a reference to the database service database = fbApp.database(); auth = fbApp.auth(); } function readDataOnce(_path){ var deferred = $q.defer(); //var uid = auth.currentUser.uid; //var path = 'users/'+userID+"/"+path+dataID; var data; var dataPoint = database.ref(_path); dataPoint.once('value') .then(function(snapshot){ data = snapshot.val(); //console.log(data); deferred.resolve(data); }).catch(function(error){ deferred.reject(error); }); return deferred.promise; } function readDataOn(_path, callback){ //var deferred = $q.defer(); var dataPoint = database.ref(_path); dataPoint.on('value',function(snapshot){ callback(snapshot.val()); }); // .then(function(snapshot){ // data = snapshot.val(); // // deferred.resolve(); // }, function(error){ // deferred.reject(); // }); // // return defered.promise; } function readDataOff(_path){ var dataPoint = database.ref(_path); dataPoint.off()//'value',callback); } function removeDataPoint(_path){ var deferred = $q.defer(); var dataPoint = database.ref(_path); dataPoint.remove() .then(function(){ deferred.resolve() },function(error){ deferred.reject() }); return deferred.promise; } function readKeyOnce(userID,_path){ var deferred = $q.defer(); //var uid = auth.currentUser.uid; var path = 'users/'+userID+"/"+_path; var keyName; var dataPoint = database.ref(path); dataPoint.once('value') .then(function(snapshot){ keyName = snapshot.key(); console.log(data); deferred.resolve(keyName); }).catch(function(error){ deferred.reject(error); }); return deferred.promise; } function readChildKeysOnce(userID,_path){ var deferred = $q.defer(); //var uid = auth.currentUser.uid; var path = 'users/'+userID+"/"+_path; var keyNames = []; var dataPoint = database.ref(path).orderByKey(); dataPoint.once('value') .then(function(snapshot){ snapshot.forEach(function(childSnapshot){ var key = childSnapshot.key keyNames.push(key); }); // keyName = snapshot.key(); // console.log(data); deferred.resolve(keyNames); }).catch(function(error){ deferred.reject(error); }); return deferred.promise; } function signInUser(email,password){ var deferred = $q.defer(); //note you can do .then(resolution/success,resolution/success instead of .then(resolution/success).catch(resolution/success) auth.signInWithEmailAndPassword(email, password) .then(function(user){ //console.log("then succes"); console.log(user); deferred.resolve(user); }) .catch(function(error) { //console.log("then failure"); // Handle Errors here. //var errorCode = error.code; //var errorMessage = error.message; deferred.reject(error); // ... }); return deferred.promise; } function signOutUser(){ var deferred = $q.defer(); //note you can do .then(resolution/success,resolution/success instead of .then(resolution/success).catch(resolution/success) auth.signOut().then(function(){ deferred.resolve(true); }).catch(function(error){ deferred.reject(error); }); return deferred.promise; } function signUpUser(email,password){ var deferred = $q.defer(); //note you can do .then(resolution/success,resolution/success instead of .then(resolution/success).catch(resolution/success) auth.createUserWithEmailAndPassword(email, password) .then(function(user){ emailConfirm(user); deferred.resolve(user); }).catch(function(error) { if (error.code == 'auth/weak-password') { alert('The password is too weak.'); } else { alert(error.message); } deferred.reject(error); }); return deferred.promise; } function writeData(_Path,data){ var deferred = $q.defer(); //var path = 'users/'+userID+"/"+basePath+dataID; //console.log(path); //console.log(data); var dataPoint = database.ref(_Path); dataPoint.set(data).then(function(){ deferred.resolve(); }).catch(function(error){ deferred.reject(error); }); return deferred.promise; } /*====================== Private Methods ================================ */ function init(){ //initializeFireBase(); } /*====================== Actions ======================================== */ init(); } })();
import Fuse from 'fuse.js'; import ClientModule from '../ClientModule'; import { extractTopModules, localize, resolveEntry } from '../mixins/Encyclopedia'; /** * @classdesc Module for the World of Tanks Tankopedia endpoint. * @extends ClientModule */ class Tankopedia extends ClientModule { /** * Constructor. * @param {BaseClient} client - The API client this module belongs to. */ constructor(client) { super(client, 'tankopedia'); /** * Mapping between module types and their ID field names. * @type {Object} * @static * @const * @private */ this.constructor.MODULE_ID_FIELDS = { vehicleChassis: 'suspension_id', vehicleEngine: 'engine_id', vehicleGun: 'gun_id', vehicleRadio: 'radio_id', vehicleTurret: 'turret_id', }; /** * The module's Fuse object. * @type {Fuse} * @private */ this.fuse = new Fuse([], { keys: [ 'name', 'short_name', ], }); } /** * Searches for a vehicle by name or ID and returns its entry from the * `encyclopedia/vehicles` endpoint. * @param {(number|string)} identifier - The vehicle identifier to use for * lookup. * If a number is supplied, it is treated as the vehicle's ID. * If a string is supplied, the identifier is matched against vehicle names * with the closest match being selected. * @returns {Promise.<?Object, Error>} A promise resolving to the data for the * matched vehicle, or `null` if no vehicles were matched. */ findVehicle(identifier) { return resolveEntry.call(this, { identifier, indexEndpoint: 'encyclopedia/vehicles', dataEndpoint: 'encyclopedia/vehicles', identifierKey: 'tank_id', fuse: this.fuse, searchFields: [ 'name', 'short_name', ], }); } /** * Returns the vehicle profile for a given vehicle. * @param {number} vehicleId - The vehicle ID to use for lookup. * @param {string} [profile='stock'] - The vehicle profile to lookup. Can be * a profile ID, or one of `'stock'` or `'top'`. The top configuration is * determined by picking the most expensive modules to research in the * vehicle's research tree. * @returns {Promise.<?Object, Error>} A promise resolving to the data for the * matched vehicle profile, or `null` if no vehicle was matched. */ findVehicleProfile(vehicleId, profile = 'stock') { if (profile === 'stock') { return this.client.get('encyclopedia/vehicleprofile', { tank_id: vehicleId }) .then(response => response.data[vehicleId]); } else if (profile === 'top') { return this.findVehicle(vehicleId) .then((vehicleData) => { if (!vehicleData) { return null; } const topModules = extractTopModules(vehicleData.modules_tree); const queryFields = Object.keys(topModules).reduce((accumulated, next) => { const fieldName = this.constructor.MODULE_ID_FIELDS[next]; return { ...accumulated, [fieldName]: topModules[next].module_id, }; }, {}); return this.client.get('encyclopedia/vehicleprofile', { ...queryFields, tank_id: vehicleId }); }) .then(result => result && result.data[vehicleId]); } return this.client.get('encyclopedia/vehicleprofile', { tank_id: vehicleId, profile_id: profile }) .then(response => response.data[vehicleId]); } /** * Localizes a crew role slug. * @param {string} slug - The slug. * @returns {Promise.<(string|undefined), Error>} Promise resolving to the * translated slug, or `undefined` if it couldn't be translated. */ localizeCrewRole(slug) { return localize.call(this, { method: 'encyclopedia/info', type: 'vehicle_crew_roles', slug, }); } /** * Localizes a language slug. * @param {string} slug - The slug. * @returns {Promise.<(string|undefined), Error>} Promise resolving to the * translated slug, or `undefined` if it couldn't be translated. */ localizeLanguage(slug) { return localize.call(this, { method: 'encyclopedia/info', type: 'languages', slug, }); } /** * Localizes an achievement section slug. The returned value is the section's * name. * @param {string} slug - The slug. * @returns {Promise.<(string|undefined), Error>} Promise resolving to the * translated slug, or `undefined` if it couldn't be translated. */ localizeAchievementSection(slug) { return localize.call(this, { method: 'encyclopedia/info', type: 'achievement_sections', slug, }).then(section => section && section.name); } /** * Localizes a vehicle type slug. * @param {string} slug - The slug. * @returns {Promise.<(string|undefined), Error>} Promise resolving to the * translated slug, or `undefined` if it couldn't be translated. */ localizeVehicleType(slug) { return localize.call(this, { method: 'encyclopedia/info', type: 'vehicle_types', slug, }); } /** * Localizes a vehicle nation slug. * @param {string} slug - The slug. * @returns {Promise.<(string|undefined), Error>} Promise resolving to the * translated slug, or `undefined` if it couldn't be translated. */ localizeVehicleNation(slug) { return localize.call(this, { method: 'encyclopedia/info', type: 'vehicle_nations', slug, }); } } export default Tankopedia;
(function () { 'use strict'; function OsdAuth($q, $http, $rootScope, OsdAuthConfig, OsdAuthUser) { var self = {}; self.login = function (credentials) { return $q.when($http.post(OsdAuthConfig.config.login, credentials)) .then( function loginSuccess(response) { $rootScope.$broadcast('osdauth-login-success'); return OsdAuthUser.setUser(response.data).getUser(); }, function loginError(error) { $rootScope.$broadcast('osdauth-login-error', error.data); throw error; } ); }; self.logout = function () { return $q.when($http.post(OsdAuthConfig.config.logout)) .then( function logoutSuccess() { $rootScope.$broadcast('osdauth-logout-success'); return OsdAuthUser.setUser(null).getUser(); }, function logoutError(error) { $rootScope.$broadcast('osdauth-logout-error', error.data); throw error; } ); }; self.register = function (data) { return $q.when($http.post(OsdAuthConfig.config.register, data)) .then( function registerSuccess(response) { $rootScope.$broadcast('osdauth-register-success'); return OsdAuthUser.setUser(response.data).getUser(); }, function registerError(error) { $rootScope.$broadcast('osdauth-register-error', error.data); throw error; } ); }; return self; } angular.module('osdAuth') .service('OsdAuth', OsdAuth); }());
var hopApp = angular.module('hopApp', []); /* .config(function ($routeProvider) { $routeProvider .when('/', { templateUrl: 'views/search.html', controller: 'searchCtrl', controllerAs: 'main' }) .when('/flavotron', { templateUrl: 'views/sortGrid.html', controller: 'flavoCtrl', controllerAs: 'about' }) .when('/ibuculator', { templateUrl: 'views/ibuCalculator.html', controller: 'ibuCtrl', controllerAs: 'about' }) .otherwise({ redirectTo: '/' }); }); */
import { app, router, store } from './app' const isDev = process.env.NODE_ENV !== 'production' // This exported function will be called by `bundleRenderer`. // This is where we perform data-prefetching to determine the // state of our application before actually rendering it. // Since data fetching is async, this function is expected to // return a Promise that resolves to the app instance. export default context => { const s = isDev && Date.now() return new Promise((resolve, reject) => { // set router's location router.push(context.url) // wait until router has resolved possible async hooks router.onReady(() => { const matchedComponents = router.getMatchedComponents() // no matched routes if (!matchedComponents.length) { reject({ code: 404 }) } // Call preFetch hooks on components matched by the route. // A preFetch hook dispatches a store action and returns a Promise, // which is resolved when the action is complete and store state has been // updated. Promise.all(matchedComponents.map(component => { return component.preFetch && component.preFetch(store) })).then(() => { isDev && console.log(`data pre-fetch: ${Date.now() - s}ms`) // After all preFetch hooks are resolved, our store is now // filled with the state needed to render the app. // Expose the state on the render context, and let the request handler // inline the state in the HTML response. This allows the client-side // store to pick-up the server-side state without having to duplicate // the initial data fetching on the client. context.state = store.state resolve(app) }).catch(reject) }) }) }
#!./node_modules/.bin/babel-node import { createServer } from './server'; const port = Number(process.env.PORT || '8081'); createServer().listen(port);
var fs = require('fs') var request = require('request') var parser = require('csv-parse') var toArray = require('stream-to-array') var URL = 'http://www.iana.org/assignments/http-status-codes/http-status-codes-1.csv' toArray(request(URL).pipe(parser()), function (err, codes) { if (err) throw err fs.writeFile('src/iana.json', JSON.stringify(codes)) })
var context = require.context('../test/', true, /\.test\.js$/); //make sure you have your directory and regex test set correctly! context.keys().forEach(context);
(function() { 'use strict'; // Create the button videojs.ShareButton = videojs.Button.extend({ init: function( player, options ) { // Initialize the button using the default constructor videojs.Button.call( this, player, options ); } }); // Set the text for the button videojs.ShareButton.prototype.buttonText = 'Share Video'; // These are the defaults for this class. videojs.ShareButton.prototype.options_ = {}; // videojs.Button uses this function to build the class name. videojs.ShareButton.prototype.buildCSSClass = function() { // Add our className to the returned className return 'vjs-share-button ' + videojs.Button.prototype.buildCSSClass.call(this); }; // videojs.Button already sets up the onclick event handler, we just need to overwrite the callback videojs.ShareButton.prototype.onClick = function( e ) { // We need to stop this event before it bubbles up to "window" for our event listener below. e.stopImmediatePropagation(); // There are a few ways to accomplish opening the overlay // I chose to create and destroy the overlay to demonstrate // the dispose method. Creating the component as a child is // the direction I would choose. this.overlay_ = new videojs.ShareContainer( this.player_, this.options_ ); // We need to add an event listener to close the overlay when the user clicks outside the overlay / player. // Because we are destroying the overlay, we only need to listen to this once. videojs.one( window, 'click', videojs.bind( this, this.windowClick ) ); // Add the overlay to the player this.player_.addChild( this.overlay_ ); // Call the show method to apply effects and display the overlay this.overlay_.show(); // Pause the video this.player_.pause(); }; videojs.ShareButton.prototype.windowClick = function( e ) { // Remove it from the parent (player) this.player_.removeChild( this.overlay_ ); // Now remove it from memory. // The dispose method removes the element and component. this.overlay_.dispose(); // We no longer use this variable so release it. delete this.overlay_; }; //////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Create the overlay and container for the links videojs.ShareContainer = videojs.Component.extend({ init: function( player, options ) { // call the parent constructor videojs.Component.call( this, player, options ); } }); videojs.ShareContainer.prototype.options_ = { children: { 'facebookShare': {}, 'twitterShare': {}, 'pinterestShare': {}, 'googlePlusShare': {}, 'linkedInShare': {} } }; // This function will be called by the videojs.Component constructor. videojs.ShareContainer.prototype.createEl = function( tagName, props ) { // Create the elements // The black and blury overlay var overlay = videojs.createEl( 'div', { className: 'vjs-sharing-overlay' }); // The container for the links/logos of the social sites we wish to offer var container = videojs.createEl( 'div', { className: 'vjs-sharing-container' }); // this.contentEl is the element that children (links/logos) are added to. this.contentEl_ = container; overlay.appendChild( this.contentEl_); // This will become "this.el_" return overlay; }; videojs.ShareContainer.prototype.show = function() { var techEl; var playerEl; // Do the default show method this.el_.style.display = 'table'; // To get the blur effect, we need to add it to the tech element. // But we do not want to waste our time with trying to blur a flash element. if ( this.player_.techName != "Flash" ) { techEl = this.player_.tech.el(); playerEl = this.player_.el(); // We have to set the clip property here because it is dependent on the size of the player techEl.style.clip = 'rect(0 0 ' + playerEl.offsetWidth + 'px ' + playerEl.offsetHeight + 'px)'; // Add our class to blur the video. videojs.addClass( techEl, 'vjs-blur' ); } // Hide the controls, using opacity = 0 will use the default transition timing. this.player_.controlBar.el().style.opacity = '0'; this.el_.style.opacity = '1'; }; videojs.ShareContainer.prototype.hide = function() { var techEl = this.player_.tech.el(); // Do the default hide method videojs.Component.prototype.hide.call( this ); // This time we don't care if it is flash, html, youtube etc techEl.style.clip = ''; videojs.removeClass( techEl, 'vjs-blur' ); // Show the controls, using opacity = '' will use the default opacity. this.player_.controlBar.el().style.opacity = ''; }; videojs.ShareContainer.prototype.dispose = function() { // Hide and remove classes from the tech element this.hide(); // Do the default dispose method videojs.Component.prototype.dispose.call( this ); }; //////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////// // This is the base class for the share items. Each Icon can be passed a "Name" and an icon class. videojs.OverlaySocialButton = videojs.Button.extend({ init: function( player, options ) { videojs.Button.call(this, player, options ); } }); videojs.OverlaySocialButton.prototype.createEl = function(type, props){ var el; // Add standard Aria and Tabindex info props = vjs.obj.merge({ className: this.buildCSSClass(), 'role': 'button', 'aria-live': 'polite', // let the screen reader user know that the text of the button may change tabIndex: 0 }, props); // 'i' is needed for the Font-Awesome icons el = vjs.Component.prototype.createEl.call(this, 'i', props); // if innerHTML hasn't been overridden (bigPlayButton), add content elements if (!props.innerHTML) { this.contentEl_ = vjs.createEl('div', { className: 'vjs-control-content' }); this.controlText_ = vjs.createEl('span', { className: 'vjs-control-text', innerHTML: this.options_.text || 'Need Text' }); this.contentEl_.appendChild(this.controlText_); el.appendChild(this.contentEl_); } return el; }; videojs.OverlaySocialButton.prototype.buildCSSClass = function() { return 'vjs-share-icon fa fa-' + this.options_.icon + '-square fa-5x';//+ vjs.Button.prototype.buildCSSClass.call(this); }; // These are the indvidual buttons for each type of share. // Twitter videojs.TwitterShare = videojs.OverlaySocialButton.extend({ init: function( player, options ) { videojs.OverlaySocialButton.call( this, player, options ); } }); videojs.TwitterShare.prototype.options_ = { icon: 'twitter', text: 'Twitter' }; videojs.TwitterShare.prototype.onClick = function() { // Do Share action here }; // Facebook videojs.FacebookShare = videojs.OverlaySocialButton.extend({ init: function( player, options ) { videojs.OverlaySocialButton.call( this, player, options ); } }); videojs.FacebookShare.prototype.options_ = { icon: 'facebook', text: 'Facebook' }; videojs.FacebookShare.prototype.onClick = function() { // Do Share action here }; // Pinterest videojs.PinterestShare = videojs.OverlaySocialButton.extend({ init: function( player, options ) { videojs.OverlaySocialButton.call( this, player, options ); } }); videojs.PinterestShare.prototype.options_ = { icon: 'pinterest', text: 'Pinterest' }; videojs.PinterestShare.prototype.onClick = function() { // Do Share action here }; // Google Plus videojs.GooglePlusShare = videojs.OverlaySocialButton.extend({ init: function( player, options ) { videojs.OverlaySocialButton.call( this, player, options ); } }); videojs.GooglePlusShare.prototype.options_ = { icon: 'google-plus', text: 'Google+' }; videojs.GooglePlusShare.prototype.onClick = function() { // Do Share action here }; // LinkedIn videojs.LinkedInShare = videojs.OverlaySocialButton.extend({ init: function( player, options ) { videojs.OverlaySocialButton.call( this, player, options ); } }); videojs.LinkedInShare.prototype.options_ = { icon: 'linkedin', text: 'LinkedIn' }; videojs.LinkedInShare.prototype.onClick = function() { // Do Share action here }; //////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////// // This function will be called by video.js when it loops through all of the registered plugins. var pluginFn = function( options ) { // We need to pass off the options to the control bar button. var shareComponent = new videojs.ShareButton( this, options ); // Set the default position for the sharing button. Default: control-bar var onScreen = options.onScreen || false; // Now we remove the onScreen option as it does not pertain to anything inside the button. delete options.onScreen; var shareButton; // Should the button be added to the control bar or screen? if ( onScreen ) { shareButton = this.addChild( shareComponent ); } else { shareButton = this.controlBar.addChild( shareComponent ); } }; videojs.plugin( 'socialOverlay', pluginFn ); //videojs.obj.merge(videojs, videojs); })();
'use strict'; class Inode { constructor (name, content) { this.name = name; this.content = content; } get type () { if (this.content instanceof Map) return 'directory'; else return 'file'; } dumps () { return JSON.stringify(this.dump(), null, 2); } } class File extends Inode { constructor (name) { super(name, ''); } read () { return this.content; } write (str) { str = str.toString(); this.content = str; } dump () { let obj = Object.create(null); obj.type = this.type; obj.name = this.name; obj.content = this.content; return obj; } } class Directory extends Inode { constructor (name, par) { super (name, new Map()); this.par = par; this.content.set('.', this); this.content.set('..', this.par); this.content.set('/', this.root); } get root () { return this.par.root; } get path () { return this.par.path + this.name + '/'; } mkdir (name) { if (!this.content.has(name)) this.content.set(name, new Directory (name, this) ); return this.content.get(name); } touch (name) { if (!this.content.has(name)) this.content.set(name, new File (name) ); return this.content.get(name); } rm (name) { if (this.content.has(name)) this.content.delete(name); } ls () { let x = []; for (let y of this.content.keys()) x.push(y); return x; } get (name) { if (this.content.has(name)) return this.content.get(name); return false; } mount (name, fs) { if (fs instanceof Directory) { let mounted = new Directory (name, this); mounted.content = fs.content; mounted.content.set ('..', this); mounted.content.set ('/', this.root); this.content.set (name, mounted); } else { this.content.set(name, fs); } return this.content.get (name); } dump () { let obj = Object.create(null); obj.type = this.type; obj.name = this.name; obj.content = []; for (let node of this.content.keys()) { if (node === '.' || node === '..' || node === '/') continue; obj.content.push(this.content.get(node).dump()); } return obj; } load (contentArr) { for (let node of contentArr) { if (node.type === 'file') this.touch(node.name).write(node.content); else if (node.type === 'directory') this.mkdir (node.name).load(node.content); else continue; } } } class Jsonfs extends Directory { constructor (name) { super (name, null); } get root () { return this; } get path () { return '/'; } static load (obj) { let fs = new Jsonfs (obj.name); fs.load(obj.content); return fs; } static loads (str) { return Jsonfs.load(JSON.parse(str)); } } function test () { let fs0 = new Jsonfs ('root'); let testdir = fs0.mkdir('test'); let testfile = testdir.touch ('test.is'); testfile.write ('This is a test file'); let fs1 = Jsonfs.loads(fs0.dumps()); console.log (fs1.readFile('/test/../test/./test.is')); } test(); module.exports = Jsonfs;
/** * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ 'use strict'; // [START imports] var firebase = require('firebase-admin'); // [END imports] var nodemailer = require('nodemailer'); var schedule = require('node-schedule'); var Promise = require('promise'); var escape = require('escape-html'); // TODO(DEVELOPER): Configure your email transport. // Configure the email transport using the default SMTP transport and a GMail account. // See: https://nodemailer.com/ // For other types of transports (Amazon SES, Sendgrid...) see https://nodemailer.com/2-0-0-beta/setup-transporter/ var mailTransport = nodemailer.createTransport('smtps://<user>%40gmail.com:<password>@smtp.gmail.com'); // TODO(DEVELOPER): Change the two placeholders below. // [START initialize] // Initialize the app with a service account, granting admin privileges var serviceAccount = require('path/to/serviceAccountKey.json'); firebase.initializeApp({ credential: firebase.credential.cert(serviceAccount), databaseURL: 'https://<PROJECT_ID>.firebaseio.com' }); // [END initialize] /** * Send a new star notification email to the user with the given UID. */ // [START single_value_read] function sendNotificationToUser(uid, postId) { // Fetch the user's email. var userRef = firebase.database().ref('/users/' + uid); userRef.once('value').then(function(snapshot) { var email = snapshot.val().email; // Send the email to the user. // [START_EXCLUDE] if (email) { sendNotificationEmail(email).then(function() { // Save the date at which we sent that notification. // [START write_fan_out] var update = {}; update['/posts/' + postId + '/lastNotificationTimestamp'] = firebase.database.ServerValue.TIMESTAMP; update['/user-posts/' + uid + '/' + postId + '/lastNotificationTimestamp'] = firebase.database.ServerValue.TIMESTAMP; firebase.database().ref().update(update); // [END write_fan_out] }); } // [END_EXCLUDE] }).catch(function(error) { console.log('Failed to send notification to user:', error); }); } // [END single_value_read] /** * Send the new star notification email to the given email. */ function sendNotificationEmail(email) { var mailOptions = { from: '"Firebase Database Quickstart" <noreply@firebase.com>', to: email, subject: 'New star!', text: 'One of your posts has received a new star!' }; return mailTransport.sendMail(mailOptions).then(function() { console.log('New star email notification sent to: ' + email); }); } /** * Update the star count. */ // [START post_stars_transaction] function updateStarCount(postRef) { postRef.transaction(function(post) { if (post) { post.starCount = post.stars ? Object.keys(post.stars).length : 0; } return post; }); } // [END post_stars_transaction] /** * Keep the likes count updated and send email notifications for new likes. */ function startListeners() { firebase.database().ref('/posts').on('child_added', function(postSnapshot) { var postReference = postSnapshot.ref; var uid = postSnapshot.val().uid; var postId = postSnapshot.key; // Update the star count. // [START post_value_event_listener] postReference.child('stars').on('value', function(dataSnapshot) { updateStarCount(postReference); // [START_EXCLUDE] updateStarCount(firebase.database().ref('user-posts/' + uid + '/' + postId)); // [END_EXCLUDE] }, function(error) { console.log('Failed to add "value" listener at /posts/' + postId + '/stars node:', error); }); // [END post_value_event_listener] // Send email to author when a new star is received. // [START child_event_listener_recycler] postReference.child('stars').on('child_added', function(dataSnapshot) { sendNotificationToUser(uid, postId); }, function(error) { console.log('Failed to add "child_added" listener at /posts/' + postId + '/stars node:', error); }); // [END child_event_listener_recycler] }); console.log('New star notifier started...'); console.log('Likes count updater started...'); } /** * Send an email listing the top posts every Sunday. */ function startWeeklyTopPostEmailer() { // Run this job every Sunday at 2:30pm. schedule.scheduleJob({hour: 14, minute: 30, dayOfWeek: 0}, function () { // List the top 5 posts. // [START top_posts_query] var topPostsRef = firebase.database().ref('/posts').orderByChild('starCount').limitToLast(5); // [END top_posts_query] var allUserRef = firebase.database().ref('/users'); Promise.all([topPostsRef.once('value'), allUserRef.once('value')]).then(function(resp) { var topPosts = resp[0].val(); var allUsers = resp[1].val(); var emailText = createWeeklyTopPostsEmailHtml(topPosts); sendWeeklyTopPostEmail(allUsers, emailText); }).catch(function(error) { console.log('Failed to start weekly top posts emailer:', error); }); }); console.log('Weekly top posts emailer started...'); } /** * Sends the weekly top post email to all users in the given `users` object. */ function sendWeeklyTopPostEmail(users, emailHtml) { Object.keys(users).forEach(function(uid) { var user = users[uid]; if (user.email) { var mailOptions = { from: '"Firebase Database Quickstart" <noreply@firebase.com>', to: user.email, subject: 'This week\'s top posts!', html: emailHtml }; mailTransport.sendMail(mailOptions).then(function() { console.log('Weekly top posts email sent to: ' + user.email); // Save the date at which we sent the weekly email. // [START basic_write] return firebase.database().child('/users/' + uid + '/lastSentWeeklyTimestamp') .set(firebase.database.ServerValue.TIMESTAMP); // [END basic_write] }).catch(function(error) { console.log('Failed to send weekly top posts email:', error); }); } }); } /** * Creates the text for the weekly top posts email given an Object of top posts. */ function createWeeklyTopPostsEmailHtml(topPosts) { var emailHtml = '<h1>Here are this week\'s top posts:</h1>'; Object.keys(topPosts).forEach(function(postId) { var post = topPosts[postId]; emailHtml += '<h2>' + escape(post.title) + '</h2><div>Author: ' + escape(post.author) + '</div><div>Stars: ' + escape(post.starCount) + '</div><p>' + escape(post.body) + '</p>'; }); return emailHtml; } // Start the server. startListeners(); startWeeklyTopPostEmailer();
/** * * AVIONIC * Propelling World-class Cross-platform Hybrid Applications ✈ * * Copyright 2015 Reedia Limited. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. * */ (function() { 'use strict'; /** * @ngdoc function * @name <%= ngModulName %>.controller:MainController * @description * # MainController */ var <%= ngModulName %> = angular.module('<%= ngModulName %>'); <%= ngModulName %>.controller('MainController', function() { // do something with $scope }); })();
dojo.require('esri.map'); dojo.require('esri.graphic'); dojo.require('esri.tasks.geometry'); dojo.require('esri.toolbars.draw'); dojo.require('esri.tasks.query'); dojo.ready(init); var map; var drawTool; var geomSvc; var printer; var measurer; var noticeAreas; var highlightSymbol; function init() { /*** Initialize the app functionality. Called when the DOM is ready. ***/ map = new esri.Map('map', { sliderStyle: 'small', extent: new esri.geometry.Extent(-10034336.0, 3486258.0, -9977329.0, 3526049.0, new esri.SpatialReference({wkid: 3857})), logo: false }); esri.config.defaults.map.logoLink = "http://www.nola.gov"; var basemapURL = 'http://gis.nola.gov:6080/arcgis/rest/services/Basemaps/BasemapNOLA3/MapServer'; map.addLayer(new esri.layers.ArcGISTiledMapServiceLayer(basemapURL)); var geomURL = 'http://gis.nola.gov:6080/arcgis/rest/services/Utilities/Geometry/GeometryServer'; drawTool = new esri.toolbars.Draw(map); geomSvc = new esri.tasks.GeometryService(geomURL); measurer = new mapMeasurer(drawTool, map, geomSvc); //Define the poly highlight highlightSymbol = new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID) highlightSymbol.setOutline(new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([51, 102, 204, 1.0]), 3)); highlightSymbol.setColor(new dojo.Color([51, 102, 204, 0.4])); $('.navbar-brand').click(fadeCurrentMapGraphic); populatePredefined(); checkLogin(); } function populatePredefined() { /*** Populate the predefined area panels. ***/ var srnoNameField = 'Organization_Name'; var srnoURL = 'http://gis.nola.gov:6080/arcgis/rest/services/apps/NoticeMe_Layers/MapServer/0'; var srnoQueryTask = new esri.tasks.QueryTask(srnoURL); var srnoQuery = new esri.tasks.Query(); var councilNameField = 'COUNCILDIS'; var councilURL = 'http://gis.nola.gov:6080/arcgis/rest/services/apps/NoticeMe_Layers/MapServer/1'; var councilQueryTask = new esri.tasks.QueryTask(councilURL); var councilQuery = new esri.tasks.Query(); srnoQuery.outFields = [srnoNameField]; srnoQuery.returnGeometry = true; srnoQuery.where = srnoNameField + " LIKE '%%'" srnoQueryTask.execute(srnoQuery, function(e){srnoListComplete.call(e, srnoNameField)}, predefListErrors); councilQuery.outFields = [councilNameField]; councilQuery.returnGeometry = true; councilQuery.where = councilNameField + " LIKE '%%'" councilQueryTask.execute(councilQuery, function(e){councilListComplete.call(e, councilNameField)}, predefListErrors); } function srnoListComplete(nameField) { /*** Handle the query results for SRNOs. ***/ var nhoods = this; var idBase = 'srno'; var destID = '#srno'; buildList(nhoods, idBase, destID, nameField, ''); } function councilListComplete(nameField) { /*** Handle the query results for Council Districts. ***/ var districts = this; var idBase = 'council'; var destID = '#council'; buildList(districts, idBase, destID, nameField, 'Council District '); } function buildList(featSet, idBase, destID, nameField, prepend) { /*** Build a list for display in a panel. Called for SRNOs and Council Districts. ***/ var dest = $(destID); var features = featSet['features']; //Get a sorted list of area names var areas = []; for (var i=0; i<features.length; i++) { areas.push($.trim(features[i]['attributes'][nameField])) } areas = areas.sort(); //Now, create the items in the DOM. var listHTML = ''; var newID = ''; var icon = ''; for (var i=0; i<areas.length; i++) { //Create the HTML and add it. newID = idBase + '_' + i; icon = 'glyphicon-plus'; listHTML = '<li id="' + newID + '" class="list-group-item">'; listHTML += prepend + areas[i]; listHTML += '<span class="edit glyphicon ' + icon + '" onClick="ga(\'send\', \'event\', \'Add defined area\', \'Click\', \''+ prepend + areas[i]+'\');"></span></li>'; dest.append(listHTML); //Now add the geometry and onclick methods. $('#'+newID).data('data-geom', getFeature(areas[i], featSet, nameField)) $('#'+newID).click(showBoundary); $('#'+newID).children('span').on('click', showAdd); } } function predefListErrors(err) { /*** Query error handler. ***/ console.log(err); } function showBoundary() { /*** Display and zoom to a geometry contained in a data-geom element, based on click location. ***/ $('.list-group-item').removeClass("selected"); $(this).addClass("selected"); var bnd = $(this).data('data-geom'); var bndExtent = bnd['geometry'].getExtent() var clickBound = new esri.Graphic(bnd['geometry'], highlightSymbol, bnd['attributes']); map.graphics.clear(); var bndGraphic = map.graphics.add(clickBound); map.setExtent(bndExtent.expand(1.2), true); console.log(arguments[0].target) if ( $('.visible-xs').is(':visible')) { if (!$(arguments[0].target).hasClass('edit')) { $('#map-wrapper').addClass('in'); } } console.log('Show Boundary'); } function getFeature(areaname, geomVar, nameField) { /*** Get a poly from a stored FeatureSet. I don't think this is used anymore. ***/ for (var i=0; i<geomVar['features'].length; i++) { if (geomVar['features'][i]['attributes'][nameField] == areaname) { return geomVar['features'][i]; } } } function showAdd() { /*** Show the add dialog. ***/ var areaname = $(this).parent('li').text(); $('#add-dialog h4.panel-title').html(areaname) $('#add-dialog').addClass('in'); resize(); } function showEdit() { /*** Show the edit dialog. ***/ var areaname = $(this).parent('li').text(); var editID = $(this).parent('li').attr('id'); var notices = $(this).parent('li').data('data-notices'); for (var opt in notices) { $('#edt-'+opt).prop('checked', notices[opt]) } $('#name-area').val(areaname); $('#edit-dialog').addClass('in'); $('#edit-dialog').data('data-editid', editID); resize(); } function addArea(e) { /*** Add a predefined area to My Areas, and save it to the server. ***/ var currDialog = '#add-dialog'; $(currDialog).removeClass('in'); var areaname = $(currDialog + ' h4.panel-title').text(); var notices = {}; $("#noticetypes input[type='checkbox']").each(function(i){notices[$(this).attr('id').split('-')[1]] = $(this).prop('checked')}); $("#noticetypes input[type='checkbox']").each(function(i){$(this).prop('checked', false)}); var feature = map.graphics.graphics[0]; var namehash = CryptoJS.MD5(areaname).toString(); var dest = $('#userarea'); var newIDNum = getMaxIDNum('#userarea') + 1; var areaID = 'user_' + newIDNum; icon = 'glyphicon-pencil'; listHTML = '<li id="' + areaID + '" class="list-group-item">'; listHTML += areaname; listHTML += '<span class="edit glyphicon ' + icon + '"></span></li>'; dest.append(listHTML); //Now add the geometry and onclick methods, and add a hash of the name. $('#'+areaID).data('data-geom', feature) $('#'+areaID).data('data-notices', notices) $('#'+areaID).data('data-namehash', namehash) $('#'+areaID).click(showBoundary); $('#'+areaID).children('span').on("click", showEdit ); submitArea(areaname, namehash, notices, feature); $('.list-group-item').removeClass('selected'); $('#'+areaID).addClass('selected'); if ($('#collapseTwo').hasClass('in')) { $('#collapseTwo').collapse('hide'); } else if ($('#collapseThree').hasClass('in')) { $('#collapseThree').collapse('hide'); } $('#collapseOne').collapse('show'); $('#collapseOne').on('shown.bs.collapse', function () { resize(); }) } function updateArea(e) { /*** Edit an existing area in My Areas. ***/ // Create variable of input var name = $('#name-area'); // If the input is not empty... if (name.val() && name.val()!=name.attr('placeholder')) { measurer.stopMeasure(); // ...take value of input and add it to the My Areas list... var editID = $('#edit-dialog').data('data-editid'); var areaname = name.val(); var namehash = CryptoJS.MD5(areaname).toString(); var notices = {}; $("#editnotices input[type='checkbox']").each(function(i){notices[$(this).attr('id').split('-')[1]] = $(this).prop('checked')}); var feature = map.graphics.graphics[0]; if (feature.geometry.type != 'polygon') { alert('Oops! Something went wrong when saving the area you defined.\n\nPlease try drawing it again.'); measurer.startMeasure(); return; } if (editID) { if (dataChanged(editID, namehash, notices, feature)) { var editedItem = $('#'+editID); var oldhash = editedItem.data('data-namehash'); editedItem.data('data-namehash', namehash); editedItem.data('data-notices', notices); editedItem.data('data-geom', feature); editedItem.html(areaname +'<span class="edit glyphicon glyphicon-pencil"></span>'); updateExisting(oldhash, areaname, namehash, notices, feature); $('#'+editID).children('span').on("click", showEdit ); } $('#edit-dialog').data('data-editid', null); } else { insertNew(areaname, namehash, notices, feature); } //Close the drawer and clear input $('#edit-dialog').removeClass('in'); $("#editnotices input[type='checkbox']").each(function(i){$(this).prop('checked', false)}); $(name).val(''); } else { //Create an error popup if the name is empty. alert("You must give this area a name."); } } function insertNew(areaname, namehash, notices, feature) { /*** Add a drawn area to My Areas, and save it to the server. ***/ var dest = $('#userarea'); var newIDNum = getMaxIDNum('#userarea') + 1; var areaID = 'user_' + newIDNum; icon = 'glyphicon-pencil'; listHTML = '<li id="' + areaID + '" class="list-group-item">'; listHTML += areaname; listHTML += '<span class="edit glyphicon ' + icon + '"></span></li>'; dest.append(listHTML); //Now add the geometry and onclick methods, and add a hash of the name. $('#'+areaID).data('data-geom', feature) $('#'+areaID).data('data-notices', notices) $('#'+areaID).data('data-namehash', namehash) $('#'+areaID).click(showBoundary); $('#'+areaID).children('span').on("click", showEdit ); //Send the data to the server here. submitArea(areaname, namehash, notices, feature); } function submitArea(areaname, namehash, notices, feature) { /*** Submit an area to the server for saving. ***/ var data = {} data['namehash'] = namehash; data['name'] = areaname; data['notices'] = notices; data['geom'] = feature.toJson(); $.post('/_save', JSON.stringify(data)); } function updateExisting(oldhash, areaname, namehash, notices, feature) { /*** Submit an area to the server for updating. ***/ var data = {} data['oldhash'] = oldhash; data['namehash'] = namehash; data['name'] = areaname; data['notices'] = notices; data['geom'] = feature.toJson(); $.post('/_update', JSON.stringify(data)); } function deleteArea() { /*** Delete an area from My Areas and the server. ***/ $('#delete-confirm-modal').modal(); $('#delete-confirm').click( function() { var editID = $('#edit-dialog').data('data-editid'); var editedItem = $('#'+editID); map.graphics.clear(); var delhash = {'namehash': editedItem.data('data-namehash')}; editedItem.data('data-namehash', null); editedItem.data('data-notices', null); editedItem.data('data-geom', null); $('#edit-dialog').removeClass('in'); $("#editnotices input[type='checkbox']").each(function(i){$(this).prop('checked', false)}); editedItem.fadeOut(2000); $(name).val(''); $.post('/_delete', JSON.stringify(delhash)); }); $('#delete-cancel').click( function() { $('#edit-dialog').removeClass('in'); }); } function dataChanged(editID, namehash, notices, feature) { /*** Check to see if notices, geometry, and name have changed for an area. ***/ var changed = true; var editedItem = $('#'+editID) if (editedItem) { var oldhash = editedItem.data('data-namehash'); var oldnotices = editedItem.data('data-notices'); var oldfeature = editedItem.data('data-geom'); var cmp_hsh = _.isEqual(oldhash, namehash); var cmp_ntc = _.isEqual(oldnotices, notices); //We only really care if the geometries are equivalent. var cmp_ftr = _.isEqual(oldfeature['geometry'], feature['geometry']); if (cmp_hsh && cmp_ntc && cmp_ftr) { changed = false; } } return changed; } function getMaxIDNum(dest) { /*** Get the max id number of the items in an area list. ***/ var maxNum = -1; var nums = []; $(dest+' li').each(function(i){nums.push($(this).attr('id').split('_')[1])}); if (nums.length > 0) { maxNum = parseInt(nums.slice(0).sort().reverse()[0]); } return maxNum; } function userVoice() { // Include the UserVoice JavaScript SDK (only needed once on a page) UserVoice=window.UserVoice||[]; (function(){ var uv=document.createElement('script'); uv.type='text/javascript'; uv.async=true; uv.src='//widget.uservoice.com/iOJ6fGk96FsCT1Fq2L8Nw.js'; var s=document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(uv,s) })(); } function signIn(data) { /*** Change the UI to reflect a logged in user. ***/ if (data.email) { userVoice(); UserVoice.push(['identify', { email: data.email // User’s email address }]); document.cookie = 'noticeme_user=' + data.email; $('#userinfo').css('display', 'block'); $('#suggestsignin').css('display', 'none'); $('#emailaddr').text(data.email) $('#loginBtn').parent().css('display', 'none'); $('#logoutBtn').parent().css('display', 'inline-block'); $('#areas-login').hide(); $('#edit-dialog-open, #userinfo').show(); $('body').removeClass('logged-out').addClass('logged-in'); if (data.freq == 'd') { $('#one-per-day').prop('checked', true); } else { $('#one-per-week').prop('checked', true); } if (data.autoadd) { $('#add-new').prop('checked', true); } if (data.citywide) { $('#citywide').prop('checked', true); } populateUserAreas(data['areas']); resize(); } } function checkLogin() { /*** Function to test if we are logged in when the page loads. This way, the list of user areas does not disappear if the user reloads the page. ***/ var cookieVals = document.cookie.split(';'); for (var i=0; i<cookieVals.length; i++) { if ($.trim(cookieVals[i].split('=')[0]) == 'noticeme_user') { var userEmail = $.trim(cookieVals[i].split('=')[1]); } else { var userEmail = null; } } if (userEmail) { $.getJSON('/_user', function (data) {signIn(data);}) } } function populateUserAreas(data) { /*** Populate the My Areas list using data obtained after login. ***/ var dest = $('#userarea'); var icon = 'glyphicon-pencil'; var newIDNum; var areaID; var areaname; var namehash; var notices; var geom; var feature; for (var i=0; i<data.length; i++) { newIDNum = getMaxIDNum('#userarea') + 1; areaID = 'user_' + newIDNum; areaname = data[i]['name']; namehash = data[i]['namehash']; notices = JSON.parse(data[i]['notices']); geom = data[i]['geom']; feature = new esri.Graphic(JSON.parse(geom)); listHTML = '<li id="' + areaID + '" class="list-group-item">'; listHTML += areaname; listHTML += '<span class="edit glyphicon ' + icon + '"></span></li>'; dest.append(listHTML); //Now add the geometry and onclick methods, and add a hash of the name. $('#'+areaID).data('data-geom', feature) $('#'+areaID).data('data-notices', notices) $('#'+areaID).data('data-namehash', namehash) $('#'+areaID).click(showBoundary); $('#'+areaID).children('span').on("click", showEdit); } } function fadeCurrentMapGraphic() { /*** Fade out the currently displayed graphic to serve as a touchpoint for new drawing ***/ //First, get the currently displayed map graphic var currFeature = map.graphics.graphics[0]; //Define the faded poly highlight var fadedSymbol = new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID) fadedSymbol.setOutline(new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_DOT, new dojo.Color([51, 102, 204, 0.55]), 2)); fadedSymbol.setColor(new dojo.Color([51, 102, 204, 0.15])); //Set the new faded symbol currFeature.setSymbol(fadedSymbol); } function saveUserPrefs() { /*** Get and save user preferences on change ***/ var weekly = $('#one-per-week').prop('checked'); var daily = $('#one-per-day').prop('checked'); var autoadd = $('#add-new').prop('checked'); var citywide = $('#citywide').prop('checked'); var data = {}; if (daily) { data['freq'] = 'd'; } else if (weekly) { data['freq'] = 'w'; } else { data['freq'] = 'w'; } if (autoadd) { data['auto'] = 1; } else { data['auto'] = 0; } if (citywide) { data['citywide'] = 1; } else { data['citywide'] = 0; } $.post('/_user', JSON.stringify(data)); }
version https://git-lfs.github.com/spec/v1 oid sha256:39d1495f28768a0592eb9ff158254f0e876c9367a59a1fb2529b2a047040e47b size 1641
// Download the Node helper library from twilio.com/docs/node/install // These consts are your accountSid and authToken from https://www.twilio.com/console const accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; const authToken = 'your_auth_token'; const client = require('twilio')(accountSid, authToken); client.calls .create({ url: 'http://demo.twilio.com/docs/voice.xml', to: '+14108675309', from: '+15005550006', }) .then(call => process.stdout.write(call.sid));
import request from '@/utils/request' // home/mix export function home(data) { return request({ url: '/home/mix', method: 'get', params: data || {} }) } // recList?cid=&ct= export function recList(data) { return request({ url: '/cate/recList', method: 'get', params: data || {} }) } // cate?type= export function category(data) { return request({ url: '/cate/list', method: 'get', params: data || {} }) } // room?page=1&type=xxx export function rooms(data) { return request({ url: '/room/list', method: 'get', params: data || {} }) }
function updateCart() { console.log('updating cart...'); // if there's no cart object, create one if (localStorage.cart === undefined) { $('#cartModal .modal-body table').html('There are no items in the cart.'); } else { console.log(localStorage.cart); // Get the current cart in array format var cartNow = JSON.parse(localStorage.cart); // find the length of the cart currently var qty = cartNow.length; if (qty > 0) { // show badge and quantity $("#cart-notif").removeClass('hide'); $("#cart-qty").html(qty); var cartTable = $('#cartModal table tbody') cartTable.html(''); for (item of cartNow) { item.qty = parseInt(item.qty); cartTable.append('<tr class="cart_item" id="' + item.iid + '"><td><img src="' + item.picture + '"/></td><td>' + item.name + '</td><td><input type="number" name="' + item.iid + '" value="' + item.qty + '" class="num-input" />' + item.action + '<input type="hidden" name="' + item.iid + '" value="' + item.action +'" /></td><td style="display:none;"><input type="text" name="' + item.iid + '" value="' + item.tag + '"/></td>' + '<td><a onclick="deleteRow(this)" href="javascript:void(0);">&times;</a></td></tr>'); $('#'+item.iid+' option[value="'+item.action+'"]').attr('selected', 'selected'); } } } // localStorage.clear(); } function clearCartSubmit() { localStorage.setItem('cart', JSON.stringify([])); document.getElementById('cartForm').submit(); } function deleteRow(r) { // delete from table form var row = r.parentNode.parentNode.rowIndex; document.getElementById('cart-table').deleteRow(row); // delete from cart var cart = JSON.parse(localStorage.cart); cart.splice(row-1, 1); localStorage.setItem('cart', JSON.stringify(cart)); updateCart(); } $(function () { updateCart(); // When an item is clicked, open a modal with the item information $(".openModal").click(function() { // find item iid, name and image filename var iid = $(this).attr('id'); var name = $(this).find('div.name').html(); var img = $(this).find("img").attr('src'); // insert information into the modal $('#qtyForm #modal-input-iid').val(iid); $("#qtyForm #modal-picture img").attr('src', img); $("#qtyForm #modal-input-name").val(name); $("#qtyModal h4").text(name); }); // // Function to prevent negative number input // $(function() { // var numbers = $("#stockUpdateForm .num-input"); // $.each(numbers, function(index, value){ // numbers[index].onkeydown = function(e) { // if(!((e.keyCode > 95 && e.keyCode < 106) // || (e.keyCode > 47 && e.keyCode < 58) // || e.keyCode == 8)) { // return false; // } // } // }) // }) // When the form is submitted, handle it here instead of backend $("#qtyForm").on('submit', function(e) { e.preventDefault(); // reset localStorage. Use if localStorage is messed up. // localStorage.clear(); // Get information from modal var role = $(this).data('role'); var item_id = $(this).find($('#modal-input-iid')).val(); var item_name = $(this).find($("#modal-input-name")).val(); var item_qty = parseInt($(this).find($('#modal-input-qty')).val()); var item_pic = $("#modal-picture img").attr('src'); var tag_id = window.location.pathname.split("/")[3]; var action = $(this).find($("input[name='action']:checked")).val(); console.log(item_id + ", " + item_name + ", " + item_qty + ", " + item_pic); // if there is no cart object, create one with the form data if (localStorage.cart === undefined) { console.log('no cart, creating new'); // stringify the cart for HTML5 storage localStorage.setItem('cart', JSON.stringify([{'iid':item_id, 'name': item_name, 'qty': item_qty, 'picture': item_pic, 'action': action, 'tag': tag_id}])); } // Or add it to the current cart else { // get the cart in array format var thisCart = JSON.parse(localStorage.cart); console.log(typeof(thisCart)); // boolean to see if item has already been added to cart var inCart = false; var newCart = thisCart.map(function(i) { if (i.name === item_name && i.action === action) { inCart = true; // update quantity for the item i.qty = i.qty + item_qty; localStorage.setItem('cart', JSON.stringify(thisCart)); } }); // if item has not been added to the cart if (inCart === false) { // add to cart thisCart.push({'iid':item_id, 'name': item_name, 'qty': item_qty, 'picture': item_pic, 'action': action, 'tag': tag_id}); // console.log(JSON.stringify({'iid':item_iid, 'name': item_name, 'qty': item_qty, 'picture': item_pic})); // stringify localStorage.setItem('cart', JSON.stringify(thisCart)); } } updateCart(); $('#qtyModal').modal('hide'); }); });
// Protractor configuration file, see link for more information // https://github.com/angular/protractor/blob/master/lib/config.ts exports.config = { allScriptsTimeout: 11000, specs: [ './e2e/**/*.e2e-spec.ts' ], capabilities: { 'browserName': 'chrome' }, directConnect: true, baseUrl: 'http://localhost:4200/', framework: 'mocha', mochaOpts: { reporter: "spec", slow: 3000, ui: 'bdd', timeout: 30000 }, beforeLaunch: function() { require('ts-node').register({ project: 'e2e/tsconfig.e2e.json' }); }, onPrepare: function() { var chai = require('chai'); var chaiAsPromised = require("chai-as-promised"); chai.use(chaiAsPromised); global.chai = chai; } };
version https://git-lfs.github.com/spec/v1 oid sha256:177787e5207ae965f08129cd4d54e9ea2afe145e4160b33c06338ff1f425c159 size 40535
const $ = require('cafy').default; const MongoAdapter = require('../../modules/MongoAdapter'); const generateHash = require('../../modules/generateHash'); /** @param {{db:MongoAdapter}} context */ module.exports = async (context) => { // param: key const [key, keyErr] = $.string.get(context.params.key); if (keyErr) { return context.response.error('invalid_param', 400, { paramName: 'key' }); } // find license by key const license = await context.db.find(context.config.mongo.collectionName, { key }); if (license == null) { return context.response.error('invalid_param', 400, { paramName: 'key' }); } // expect: enabled if (!license.enabled) { return context.response.error('disabled_license'); } // expect: not activated if (license.activation != null) { return context.response.error('already_activated'); } // param: associationText const [associationText, associationTextErr] = $.string.get(context.params.associationText); if (associationTextErr) { return context.response.error('invalid_param', 400, { paramName: 'associationText' }); } const salt = Math.round(Math.random() * 1000000); const associationHash = generateHash(`${associationText}${salt}`); license.activation = { associationHash, salt }; // save await context.db.updateById(context.config.mongo.collectionName, license._id, { activation: license.activation }); return context.response.success(); };
export default [ { name: 'entertainer', skills: { count: 2, list: ['acrobatics', 'performance'] }, tools: { count: 1, list: ['disguiseKit', 'musicalInstruments'] }, equipment: [ { name: 'musicalInstrument', count: 1 }, { name: 'admirerFavor', count: 1 }, { name: 'costume', count: 1 }, { name: 'gold', count: 15 } ] } ]
window.debugLog=function(e){"use strict";"prod"!==window.ENV&&console.log.apply(console,arguments)},HOVERBOARD.Deferred=HOVERBOARD.Deferred||function(){"use strict";function e(){var e,r,o=new Promise(function(o,n){e=o,r=n});return{promise:o,resolve:e,reject:r}}return{createDeferred:e}}();
angular .module('package.account', [ 'controller.account', 'service.account', 'ngRoute' ]) .config(['$routeProvider', function ($routes) { $routes .when('/account', { controller: "AccountSettingsCtrl", controllerAs: "account", templateUrl: 'templates/app/account/settings.html', resolve: { accountData: ['_account', function (account) { return account.get(); }] } }); }]);
app.controller('poolController', function($scope,$http){ $scope.pools = []; $http.get('http://localhost/ytforum/public/api/pool'). success(function(data, status, headers, config) { $scope.pools = data; }); $scope.addVote = function(pooloptions){ $http.get('http://localhost/ytforum/public/api/pooloption/addvote/'+ pooloptions.id). success(function(data, status, headers, config) { pooloptions.vote++; }); } });
import {customElement, bindable, inject} from 'aurelia-framework'; import {DOM} from 'aurelia-pal'; @customElement('tree-node') @inject(Element) export class TreeNode { @bindable node = null; constructor(element) { this.element = element; } onClick() { let event = DOM.createCustomEvent('select', { detail: {node: this.node}, bubbles: true }); this.element.dispatchEvent(event); } }
var m = require('./m.js'); var instance = new m(); instance.require('thinkjs');
/** * sample module * * @project < write project name here > * @date < put date here > * @author < author name > * @site < site name > */ (function($, sf, window, document, undefined) { "use strict"; var ModuleName = function() { /** * add all event listeners */ var initEventListeners = function() { }; /** * put all event triggers, plugin initializations */ var initEventTriggers = function() { }; /** * define what needs to be done after all stuff * has been loaded in to the browser **/ this.onLoad = function() {}; this.init = function() { initEventListeners(); initEventTriggers(); }; /** * Initialize this object when document ready event is triggered */ $.subscribe(sf.events.INIT_MODULES, this.init); $.subscribe(sf.events.WINDOW_LOAD, this.onLoad); }; sf.moduleName = new ModuleName(); })(jQuery, window.SF || {}, window, window.document);
import {generateActions} from 'action-u'; import _bootstrap from './featureName'; export default generateActions.root({ // prefix all actions with our feature name, guaranteeing they unique app-wide! [_bootstrap]: { // actions(): Action ... the root IS an action (e.g. bootstrap() action) // > start boostrap initialization process actionMeta: {}, setStatus: { // actions.setStatus(statusMsg): Action // > set bootstrap status (e.g. 'Waiting for bla bla bla' -or- 'COMPLETE' actionMeta: { traits: ['statusMsg'], }, }, // the fundamental action that indicates the bootstrap process is complete // ... monitored by down-stream features (to start the app running), complete: { // actions.complete(): Action // > bootstrap is complete and app is ready to start actionMeta: {}, }, }, });