You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Testing is very important for finding bugs, verifying the functionality and improving the general stability of a piece of software. Almost all (if not all) developers test their code in some way. One way to test would be to manually run the program and try out all the functions to see if everything is working as expected. Another (and better) way is to write automated tests that are run every time
tagged template string virtual dom builder This module is similar to JSX, but provided as a standards-compliant ES6 tagged template string function. hyperx works with virtual-dom, react, hyperscript, or any DOM builder with a hyperscript-style API: h(tagName, attrs, children). You might also want to check out the hyperxify browserify transform to statically compile hyperx into javascript expressio
ProgressJs is a JavaScript and CSS3 library which helps developers create and manage progress bars for any object on the page. You can design your own template for progress bars or simply customize them. You can use ProgressJs to show the progress of loading contents (images, videos, etc.) on the page to the users. It can be used on all elements including textboxes, textareas or even the whole bod
yet another unzip library for node. For zipping, see yazl. Design principles: Follow the spec. Don't scan for local file headers. Read the central directory for file metadata. (see No Streaming Unzip API). Don't block the JavaScript thread. Use and provide async APIs. Keep memory usage under control. Don't attempt to buffer entire files in RAM at once. Never crash (if used properly). Don't let mal
Ever since the dawn of Node.js, Node developers have complained about Callback Hell. Various solutions have been proposed with various degrees of success. Generators is an exciting prospect because it finally allows us to write async code in a straight-line fashion. Although generators is not yet available on all browsers, you can make it work using the Babel compiler. It is getting more adoption
NOTE: Datalib is no longer being actively maintained. The Arquero library provides similar functionality plus much more. In addition, Vega now includes its own data utilities in the vega-util and vega-statistics packages. Datalib is a JavaScript data utility library. It provides facilities for data loading, type inference, common statistics, and string templates. While datalib was created to power
Factory.define('game') .sequence('id') .attr('is_over', false) .attr('created_at', () => new Date()) .attr('random_seed', () => Math.random()) // Default to two players. If players were given, fill in // whatever attributes might be missing. .attr('players', ['players'], (players) => { if (!players) { players = [{}, {}]; } return players.map((data) => Factory.attributes('player', data)); }); Facto
A quick introduction to exploring how components can be created in several frameworks. In this project I want to compare the usage and development of components in several frameworks. To test these frameworks I'll create multiple components from simple to complex to show the differences between these frameworks. I currently plan to look into the following frameworks: Angular 1 Angular 2 Ember Cycl
Cycle.js の MODEL-VIEW-INTENT のチュートリアルから MVI (Model-View-Intent) と MVC (Model-View-Controller) に関する説明を抜粋して翻訳しました。原文のライセンスは MIT です。 「Passive/Reactive プログラミングの違いを学ぶ」 をあらかじめ読んでおくと理解が深まるでしょう。筆者の André Staltz さんは Flux、Redux などのアーキテクチャの比較や評価を UNIDIRECTIONAL USER INTERFACE ARCHITECTURES と NOTHING NEW IN REACT AND FLUX EXCEPT ONE THING の記事で述べています。 MVI (Model-View-Intent) について MVI は Cycle.js の main() 関数を3つの
added implementations and fixes Typed Arrays-related features ArrayBuffer, ArrayBuffer.isView, ArrayBuffer#slice DataView with all getter / setter methods Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array and Float64Array constructors %TypedArray%.{for, of}, %TypedArray%#{copyWithin, every, fill, filter, find, findIndex, forEach, indexOf, incl
import { truncate } from "tweet-truncator"; const contents = { title: "tweet-truncator", url: "https://github.com/azu/tweet-truncator", desc: "Truncate contents to 140 chars.", quote: "quote", tags: ["#twitter", "JavaScript"] }; const options = { defaultPrefix: "See:", template: '%desc% "%title%" %url% %tags%', // maxLength: 280 }; const result = truncate(contents, options); console.log(result); /
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く