]> git.gir.st - VimFx.git/commit
Use strings instead of functions in the `modes` object
authorSimon Lydell <simon.lydell@gmail.com>
Tue, 26 Jan 2016 18:41:38 +0000 (19:41 +0100)
committerSimon Lydell <simon.lydell@gmail.com>
Tue, 26 Jan 2016 19:05:15 +0000 (20:05 +0100)
commit0ca807605e8d69fdc01ef9ce5d539cf66ce7d96f
treec247e3fdf9e2ffa6bab739bfe42fea52f6c5722e
parentbd00a85e0d5eaff33677c122bf774c3e6667879c
Use strings instead of functions in the `modes` object

Since we run things properly in the `startup()` function of bootstrap.js since
last commit, the `chrome://` URI to the string bundles is now available when the
`modes` object is constructed. This means that there's no need anymore to let
mode names, category names and command descriptions be functions. Instead they
can be the sane thing: Simply strings.

Note that this is a backwards incompatible change. Luckily it does not affect
the `.addCommand()` API method, so propably won't impact anyone.
documentation/api.md
extension/lib/api.coffee
extension/lib/defaults.coffee
extension/lib/help.coffee
extension/lib/modes.coffee
extension/lib/options.coffee
extension/lib/vimfx.coffee
extension/test/test-api.coffee
Imprint / Impressum