textlint向けのルールとして敬体(ですます調)と常体(である調)を一つの文書内でどちらを使うか統一するtextlint-rule-no-mix-dearu-desumasuというルールを書きました。 初期からあったのですが、kuromoji.jsで形態素解析した結果をベースとしたり、明示的にどちらを優先するかのオプションを追加したので改めて紹介します。 インストール
数日前に、Vue.js 2.0 が発表された ( Announcing Vue.js 2.0 – The Vue Point – Medium )。Server Side Renderingに対応するそうなので、pre-alphaではあるけれど、単純なサンプルを動かしつつ、軽くコードリーディングした。対象のVue.jsはこの記事を書いた時の最新のnextブランチ( fix eslint again · vuejs/vue@014ac35 · GitHub ) 2.0のポイント 内部で GitHub - snabbdom/snabbdom: A virtual DOM library with focus on simplicity, modularity, powerful features and performance. ベースのVirtual DOMを持つようになり、パフォーマンスが
IntersectionObserver’s coming into viewPublished on Wednesday, April 20, 2016 • Updated on Tuesday, October 3, 2017 Let’s say you want to track when an element in your DOM enters the visible viewport. You might want to do this so you can lazy-load images just in time or because you need to know if the user is actually looking at a certain ad banner. You can do that by hooking up the scroll event o
JSer.info #277 - Node v6.0.0がリリースされました。 Node.js v6.0 (Current) がリリースされました。 - from scratch 6.xはlong term support (LTS)となるバージョンなので、LTSではない5.xを使っている人はアップデートが推奨されています。 4.xはLTSなので、2017年4月までサポートされます。 6.0.0ではNode v5.10.0にもバックポートされたBuffer APIの変更や、 V8 5.0へのアップデートにより、ES6の93%(Moduleを除く)が利用できるようになっています。 Fetch APIのpolyfillであるgithub/fetch 1.0.0がリリースされました。 Release Fetch 1.0.0 · github/fetch IE9のサポートが終了され、URLSear
Performance Timeline W3C Candidate Recommendation Draft 21 May 2025 More details about this document This version: https://www.w3.org/TR/2025/CRD-performance-timeline-20250521/ Latest published version: https://www.w3.org/TR/performance-timeline/ Latest editor's draft:https://w3c.github.io/performance-timeline/ History: https://www.w3.org/standards/history/performance-timeline Commit history Test
It is fun to plant and harvest new crops in my garden, but I’ll eventually wake up to a mess if I don’t regularly weed. While each weed isn’t a problem by itself, they combine forces to choke the system. Working in a weed-free garden is a productive pleasure. Codebases are like this too. I also don’t enjoy weeding, so I forget to and end up in trouble. Thankfully, in coding, we have great tools li
追記: [email protected]で別のパッケージを特定のパッケージ名で指定できるpackage aliasesが追加されました。 rfcs/0001-package-aliases.md at latest · npm/rfcs https://docs.npmjs.com/cli/v11/using-npm/package-spec#aliases https://andrewevans.dev/blog/2021-12-06-creating-aliases-with-npm/ 注意: この手法はnpm ciで壊れてる場合があります npm ci fails with transitive local packages - 🐞 bugs - npm forum Add support for ESLint v2 by Daniel15 · Pull Request #107
In this article I'll try to explain what is a Monad by developing an intuition based on commonly used patterns and objects, like arrays and promises. Lets start by analyzing a familiar data type: Arrays Arrays Map Lets say we have several useful functions that operate on numbers and return also numbers as their result; for example: var square = function (i) { return i*i }, sum1 = function (i) { re
Published 29 Apr, 2016 under Release Notes ESLint v2.9.0 released We just pushed ESLint v2.9.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release. Highlights This is a summary of the major changes you need to know about for this version of ESLint. Improved Autofix This release features a new version of autofix. Now,
Show navigation The V8 team places great importance on the evolution of JavaScript into an increasingly expressive and well-defined language that makes writing fast, safe, and correct web applications easy. In June 2015, the ES2015 specification was ratified by the TC39 standards committee, making it the largest single update to the JavaScript language. New features include classes, arrow function
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く