こんにちは、太田です。前回は総集編的な内容でしたが、今回は一転して基礎編に戻ります。JavaScriptにおける継承の方法とその仕組みについて、今回から数回に分けて基礎的な部分からきっちり押さえていきたいと思います。 JavaScriptとオブジェクト指向 JavaScriptはプロトタイプベースのオブジェクト指向プログラミング言語と言われています。new演算子を用いることで、関数がコンストラクタとして働き、そのコンストラクタが持つプロトタイプオブジェクトのメソッド(プロパティ)を継承した新しいオブジェクトを作ることができます。 なお、オブジェクト指向という概念については今回は触れません。オブジェクト指向という概念を掴みきれていない、自信がないという方は、JavaScriptのprototypeをしっかりと理解してから改めてその概念を学んでみるとすんなりと理解できるかもしれません。さらに、
Console Use console to interactively test browser features and behavior. For Testing your Javascripts, try Testem - a new tool for Javascript Test-Driven-Development (TDD) and Continous Integration (CI). Getting Started To get started, you first need to create a room and connect your browser to it. Once a room is created you can connect other browsers to it as well. Create a Room and Connect Then,
情報家電のデファクトスタンダードブラウザ NetFront® Browserは、最先端かつ幅広い用途に利用可能な、パワフルな情報家電向けインターネットブラウザです。 限られたリソース環境においても高性能を発揮し、ストレスのない使いやすさを提供できるよう最適化されています。 主要なOS、CPUをサポートしていることはもちろん、低消費電力、自由にカスタマイズできる柔軟性、豊富なプラグインなどによる、優れた拡張性を特長に圧倒的な実績を誇っています。 NetFront Browserは、携帯電話、デジタルテレビ、セットトップボックス、PDA、ゲーム機、自動車のテレマティックスシステムなど、世界中のさまざまなインターネット機器に搭載されています。 NetFront Browser v3.5のメリット Web2.0への対応 次世代WebサービスであるWeb2.0は、プラットフォームとしてのWebという
Google Chrome 5のリリースが刻一刻と迫ってきました。その注目の新機能と開発者向けの変更点に加え、Chrome 6を見据えた今後のスケジュールなどを詳細にお届けしたいと思います。 まず、Chrome 5の最大ニュースはなんといってもMac版、Linux版がそれぞれ正式にリリースされる予定という点です。これまで、Mac版とLinux版はベータ版と開発版が提供されていましたが、ついに安定版がリリースされる予定です。特にMac版はMac OS Xに馴染むようにかなりの改良が加えられているので、注目のリリースとなりそうです。 さて、これまでのリリースを簡単に振り返ってみます。シンプルで高速なブラウザとしてChromeがリリースされてから、Chrome 2では基本機能の充実と高速化、Chrome 3ではテーマのサポート、Chrome 4では拡張機能のサポートとブックマーク同期、Chrom
Click start to run the full test suite in your browser. Note that running the tests is a fairly strenuous exercise for a browser and will cause some browsers, particularly older ones, to crash or stall. If this happens you can close and reopen your browser and continue running where you left off. Failing tests will be added to the list above. Tests that are interrupted, for instance by crashing, a
On this page I compare WebKits in order to prove that there is no “WebKit on Mobile” and to figure out which one is the best. My hope is that eventually I’m going to gain some insight in the “family tree” of all WebKits. This page only contains tests of CSS and JavaScript items that work in some WebKits but not in all. Adding more items, all of which are either supported by all or by none of the W
ブラウザの表示領域を取得するに当たって、「ブラウザの種類」×「表示モード(標準/互換)」によって参照するプロパティが変わってきます。 IE、FireFox、Opera、Safariにて、表示モード毎に参照すべきプロパティをまとめてみました。(Safariについては2007/05/20に追記) 調査したのは、下記のプロパティです。 window.innerWidth window.innerHeight document.body.scrollWidth document.body.scrollHeight document.body.offsetWidth document.body.offsetHeight document.body.clientWidth document.body.clientHeight document.documentElement.scrollWidth d
Modern browsers like Firefox, Safari, Chrome and Opera support the HTML5 canvas tag to allow 2D command-based drawing. ExplorerCanvas brings the same functionality to Internet Explorer. To use, web developers only need to include a single script tag in their existing web pages. Overview Sample pages using the canvas tag are included with the source code. For more information about the canvas tag,
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く