This domain may be for sale!
Get more pro JavaScript screencasts Visit Let’s Code: Test-Driven JavaScript and start watching today! Transcript (Spanish translation here.) If you hang around the JavaScript world long enough, you’ll come across a bunch of different recipes for object-oriented programming. The standard way, so much as there can be a standard way, is this. And this is the recipe for inheritance. That’s the standa
Two Reasons Functional Style Is Slow in SpiderMonkey Programming JS in a functional style is often more elegant but comes at the cost of performance. In the past, part of that performance problem has been due to native, C++ implementations of the most-often used higher-order operations like Array.prototype.forEach and friends. In a call like arr.forEach(f), the passed in kernel function f ends up
Some time ago, I got a comment from a user who wanted to use the grid as a log table. He quickly put 10,000 records into the grid without paginating, but found that it got really, really slow. This got me wondering, can it be optimized to handle 10k of records or it is too much for the browser. Establishing the Baseline For my initial test I have used w2ui ver 1.2, created a simple grid with 4 col
I have been using it quite substantially for a number of different projects now and must say that I absolutely love the way it works. - Soteri Panagou I've been using your grid on a couple of small projects and I've got to say it's an awesome piece of work. It's very easy to configure and offers a lot of features while staying really responsive. As a programmer it inspires me to write better code.
allcolors.js # (view raw) Print out all colors from computed styles used in elements on the page. Uses styled console.log calls to visualize each color. // allcolors.js // https://github.com/bgrins/devtools-snippets // Print out CSS colors used in elements on the page. (function () { // Should include colors from elements that have a border color but have a zero width? var includeBorderColorsWit
Chance Acknowledgements & Thanks Usage bower browser cli node requirejs seed function Basics bool falsy character floating integer letter natural prime string Text paragraph sentence syllable word Person age birthday cf cpf first gender last name prefix ssn suffix Thing animal Mobile android_id apple_token bb_pin wp7_anid wp8_anid2 Web avatar color company domain email fbid google_analytics hashta
3月12 ブラウザのデコード機能を利用した Shift JIS などの読み込み はじめに JavaScript でバイナリから文字列を取り出したら Shift JIS だったなんてことよくありますよね。 そういう文字列もさっと表示したいことがあります。 読み込む方法はいくつかある これらの文字列を読み込む方法はいくつかあって、自分が把握してるだけでも以下のものがあります。 Shift JIS と UTF-16 の対応表をつくる ぽりごんさんの文字コード変換ライブラリ Blob, File API を使って読み込む 右京さんの javascriptのnative APIで任意の文字コードからutf8に変換 script, Data URL を使って変換 1, 2 の方法についてはそれぞれ解説や実装があるのですが、3 の方法については見当たらなかったので説明してみます。 準備 念のため 2 段
I am currently on a linguistic & cultural trip in China for a gap year with family. Follow our adventure: youtube.com/@greweb EDIT 2014: This article ends up in an updated library available on NPM (bezier-easing) and available on Github. It has been used by Apple for the mac-pro page and by Velocity.js. You can also find its usage in the glsl-transition examples. Many animation libraries are today
JSDeferred とか WinJS.Promise とか jQuery の Deferred, Promise などを使うことがあるのだけれど、インターフェイスの違いが結構つらいので JSDeferred と WinJS.Promise の両方とほぼ互換なインターフェイスをもつ Promises/A+ 実装が欲しいなぁ、と思ったりしてた。 そんなわけで先週末に Ten.Promise ってのを TypeScript で書いたのだけど、そもそも Promises/A+ の仕様 とか WinJS.Promise の仕様とか JSDeferred の仕様がよくわかんない状態で書き始めたので自分でも仕様がよくわかんないものになってしまった。 一通り Promises/A+ のテスト とか JSDeferred のテストとか動かして仕様がわかってきたので、改めて実装する前に要件をまとめておこうと
ArrayBuffers are used to transport raw data and several new APIs rely on them, including WebSockets, Web Intents 2](https://www.html5rocks.com/en/tutorials/file/xhr2/) and WebWorkers. However, because they recently landed in the JavaScript world, sometimes they are misinterpreted or misused. Semantically, an ArrayBuffer is simply an array of bytes viewed through a specific mask. This mask, an inst
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く