jDataView - A unique way to read a binary file in the browser. jDataView provides a standard way to read binary files in all the browsers. It follows the DataView Specification and even extends it for a more practical use. Explanation There are three ways to read a binary file from the browser. The first one is to download the file through XHR with charset=x-user-defined. You get the file as a Str
The HTML DOM APIWindowInstance propertiescachesclosedcookieStorecredentialless Experimental crossOriginIsolatedcryptocustomElementsdevicePixelRatiodocumentdocumentPictureInPicture Experimental event Deprecated external Deprecated fence Experimental frameElementframesfullScreen Non-standard historyindexedDBinnerHeightinnerWidthisSecureContextlaunchQueue Experimental lengthlocalStoragelocationlocati
Posted at September 19, 2011 by Nicholas C. Zakas Tags: JavaScript, Performance, Timer Those who have attended my talks on JavaScript performance are familiar with my propensity for using setTimeout() to break up long scripts into smaller chunks. When using setTimeout(), you’re changing the time at which certain code is executed, effectively yielding the UI thread to perform the already-queued tas
Douglas Crockford 2007-08-05 Demonstration This is the companion file to my paper on Vaughan Pratt's Top Down Operator Precedence. The paper presents a parser for Simplified JavaScript that is written in Simplified Javascript. It is chapter 9 of Beautiful Code. This page loads that parser and runs the parser on itself. This page loads two JavaScript files:
In ECMAScript 6, template strings [1] are a syntactic construct that facilitates the implementation of embedded domain-specific languages (DSLs) in JavaScript. They were originally called “quasi-literals”. This blog post explains how they work. Warning: This blog post is slightly outdated. The terminology has changed: Template literal (was: template string): `abc` Tagged template (was: tagged temp
Click this image to start demos. Note that it takes long time to load the page. Left-click to create an object. Right-click to show next example. What's this Box2DJS is a JavaScript port of Box2D Physics Engine. To tell the truth, this is converted from Box2DFlashAS3_1.4.3.1 in an automatic manner. (The reason why not Box2DFlashAS3_2.0.0 based is simply because I overlooked the renewal.) How to us
http://subtech.g.hatena.ne.jp/mayuki/20110821/1313917754 をfirefoxでもrequestAnimationFrameで動かすテスト 面倒なのでmozBeforePaintは使わない. サンプルを複数のアニメーションを同時に動かしたものに改造 memo: animation frame request callback list, <handle, callback, cancelled> handle :UA generater integer (greater than zero) callback : callback function (which require timestamp as a argument) canncelled:default false [1:{callback: <FUNCTION>,cannce
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015. * Some parts of this feature may have varying levels of support. Learn moreSee full compatibilityReport feedback A WeakMap is a collection of key/value pairs whose keys must be objects or non-registered symbols, with values of any arbitrary JavaScript type, and
My JSConf.eu talk about next-gen JavaScript metaprogramming features, starting with ES5's new Object APIs and then focusing on the forthcoming Proxy object, approved for the next ECMA-262 Edition. This is beautiful work from Tom Van Cutsem and Mark Miller, with Andreas Gal helping on the implementation front -- proxies are already shipping in Firefox 4 betas.Read less
2011/09/18 Intel、並列プログラミングができるようJavaScriptを拡張 Intelは、並列プログラミングができるようJavaScriptの拡張バージョン「River Tail」を開発していることがIDFで明かされた。初期バージョンはFirefoxのアドオンという形でオープンソースで入手できる。通常は3fpsしかアニメーション処理ができないものが、8コアのプロセッサで並列プログラミングを行うと45fpsと15倍の処理が可能になるという。GoogleのNaCLは必要ない?Intel Blog | Building a Computing Highway for Web ApplicationsRegister | Intel extends JavaScript for parallel programming メールで送信 BlogThis! Twitter で共有する
TXJS 2011 A6 – Brendan Eich – Ecma TC39: The Good, The Bad, and The Ugly. [Main slides] [Paren-free] I spoke at TXJS, a really excellent regional JS conference, in June. Thanks to @SlexAxton, rmurphey, and everyone else involved. My talk was concerned with the good, bad, and ugly of Ecma TC39 (and I mean those words in the best possible way!), mixing philosophy with historical events from the last
Document Data Structure in MongoDB Express MongoDB lets you easily store structured and unstructured data in a flexible and dynamic database schema. It supports CRUD operations on complex data objects using JSON as the main data type. Its an open source solution so it may not be as robust or well supported as commercial management tools. However it is easy to deploy and works well for most use cas
August 26, 2011 I was recently asked to review some code for a new JavaScript application and thought I might share some of the feedback I provided as it includes a mention of JavaScript fundamentals that are always useful to bear in mind. Code reviews are possibly the single biggest thing you can do to improve the overall quality of your solutions and if you're not actively taking advantage of th
知ってて当然?初級者のためのJavaScriptで使う即時関数(function(){...})()の全て この記事長すぎ。。。 即時関数パターン JavaScript では、 (function() { // なんらかの処理 })(); と書くことで、なんらかの処理をその場で実行できます。これを即時関数パターンと呼ぶそうです。 どういうときに使うの? ブロックスコープを疑似的に作りたいときに使います。 JavaScript では、ブロックの外と中でスコープが同じです。 どういうことかというと、 var message = "hoge"; if(message === "hoge") { var message = "fuga"; alert(message); // fuga と表示される } alert(message); // fuga と表示される if(){} ブロックの中で v
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く