タグ

jQueryに関するt-wadaのブックマーク (93)

  • Drop jQuery as a dependency · Issue #25208 · rails/rails

    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

    Drop jQuery as a dependency · Issue #25208 · rails/rails
    t-wada
    t-wada 2016/06/01
    DHH が jQuery を Rails のデフォルトスタックから外す判断を下そうとしている
  • Grunt, Rebooted | Official jQuery Blog

    Grunt is one of the best-known and most popular task runners in the web developer’s toolkit. Now that this project has joined the jQuery Foundation, we’re looking to get the project rolling again. Ben Alman, the creator of Grunt, is looking for contributors who can take over the reigns. The team could use some help with triaging a stack of issues and pull requests, then getting a new release out t

    t-wada
    t-wada 2015/11/20
    窮状の Grunt が jQuery Foundation 傘下に。 jQuery Foundation は esprima 立て直しの実績があるが、はたして。
  • 【翻訳まとめ】jQuery 3.0 alpha リリースノート - Qiita

    3.0正式版がリリースされたので、新しい記事を書きました 【翻訳まとめ】jQuery 3.0 アップグレードガイド tl;dr jQuery 3.0 alphaがリリース .hide()と.show()に後方互換性のない変更あり(注意!) jQuery.DeferredがよりPromises/A+に準拠 .width()と.height()が小数値を返せるように 非推奨の.load, .unload, .errorや、ajaxの.success(), .error(), .complete()が廃止 requestAnimationFrameの復活 はじめに 2015/7/13にjQuery 3.0 alphaがリリースされました。 http://blog.jquery.com/2015/07/13/jquery-3-0-and-jquery-compat-3-0-alpha-versio

    【翻訳まとめ】jQuery 3.0 alpha リリースノート - Qiita
    t-wada
    t-wada 2015/07/28
    メジャーバージョンアップなので下位互換性のない変更がいくつか入っているな
  • 【翻訳】Publishing your jQuery plugin to npm, the quick and dirty way — Medium

    The author chose to make this story unlisted, which means only people with a link can see it. Are you sure you want to share it?Yes, show me sharing options 【翻訳】Publishing your jQuery plugin to npm, the quick and dirty way邦題:あなたのjQuery pluginをnpmに公開する方法The jQuery Plugin Registryは読み取り専用になり、npmへの引っ越しがオススメされています。この文章を読んでいるということは、あなたはnpmへの引っ越しを考えているjQueryプラグインの作者さんでしょうか。私たちは、その引っ越しが痛みを伴わないことを望んでいます。np

    t-wada
    t-wada 2015/02/25
    "The jQuery Plugin Registry は読み取り専用になり、 npm への引っ越しがオススメされています" おお、そんなことになっていたのか
  • jQuery 公式 Blog 「jquery-latest.js を使用するのをやめろ」

    jQuery 公式 Blog は、「Don't Use jquery-latest.js」 と題された記事内で、今後、jquery-latest.js のバージョンを 1.11.1 で固定することと、番環境で jquery-latest.js を読み込むのをやめてくれというアナウンスを行っています。 jQuery 公式 Blog は、7月 3日付けで投稿された 「Don't Use jquery-latest.js (jquery-latest.js を使うな)」 と題された記事内で、今後、jquery-latest.js のバージョンを 1.11.1 で固定することと、番環境 (公開している Web サイト) で jquery-latest.js を読み込むのをやめてくれというアナウンスを行っています。 Don't Use jquery-latest.js : Official jQ

    jQuery 公式 Blog 「jquery-latest.js を使用するのをやめろ」
    t-wada
    t-wada 2014/07/08
    そりゃそうだろとしか言いようがないし、 "latest" という言葉で示される RESTful なリソースが死んでしまった(負けてしまった)瞬間でもあるな……
  • Ben Alman » jQuery throttle / debounce: Sometimes, less is more!

    jQuery throttle / debounce: Sometimes, less is more! jQuery throttle / debounce allows you to rate-limit your functions in multiple useful ways. Passing a delay and callback to $.throttle returns a new function that will execute no more than once every delay milliseconds. Passing a delay and callback to $.debounce returns a new function that will execute only once, coalescing multiple sequential c

    t-wada
    t-wada 2014/05/10
    連続で発生するイベントの間引きを行う jQuery プラグイン
  • jQueryのメモリーリークの傾向と対策 — KaoriYa

    Web開発にとても便利なjQueryですが、 実はメモリーリークを誘発しやすい構造であることは あまり知られていないようです。 記事ではメモリーリークが発生する傾向と対策を紹介します。 皆さんjQueryは使ったことありますよね。Webでの開発ではとても便利で、ほぼ必須と言っても過言ではありません。しかしながらこのjQueryはメモリーリークを誘発しやすい構造であることはあまり知られていません。 GCのあるJavaScriptでメモリーリークが発生するとは何を言っとるんだ、と思われる向きもあるやもしれません。しかしGCがあっても、もう使わなくなったオブジェクトを配列やテーブル(Object)にしまいこんでいて、それを回収するタイミングが存在しなければ積もり積もってメモリを圧迫する、メモリーリークとなりうるというのは想像に難くないでしょう。jQueryで起こりうるメモリーリークはそのような

    t-wada
    t-wada 2014/03/29
    “答えはシンプルで jQuery API 以外で DOM 操作を行うとメモリーリークが起こりえます。正確に言いますと、jQuery events や jQuery data を使った=追加・設定したノードを DOM API 経由で削除すると…リークします”
  • jQuery 1.11 and 2.1 Released | Official jQuery Blog

    Here in the eastern part of the United States, we’re huddling in subzero temperatures and dealing with the aftermath of a snowstorm. Still, there’s nothing to brighten our moods like the pristine beauty of a freshly fallen release–no, make that TWO releases. jQuery 1.11.0 and 2.1.0 are ready to keep you warm on these dark winter nights. You can get the files off our CDN as always, and either use t

    t-wada
    t-wada 2014/01/27
    jQuery 1.11 及び 2.1 リリース。 npm や bower でも配布開始(つまり公式版を npm や browserify で使える)。いろいろ問題の種になっていたので minify 版には sourcemap コメントを付けないとのこと
  • jQuery 1.9 に更新する際に注意すべき変更点の自分なりのまとめ | 私的なjQuery他

    jQuery Core 1.9 Upgrade Guide | jQuery の「Changes of Note in jQuery 1.9」を読んで、 自分なりにまとめました。 誤訳して間違ったことをまとめてたり、 最新の情報でないかもしれないので 読まれる際はご注意下さい。 (※ページをそのまま訳したわけではないと、思います) jQuery 1.9 では API の削除や 挙動の変更を行っています。 この記事は、前のバージョンから更新した時、 既存のコードに影響がでそうな変更を 並べたものになります。 変更点を全部網羅しているわけではありません。 箇条書きにすると以下のような感じ: 削除された機能 .toggle(function, function) の用法 jQuery.browser() .live()と.die() jQuery.sub() document 以外の要素での A

    t-wada
    t-wada 2013/02/04
    jQuery 1.9 の変更点まとめ。変更点が結構多い。
  • jQuery公式プラグイン・レジストリが公開。GitHubと連携など、今風の仕組みに惚れ惚れ

    白石 俊平 ニュース jquery 0 Comment 2013年1月17日、jQuery「公式」のプラグイン・レジストリ(プラグインの集積場)が公開されました! URLはこちらになります。 http://plugins.jquery.com/ このプラグイン・レジストリの目的は、従来のプラグインサイトでは解決できなかった、「断片化」と「配布」の問題を解決することだそうです。 「断片化」・・・「jQuery プラグインがWeb上の至る所にあり、探すのが面倒」という、現在の状況 「配布」・・・作成したプラグインを配布するためのサイト作成や宣伝に手間がかかる、従来のプラグインサイトでは登録が面倒だった 新しいプラグイン・レジストリは、GitHubと連携することを前提として、こうした問題をエレガントに解決し、従来のプラグインサイトを完全に置き換えるものです。 開発者にとっては、プラグインを公開

    t-wada
    t-wada 2013/01/17
    これはいいな!
  • jQueryの未来に備える - Cybozu Inside Out | サイボウズエンジニアのブログ

    こんにちは、kintoneを作っているエンジニアの佐藤鉄平(@teppeis)です。先日10/24に発売されたWEB+DB PRESS Vol.71のJavaScript連載で「プログラマのためのjQuery再入門」という記事を書かせて頂きました。 ワンランク上のjQuery使いを目指す方のために、こんな内容になっています。 パフォーマンスアップの秘訣 Sizzleの仕組みとセレクタの高速化 on/offによる新しいイベント制御API Deferredを使った非同期処理 最新版の1.8.2をもとに書いたので、1.4あたりでjQueryに入門した方の知識のブラッシュアップにもオススメです。是非ご覧ください。 これでもう「jQueryは甘え」なんて言わせません! jQuery 1.9で削除されるかもしれないAPIたち さて、jQueryの次期バージョン1.9が来年前半に計画されています。 1.

    jQueryの未来に備える - Cybozu Inside Out | サイボウズエンジニアのブログ
    t-wada
    t-wada 2012/11/01
    jQuery 将来の変更点に備えるためのエントリ。参考になります (いくつか使ってる…)
  • HTML5とjQuery Mobileを使い、わずか1週間でできたモバイル版Publickey

    昨日、Publickeyのモバイル対応版「Publickey Smart Edition」を発表しました。Publickeyのモバイル対応はずっと課題だったのですが、jQuery Mobileが登場したとき「これで簡単にモバイル対応ができる」と思い、jQuery Mobileが安定するタイミングを待っていました。 8月に「そろそろ大丈夫だろう」と思って開発を始めたところわずか1週間程度でモバイル対応ができあがってしまい、今週jQuery Mobileのβ3が出てフィーチャーフリーズになったのに合わせて試験運用を開始しました。 Publikceyのモバイル版の開発は、おおむね3つのステップ「モバイル用HTMLの生成」「jQuery Mobileによるタッチインターフェイスの構築」「小さな画面に合わせた画像縮小」から構成されています。ここではその裏側を少し紹介しましょう。 CMSでモバイル用H

    HTML5とjQuery Mobileを使い、わずか1週間でできたモバイル版Publickey
    t-wada
    t-wada 2011/09/13
    早いな!
  • jQuery 1.5の新機能: jQueryのサブクラスが作れるようになる | へびにっき

    jQuery 1.5 beta1 のリリースノートを見ていたら面白そうな機能があったので紹介。 jQuery.subclass() でjQueryのサブクラスを作ることができる var MyjQuery = jQuery.subclass(); 作成したサブクラスには独自のメソッドを定義することができる。定義の仕方、使い方は通常のjQueryと全く同じ。 MyjQuery.fn.writeHello = function(){ this.text('Hello World'); }; MyjQuery('p').writeHello(); 通常のjQueryメソッドはサブクラスでもそのまま使える。サブクラスを作った後に追加したメソッドも使えるので、プラグインによる拡張と組み合わせても大丈夫。 MyjQuery('div').css('border', '1px red solid').wr

    t-wada
    t-wada 2011/01/18
    これは面白い
  • Amazon.co.jp: jQuery Pocket Reference: Read Less, Learn More: Flanagan, David: 本

    t-wada
    t-wada 2010/12/10
    David Flanagan は jQuery のポケットガイドも書いているのか
  • Web Directions Reflections, part 2: Mobile Development with John Resig — SitePoint

    The hottest topic at last month’s Web Directions @media was the mobile web. Almost every speaker had something to say, but two of the most notable were John Resig and Jonathan Stark. John Resig: Testing Mobile Web Apps Has jQuery saved your sanity? This is the man to thank. jQuery author and JavaScript guru John Resig spent an hour discussing his experiences, joys and frustrations developing for m

    Web Directions Reflections, part 2: Mobile Development with John Resig — SitePoint
    t-wada
    t-wada 2010/07/14
    "Note that there won’t be a mobile-specific version of jQuery; it’ll be a single unified library which supports all popular desktop and mobile browsers." "Cross-browser mobile web development is crazy!"
  • Bespin仕切り直し:SproutCore/PythonからjQuery/Node.jsへ - 以下斜め読んだ内容

    mozilla labのプロジェクトの1つbespinが実装方法の見直しがされた模様。 フロントエンドGUI)周りはjQueryへ、サーバーサイドはNode.jsへ変更。 メインで開発してるKevin Dangoorが、ブログエントリやgoogle groupで報告してた。 Bespin Server roadmap Googleグループ「Bespin」での投稿。 Bespinのサーバーサイド開発ロードマップの報告エントリ サーバサイドの開発言語をpythonからjavascript(CommonJSライクな実装)に変更するとアナウンス 以下斜め読んだ内容 投稿を内容を一言で・・・ クライアントサイドの開発に区切り。次はサーバーサイドへ注力 BespinサーバーのコードををNode.jsに書き直してる。 CommonJSのようなプラグイン機能を実装したい Bespinのホスティング方法へ

    Bespin仕切り直し:SproutCore/PythonからjQuery/Node.jsへ - 以下斜め読んだ内容
    t-wada
    t-wada 2010/07/13
    Bespin のサーバ側は node.js 、クライアント側は jQuery に変更された。その設計判断について。
  • Prototyperに贈るjQuerystからの手紙

    先に 別にどっちがいいという話ではないです。 向き不向きはありますが、どちらもフレームワークとしての完成度は高いです。(Prototype.jsも1.6.0でDOM Readyサポートしたし) 先に 具体的には以下のような使い分けがおすすめ Prototype.js 速度が要求される演算 複雑なアルゴリズムを使用した計算 他のクラスを拡張した処理(google mapsとか) jQuery 簡単なDOM操作 イベント処理 ブログパーツ

    t-wada
    t-wada 2010/03/25
    なるほど良い表現 "JSの中にjQueryが入っているのではなく、jQueryのDSLとしてJSを使う"
  • jGrowl - Unobtrusive Notification System for jQuery

    We have mentioned Growl-like notification system for web a while ago, they are Send Notifications Instantly with Growl Mootools and Roar – Another Notification Widget with MooTools. Here is another Growl-like script for web which is written in jQuery called jGrowl. jGrowl is a jQuery plugin that raises unobtrusive messages within the browser, similar to the way that OS X’s Growl Framework works. I

    jGrowl - Unobtrusive Notification System for jQuery
    t-wada
    t-wada 2008/07/08
    おお、 jQuery で Growl 風 UI とな?
  • jQueryでテーブルをかなり便利にフォーマットしてくれる『Flexigrid』 - IDEA*IDEA ~ 百式管理人のライフハックブログ ~

    We'll be back soon! Our site is currently undergoing maintenance. Please check back later.

    jQueryでテーブルをかなり便利にフォーマットしてくれる『Flexigrid』 - IDEA*IDEA ~ 百式管理人のライフハックブログ ~
  • TechTarget - Global Network of Information Technology Websites and Contributors

    Looking for information about Informa TechTarget products and services? The commercial homepage has moved. Visit Informa TechTarget News 25 Jul 2025 / Threats & Vulnerabilities News brief: SharePoint attacks hammer globe Check out the latest security news from the Informa TechTarget team. 25 Jul 2025 / Cloud Backup Commvault to acquire Satori Cyber for GenAI data security Satori Cyber, the third a

    TechTarget - Global Network of Information Technology Websites and Contributors
    t-wada
    t-wada 2008/03/19
    jQueryのtestrunnerでjsUnitを動作させられるように変更し、javascript一般のテストにも使えようにしたもの。MochiKitのテストの仕組みとどちらが使いやすいかな?