]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: add comments
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 2 Jan 2020 19:01:39 +0000 (20:01 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 2 Jan 2020 19:01:39 +0000 (20:01 +0100)
src/index.ts
src/matcher/path-tokenizer.ts

index 3af176418015cf1cedb2bf05c34967b11fb9a8cb..0e712896de7e0e22b713c6a439c049397506cbe4 100644 (file)
@@ -6,8 +6,6 @@ import createHashHistory from './history/hash'
 import View from './components/View'
 import Link from './components/Link'
 
-// TODO: type things
-
 const plugin: PluginFunction<void> = Vue => {
   Vue.mixin({
     beforeCreate() {
index d68bad381f724fd0a78f4337163bb890bd59efd5..9c7b4c2c04831c8f278d7421e92157e19f579aa3 100644 (file)
@@ -124,7 +124,7 @@ export function tokenizePath(path: string): Array<Token[]> {
           consumeBuffer()
           state = TokenizerState.Param
         } else if (char === '{') {
-          // TODO: handle group
+          // TODO: handle group (or drop it)
           addCharToBuffer()
         } else {
           addCharToBuffer()