js-emacs / js2-refactor.el

A JavaScript refactoring library for emacs
GNU General Public License v3.0
374 stars 47 forks source link

Add `js2r-toggle-use-strict-<defun|module>` commands #133

Open nbfalcon opened 3 years ago

nbfalcon commented 3 years ago

js2r-toggle-use-strict-defun works in all function-like contexts (lambdas, anonymous functions, functions, ...); js2r-toggle-use-strict-module currently does not skip comments, like js2r-wrap-buffer-in-iife.