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
I gave this talk: I know jQuery. What now? at jQuery UK 2013 (video of the talk), but instead of my usual approach of post-it explosion on my desk, I wrote a post first, and created the slides from the post. So here is my (fairly unedited) quasi-ramble on how I used jQuery, and how I'm looking at where I'm using native browser technology. Addition resources As this post was also the content for a
Warning: include_once(/home/sites/lolipop.jp/users/lolipop.jp-dp16105308/web/wp/wp-content/plugins/wp-super-cache/wp-cache-phase1.php): failed to open stream: Permission denied in /home/users/0/lolipop.jp-dp16105308/web/wp/wp-content/advanced-cache.php on line 8 Warning: include_once(): Failed opening '/home/sites/lolipop.jp/users/lolipop.jp-dp16105308/web/wp/wp-content/plugins/wp-super-cache/wp-c
jQuery#triggerのテスト describe('jQuery#trigger', function() { it('イベントハンドラに値を渡せること', function(done) { var $el = $('<div>'); $el.bind('foo', function(event, val) { expect(val).to.be('bar'); done(); }); $el.trigger('foo', 'bar'); }); }); コールバックが2回呼ばれるかをテスト describe('jQuery#trigger', function() { it('イベントハンドラに値を渡せること', function(done) { var $el = $('<div>'); var count = 0; $el.bind('foo', function(event,
Support this website by purchasing prints of my photographs! Check them out here. I gave a talk this morning on the JavaScript Event Loop at Penguicon 2013. Even though I had used JavaScript for several years, I didn't completely comprehend how the Event Loop works until a few months ago. When the opportunity came to present at Penguicon, I figured this was as good of a topic as any. The version o
■ [JavaScript][Sinon.JS]Sinon.JSのstubについて Sinonのstubに関するドキュメントはここです。 そもそもstubとは Test stubs are functions (spies) with pre-programmed behavior. They support the full test spy API in addition to methods which can be used to alter the stub's behavior. As spies, stubs can be either anonymous, or wrap existing functions. When wrapping an existing function with a stub, the original function is not calle
Application Load Testing Tools for API Endpoints with loader.io loader.io はメール送信サービスで有名な SendGrid が実験的に提供しているサービスです。 これもまた Dev Intersection に参加したときに Brady Gaster 氏のセッションで使われていて、凄く便利だと思ったので実際に試してみました。 ちなみにセッションでは Windows Azure Web サイトに対して負荷をかけて、無料から共有へとスケールさせるデモだったんですが、当然ながらそれ以外にも使えます。 まずはアカウントを登録する必要がありますが、メールアドレスとパスワードを入力するだけなので非常に簡単です。とりあえずアカウントを作ってサインインすると以下のような画面になります。 「New Test」ボタンをクリックすると、テス
久しぶりに「タッチ」を見てドキドキしました GW前半2日目、皆様いかがお過ごしでしょうか。 「引きこもり系エンジニア」を自称する私は、せっかく外出したのにすぐ帰ってきてしまい、PCとテレビの前で平日と変わらないお仕事ライフです。 テレビと言えば先日、「タッチ」が再放送していました。みなみちゃん、いつ見ても可愛いわぁ...*1。そして妄想をかきたてまくる主題歌に萌え殺されまくったあの日々。 ということで*2、今回は、先日のブログで紹介した『スッキリわかる SQL 入門』で公式に対応をうたった、我ら開発者の強い味方「H2 Database」を紹介していこうと思います。 H2 Databaseとは H2 Databaseは、Javaだけで記述されているオープンソースのRDBMSです。もともとHSQLDBを作っていたトーマス・ミューラーさん*3が、サラから作り直したものです。 「動作が超速い」とい
Java SE 7から、switch構文で文字列が使えるようになりました。 public void hoge(String s){ switch(s){ case "a": System.out.println("AA"); break; case "b": System.out.println("BB"); break; default: System.out.println("Other"); } } ところが、残念なことに、sがnullの場合はdefaultには飛ばず、ぬるぽが発生します。 そこで、null判定は事前にif文で行うことになるので、次のようなif-else switchイデオムを使うと便利です。 if(s == null){ System.out.println("Null!"); }else switch(s){ case "a": System.out.printl
JsHamcrest – Library of matcher objects for JavaScript¶ JsHamcrest is a JavaScript library heavily inspired by Hamcrest. It provides a large library of matcher objects (also known as constraints or predicates) allowing “match” rules to be defined declaratively. Typical scenarios include testing frameworks, mocking libraries, UI validation rules and object querying. This is an open source project l
2024.06.21 『CeVIO AI』アップデート(バージョン9.1.14.0) 2024.06.20 『CeVIO AI』バージョン9.1.13.0正式公開 2024.05.21 『ずんだもん』『四国めたん』CeVIO AI ソングボイス発売決定! 『CeVIO AI』バージョン9.1.14.0を公開致しました。  ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ■主な更新内容 ・一度もソングトラックを選択せずソングを再生するとエラーが発生する不具合、 非選択ソングトラックのキャストを変更するとエラーが発生する不具合等を修正。  ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ 『CeVIO AI』を起動してアップデートしてください。 アップデートの詳細や操作方法等は、ユーザーズガイドをご覧ください。 『CeVIO AI』バージョン9.1.13.0を正式
Writing shell scripts is very much like programming. Some scripts require little time investment; whereas, other complex scripts may require thought, planning and a larger commitment. From this perspective, it makes sense to take a test-driven approach and unit test our shell scripts. To get the most out of this tutorial, you need to be familiar with the command line interface (CLI); you may want
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く