並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 14 件 / 14件

新着順 人気順

jquery array each functionの検索結果1 - 14 件 / 14件

  • WebKit Features in Safari 16.4

    Mar 27, 2023 by Patrick Angle, Marcos Caceres, Razvan Caliman, Jon Davis, Brady Eidson, Timothy Hatcher, Ryosuke Niwa, and Jen Simmons ContentsWeb Push on iOS and iPadOSImprovements for Web AppsWeb ComponentsCSSHTMLJavaScript and WebAssemblyWeb APIImages, Video, and AudioWKWebViewDeveloper ToolingWeb InspectorSafari Web ExtensionsSafari Content BlockersNew Restrictions in Lockdown ModeMore Improve

      WebKit Features in Safari 16.4
    • JS Self-Profiling API In Practice

      Nic Jansma (@nicj) is a software developer at Akamai building high-performance websites, apps and open-source tools. Table of Contents The JS Self-Profiling API What is Sampled Profiling? Downsides to Sampled Profiling API Document Policy API Shape Sample Interval Buffer Who to Profile When to Profile Specific Operations User Interactions Page Load Overhead Anatomy of a Profile Beaconing Size Comp

        JS Self-Profiling API In Practice
      • Creating a pointer-friendly submenu experience | React Aria

        We are excited to announce support of submenus in the latest release of React Spectrum and React Aria! In the process of adding this feature, we found ourselves solving some unique challenges while working to make submenus user-friendly and accessible across an array of devices and input types. In doing so, we wanted to share our thought process in solving one of the challenges we faced along the

          Creating a pointer-friendly submenu experience | React Aria
        • 【WV.8】WordPressのJSおよびCSSを最適化する – Capital P – WordPressメディア

          Core Web Vitalの連載第8回では、JSおよびCSSの最適化について説明しよう。配信の最適化(Gzip圧縮、CDN、ブラウザキャッシュ)についてはすでに第1回「リソース配信の最適化」で説明したのでそちらを参照して欲しい。今回最適化するのは次の項目である。 不要な読み込みをなくす(特にプラグイン)CSS・JS自体を分割し、必要な時だけ読み込む。 この作業はかなり面倒くさく、サイトごとにチューニングが必要になる作業なので、運用歴の長い既存サイトで導入するのはかなり骨が折れるだろう。だが、最終的にはこの作業をやらないと「使用していないCSS / JavaScriptの削減」という項目をなくすことができない。 なにより、ユーザーに余計なデータをダウンロードさせないことは、ユーザー体験の向上につながるだろう。 不要なJS/CSSの読み込みを停止 まずは不要なCSSとJSの読み込みを停止する

            【WV.8】WordPressのJSおよびCSSを最適化する – Capital P – WordPressメディア
          • monorepo内でのパッケージのバージョンを1つだけに統一するOne Version Ruleをpnpm catalogで実装する - newmo 技術ブログ

            newmoでは、フロントエンド、バックエンド、iOSやAndroidなどのモバイルアプリをすべて同じリポジトリで管理するmonorepoを採用しています。 monorepoを採用することで、アプリケーション間で共通のコードを共有することができたり、CIの管理が楽になったり、他のチームのコードを見るのにわざわざリポジトリをcloneする必要がなくなります。 また、monorepoを採用することで、アプリケーションが利用しているパッケージ(ライブラリやツール)のバージョンを1つだけにするOne Version Ruleが実装できます。 One Version Rule One Version Ruleは、monorepo内のパッケージのパッケージのバージョンを1つだけにするルールです。 The One Version Rule  |  Google Open Source One Versio

              monorepo内でのパッケージのバージョンを1つだけに統一するOne Version Ruleをpnpm catalogで実装する - newmo 技術ブログ
            • JavaScript needs more helper functions for iteration (map, filter, etc.) – where should we put them?

              JavaScript needs more helper functions for iteration (map, filter, etc.) – where should we put them? Iteration is a standard that connects operations with data containers: Each operation that follows this standard, can be applied to each data container that implements this standard. In this blog post: We first explore three questions: How does JavaScript’s iteration work? What are its quirks? What

              • Shai Hulud Strikes Again (v2) - Socket

                Shai Hulud Strikes Again (v2)Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected. Update: November 26, 2025 PostHog has published a detailed post mortem describing how one of its GitHub Actions workflows was abused as an initial access vector for Shai Hulud v2. An attacker briefly opened a pull request that modified a script executed via pull_requ

                  Shai Hulud Strikes Again (v2) - Socket
                • Image To Text Conversion With React And Tesseract.js (OCR) — Smashing Magazine

                  Do you have to process data manually because it is served through images or scanned documents? An image-to-text conversion makes it possible to extract text from images to automate the processing of texts on images, videos, and scanned documents. In this article, we look at how to convert an image to text with React and Tesseract.js(OCR), preprocess images, and deal with the limitations of Tessera

                    Image To Text Conversion With React And Tesseract.js (OCR) — Smashing Magazine
                  • Migration From jQuery to Next.js: A Guide — Smashing Magazine

                    This guide will show you how to migrate your jQuery site to React with Next.js – which is a significant undertaking, especially for big code bases. However, this migration allows you to use newer concepts (such as data fetching at build time) to help with our code’s performance and maintainability. jQuery has served developers well for many years. However, libraries (like React) and Frameworks (li

                      Migration From jQuery to Next.js: A Guide — Smashing Magazine
                    • Google Apps Scriptでスクレイピングを極める【GAS】 | 🌴 officeの杜 🥥

                      Google Apps Scriptで意外とよく利用されてるのが、ウェブページのスクレイピング。今どきのウェブサービスだとREST APIが装備されてるのが半ば当たり前になってきていますが、そうではないサイトや提供されていないサイトも非常に多いです。 そういったサイトのデータを手動で検索し値をコピー、貼り付けて整形してから処理をするのではスマートではありません。そういったケースを自動化するのがスクレイピングの主な目的です。但し、連続してスクレイピングを行うと相手方ウェブサイトに多大な負荷を掛け、また場合によってはアクセスを禁じられる恐れもあるため、利用する頻度やルールは守りましょう。 今回使用するサービス等 スクレイピングサンプル - Google Spreadsheet Google Cloud Functions Puppeteer cheerio for Google Apps Sc

                        Google Apps Scriptでスクレイピングを極める【GAS】 | 🌴 officeの杜 🥥
                      • Migrating to v5

                        Track and review changes to the Bootstrap source files, documentation, and components to help you migrate from v4 to v5. Dependencies Dropped jQuery. Upgraded from Popper v1.x to Popper v2.x. Replaced Libsass with Dart Sass as our Sass compiler given Libsass was deprecated. Migrated from Jekyll to Hugo for building our documentation Browser support Dropped Internet Explorer 10 and 11 Dropped Micro

                          Migrating to v5
                        • Ajaxでページ遷移なしの絞り込み検索をつくる | WordPressカスタマイズ事例【100ウェブ】

                          「フォームでメタタグやカテゴリなどの複合条件を選択して絞り込み検索する」では、フォームを使ったサイト内絞り込み検索の事例を紹介しました。この事例ではページ遷移して検索結果が表示される仕様でした。 今回はAjaxを使って、検索時にページ遷移しない絞り込み検索を作ってみます。 WordPressはデフォルトでAjax処理をするファイル(/wp-admin/admin-ajax.php)を持っているので、そのファイルを使います。 例として、カスタム投稿タイプで管理する「仕事情報(jobs)」を、カスタムタクソノミーで管理する「スキル(jobs_skill)」とカスタムフィールド(アドバンストカスタムフィールド)で管理する「エリア(jobs_area)」を条件にして絞り込む、絞り込み検索をつくることとします。 作る(あるいは編集する)ファイルは4つ。 HTMLテンプレート: archive-job

                          • 管理画面に独自設定ページを追加する | ピコクリ

                            2021.04.16 以前参考にした記事よりかなりシンプルな感じのサンプルを拝見しました。 【WordPress】管理画面にオリジナルのメニュー画面を作る方法 上記記事でも使っているsettings_fields()を使うと、 ソース行が半分以下になる場合もあり、追加・削除等もかなり楽になる 保存用のダミーデータが不要 等、かなりいい感じなので全面書き換えしました。 コピペで動くと思いますが、動かない場合は上記参考記事のほうをご覧ください。 テーマにいろいろな機能を追加していくと、それらを一括して管理できる機能が欲しくなってきます。 そこで、管理画面に設定ページを追加、UIで変更できるようにしよう、というお話です。 ソース <?php //サイト設定ページ追加 add_action( 'admin_menu', 'add_site_settings_menu' ); function ad

                            • ECMAScript proposal: iterator helpers

                              Update 2022-12-15: New section “How will this proposal affect future JavaScript APIs?” In this blog post, we look at the ECMAScript proposal “Iterator helpers” by Gus Caplan, Michael Ficarra, Adam Vandolder, Jason Orendorff, Kevin Gibbons, and Yulia Startsev. It introduces utility methods for working with iterable data: .map(), .filter(), .take(), etc. The style of the proposed API clashes with th

                              1