Arango Data Platform A single platform that unifies graph, vector, document, and search so you can build and scale AI powered applications without gluing tools together.
Intro 似た話は既出なのでご提案にはならないけど、PoC として一応ライブラリっぽくしてみた。 タイトルの通り XHR のリクエストに対して、任意のレスポンスを返すことによって、 再現の面倒なエラー処理などのテストを、 Local Proxy 無しで実現する方法のメモ。 というか、これ自体がブラウザ上の JS だけで完結する Local Proxy と言えるかもしれません。 ざざっと書いただけなので、API というか使い方もまだ適当というかどうしようか考えてるところです。 今これが使えるブラウザ自体がそんなにないので、 SW の実装が普及するまでにもう少しまともにしておきます。 Jxck/response-injection · GitHub 色々踏んだので、 Service Worker 使う際の参考になればと。 モチベーション Service Worker(SW) には色々な機能が
Despite their name, template strings in ECMAScript 6 (ES6) are more like a different kind of function call than a mechanism for defining templates. This blog post explains how you can still use them for HTML templating. It is based on an idea by Claus Reinke. If you are not familiar with ES6 template strings, you may want to consult [1] before reading on. Defining and using a template # You defin
Overview This document details the guidelines and standards adhered to by the Creative Technology department at TMW, and all web applications built should take these into consideration. It is an evolving document and should be reviewed as and when required to keep up with changes in technology and best practice. These guidelines have been compiled looking at various previously written guidelines -
Version 2 is a complete TypeScript rewrite with a modernized API: Full TypeScript support - First-class types, no more @types/react-grid-layout React Hooks - New useContainerWidth, useGridLayout, and useResponsiveLayout hooks Composable Configuration - Group related props into focused interfaces: gridConfig - cols, rowHeight, margin, padding dragConfig - enable, handle, cancel, bounded resizeConfi
function coin(x) { return Math.random() < x; } こういう関数があったとして、どうテストを書くのか。 ぱっと思いつくのはこういう感じで、Math.random 自体を上書きするやり方。 describe("coin(x)", function() { it("works", sinon.test(function() { this.stub(Math, "random", function() { return 0.5; }); assert(coin(0.4) === false); assert(coin(0.5) === false); assert(coin(0.6) === true); })); }); このやり方、たしかに間違っていないんだけど、関数のインターフェース自体を変更した方が良いと思う。 function coin(x,
This page has moved... Click here if you are not redirected.
今日でJSer.infoは4周年です。 この一年の間に、Ju U-YeongさんによるJSer.infoの韓国語訳が始まったり、このブログをGitHub Pagesに移行したり、JSer.info 200回記念イベントをやったりしました。 この一年ではGulpがGrunt並に使われるようになった事やBrowserifyやwebpackといったビルドツールの利用をよく見るようになったり、最近では6to5の登場もあってES6の構文を使って書ける環境などツール周りの変化が大きかった気がします。 ブラウザではIEのサポートポリシーの変更やstatus.modern.IEの公開、オープンガバナンスモデルを元に予測可能なリリースサイクルの提供を目的としたNode.jsのforkであるio.jsが公開されたりしました。 どちらも新しい技術へ追従するために、高速なリリースサイクルを取り入れる事が目的の一つ
このページは様々な言語に移植されている強力なFRPライブラリ、Reactive Extensionsの学習用ノートです。
/projects/website/main.css:5:3: CSS3 Box-sizing not supported by: IE (8-11), Chrome (36-38), Safari (8,7.1), Opera (24-25), iOS Safari (8,7.1,8.1), Android Browser (4.1,4.4,4.4.4), IE Mobile (10-11) /projects/website/main.css:6:3: CSS3 Box-sizing not supported by: IE (8-11), Chrome (36-38), Safari (8,7.1), Opera (24-25), iOS Safari (8,7.1,8.1), Android Browser (4.1,4.4,4.4.4), IE Mobile (10-11) /p
This page is the consolidated reference for all the amp modules in a single page for the sake of being 'cmd+f' friendly. All modules are unit tested in a wide range of browsers (including IE6+) with a CI system composed of SauceLabs and Travis CI by using zuul and tape. Project goals: Excellent, cross-browser test coverage Independently maintained and versioned Strict semver for versioning Try ver
Underscore.js is the single most depended on module on npm. It's impressive work from Jeremy Ashkenas, who also created Backbone.js and CoffeeScript, all hugely popular projects. But how many of the modules that depend on underscore only use it for one or two methods? I'd venture to guess quite a few. Conceptually, it makes sense. Why would you go implement your own debounce method when there's on
Z3d Z3d (GitHub: NathanEpstein/Z3d, License: MIT, Bower: z3d) by Nathan Epstein is a library that generates 3D plots. It gives you a Three.js scene, so you can further manipulate the graph with the Three.js API. One of the useful things about Z3d is it has sensible built-in defaults, so you can throw data at it and get something cool out. The basic example is just plot3d(x, y, z), where the argume
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く