Promiseとは Promiseは非同期処理を綺麗に書けるAPIです。 従来は複数の非同期処理を繋げるとコールバック地獄に陥ってしまいがちでしたが、Promiseを利用することで可読性の高いコードを実装することが出来るかと思います。 Promiseについては他の記事が沢山ありますので割愛します。 詳細を学ばれたい方は、@azu氏の Promiseの本 が解りやすいのでおすすめです。 各ブラウザの対応状況 各ブラウザの対応状況はこちらで確認できます。 主要なブラウザは対応しているため問題ありませんが、残念ながらIEは未対応です。 IEでPromiseを動作させる IEなどのブラウザでPromiseに対応させる方法はいくつか有りますが、polyfillを読み込む方法が楽かと思います。 polyfillも複数ありますが、個人的には es6-promise がおすすめです。 browserify
IE6はタヒぬDeath! こんばんは、クラスメソッドWebマスターの野中です。 今日はクリスマスですね、社内には独り身の負のオーラが満ちてます(既婚者が多いので残っている人は少ない)。 ところで、最近はCSS3もすこしずつ使えるようになってきていて、IE6からIE8の対応を蔑ろにしてしまっている自分がいます。 Web制作に携わってから6年、常に付きまとう古いIEは腐れ縁というか、ある意味青春ですね。 とっても今さら感たっぷりなお題目ですが、ここでIE対応のポイントを自分のために総浚いして青春に決着をつけたいと思います。 過去の経験と情報収集をもとにまとめているので実際にテストしたものではありません。 解決のきっかけ程度になれば良いと思いまとめています。 IEの現状 一般的なブラウザと先進的なブラウザに対する手法と考え方 ドキュメントタイプ:文書型定義 IE向け条件付きコメントで分岐処理
In Visual Studio 2022 17.10 Preview 2, we’ve introduced some UX updates and usability improvements to the Connection Manager. With these updates we provide a more seamless experience when connecting to remote systems and/or debugging failed connections. Please install the latest Preview to try it out. Read on to learn what the Connection ...
One the coolest features of Internet Explorer 8 that most developers don’t know about are the built-in developer tools. Think Firebug, except for Internet Explorer, and built by the IE Team, so you don’t have to download anything, install it, or enable it. Heck, my Mom could bring up the developer tools if she really wanted! Over the next week or so, I’m going to do a short series on the Intern
Internet Explorer Team Blog We've moved! Find us at the new Microsoft Edge Dev Blog As we announced last week, with the reveal of Microsoft Edge we are archiving the IEBlog. Future... Date: 05/08/2015 Microsoft Edge is the browser for Windows 10 This morning, Joe Belfiore took to the stage at Build 2015 to share more about the next chapter in... Date: 04/29/2015 Announcing improvements to Enterpri
画面がUnloadされる前に発生するイベント。 ちなみに onLoad は画面が表示された時(表示完了時)、onUnload は画面がUnload(画面遷移、×ボタン押下など)された時。Unloadされた時、なので画面自体はもう落ちて(遷移して)います。 画面遷移する前、または落ちる前に何かしたい場合に、onBeforeUnload イベントを指定します。 よくあるのが、登録画面などで「登録してないけど遷移していいの?」的な確認でしょうか。 記述方法は <BODY onBeforeUnload="XXXX"> で、XXXXには javaScript のファンクション名か、または javascript:alert("test"); などの様に直接スクリプトを記述します。 指定するファンクションの内容は、特に制限はありません。 また、onSubmit などと同様、return 値を受け取ること
Microsoft Internet ExplorerでFirebugのようにJavaScriptをデバッグできるプラグイン「DebugBar」が23日、新しいバージョンアップ5.2が公開された。DOM解析や、JavaScriptのデバックといった従来の機能のほか、IETesterでURLを表示させることもできるようになった。 JavaScriptはブラウザさえあればどこでも実行できる手軽なプログラミング言語だが、いざ本格的なアプリケーションを開発しようとするときに、デバッガやIDEといったプログラミング環境が十分ではないようだ。けっきょくブラウザで実行することから、Firefoxのアドオン「Firebug」がよく使われている。また最近では、Google ChromeやSafari 4のように、オフィシャルで開発環境が用意されているブラウザも登場している。 そんな中で最大の難関となるのが、
Welcome to DebugBar Wiki 2015-03-02 : DebugBar v7.5.1 released : Try it Now ! 2014-10-13 : IETester v0.5.4 released : Try it now, it's free ! 2010-09-15 : Companion.JS v0.5.5 released: Download NOW ! Work faster This web site is for DebugBar community to get news about next releases, tutorials and samples on how to faster your developments with DebugBar, share experience, improve DebugBar usage, g
Blogs from the JScript team in Microsoft Steps Toward Creating Compatible ECMAScript 5 Implementations As we’ve discussed in the past, Microsoft has been actively involved in the developing the... Date: 06/29/2009 Native JSON Support in IE8 and Tracking the ECMAScript Fifth Edition Draft Specification UPDATEMicrosoft has released an update that addresses most of the issues discussed below. Refer..
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く