275 matches across 21 files for TODO
snippet_mode: grep · sorted by relevance
.gitignore GITIGNORE 1 matches view file →
3*.log
4explorations
5TODOs.md
6RELEASE_NOTE*.md
7packages/server-renderer/basic.js
CHANGELOG.md MARKDOWN 1 matches view file →
920### Reverts
921
922- "chore: use keypress in TodoMVC example for IME input methods ([#9172](https://github.com/vuejs/vue/issues/9172))" ([80fb6b8](https://github.com/vuejs/vue/commit/80fb6b8da144bd9c2313702e23a35d72fa620135))
923
924## [2.5.20](https://github.com/vuejs/vue/compare/v2.5.19...v2.5.20) (2018-12-10)
benchmarks/dbmon/lib/memory-stats.js JAVASCRIPT 1 matches view file →
56 }
57
58 // TODO, add a sanity check to see if values are bucketed.
59 // If so, remind user to adopt the --enable-precise-memory-info flag.
60 // open -a "/Applications/Google Chrome.app" --args --enable-precise-memory-info
examples/classic/todomvc/app.js JAVASCRIPT 52 matches · showing 5 view file →
1// Full spec-compliant TodoMVC with localStorage persistence
2// and hash-based routing in ~150 lines.
3
· · ·
4// localStorage persistence
5var STORAGE_KEY = 'todos-vuejs-2.0'
6var todoStorage = {
7 fetch: function () {
· · ·
6var todoStorage = {
7 fetch: function () {
8 var todos = JSON.parse(localStorage.getItem(STORAGE_KEY) || '[]')
· · ·
8 var todos = JSON.parse(localStorage.getItem(STORAGE_KEY) || '[]')
9 todos.forEach(function (todo, index) {
10 todo.id = index
· · ·
9 todos.forEach(function (todo, index) {
10 todo.id = index
11 })
+ 47 more matches in this file
examples/classic/todomvc/index.html HTML 26 matches · showing 5 view file →
3 <head>
4 <meta charset="utf-8">
5 <title>Vue.js • TodoMVC</title>
6 <link rel="stylesheet" href="../../../node_modules/todomvc-app-css/index.css">
7 <style>[v-cloak] { display: none; }</style>
· · ·
6 <link rel="stylesheet" href="../../../node_modules/todomvc-app-css/index.css">
7 <style>[v-cloak] { display: none; }</style>
8 </head>
· · ·
9 <body>
10 <section class="todoapp">
11 <header class="header">
12 <h1>todos</h1>
· · ·
12 <h1>todos</h1>
13 <input class="new-todo"
14 autofocus autocomplete="off"
· · ·
13 <input class="new-todo"
14 autofocus autocomplete="off"
15 placeholder="What needs to be done?"
+ 21 more matches in this file
examples/classic/todomvc/readme.md MARKDOWN 3 matches view file →
1# Vue.js TodoMVC Example
2
3> Vue.js is a library for building interactive web interfaces.
· · ·
21* [Vue.js on Gitter](https://gitter.im/vuejs/vue)
22
23_If you have other helpful links to share, or find any of the links above no longer work, please [let us know](https://github.com/tastejs/todomvc/issues)._
24
25## Credit
· · ·
26
27This TodoMVC application was created by [Evan You](https://evanyou.me).
28
examples/composition/todomvc.html HTML 73 matches · showing 5 view file →
2<link
3 rel="stylesheet"
4 href="../../node_modules/todomvc-app-css/index.css"
5/>
6
· · ·
7<div id="app">
8 <section class="todoapp">
9 <header class="header">
10 <h1>todos</h1>
· · ·
10 <h1>todos</h1>
11 <input
12 class="new-todo"
· · ·
12 class="new-todo"
13 autofocus
14 autocomplete="off"
· · ·
15 placeholder="What needs to be done?"
16 v-model="state.newTodo"
17 @keyup.enter="addTodo"
18 />
+ 68 more matches in this file
package.json JSON 1 matches view file →
127 "shelljs": "^0.8.5",
128 "terser": "^5.14.0",
129 "todomvc-app-css": "^2.4.2",
130 "ts-node": "^10.8.1",
131 "tslib": "^2.4.0",
packages/compiler-sfc/src/compileScript.ts TYPESCRIPT 2 matches view file →
1481 return ['Object']
1482 case 'TSTypeLiteral':
1483 // TODO (nice to have) generate runtime property validation
1484 return ['Object']
1485 case 'TSFunctionType':
· · ·
1487 case 'TSArrayType':
1488 case 'TSTupleType':
1489 // TODO (nice to have) generate runtime element type/length checks
1490 return ['Array']
1491
packages/compiler-sfc/src/parseComponent.ts TYPESCRIPT 1 matches view file →
84 template: null,
85 script: null,
86 scriptSetup: null, // TODO
87 styles: [],
88 customBlocks: [],
packages/server-renderer/src/create-renderer.ts TYPESCRIPT 1 matches view file →
91 }, cb)
92 try {
93 // @ts-expect-error TODO improve
94 render(component, write, context, err => {
95 if (err) {
packages/server-renderer/types/plugin.d.ts TYPESCRIPT TYPINGS 1 matches view file →
7export interface WebpackPlugin {
8 // NOTE NOT SURE ABOUT THIS
9 // TODO DOUBLE CHECK HERE
10 new (options?: WebpackPluginOptions): DefinePlugin
11}
pnpm-lock.yaml YAML 2 matches view file →
121 specifier: ^5.14.0
122 version: 5.25.0
123 todomvc-app-css:
124 specifier: ^2.4.2
125 version: 2.4.3
· · ·
6259 dev: true
6260
6261 /todomvc-app-css@2.4.3:
6262 resolution: {integrity: sha512-mSnWZaKBWj9aQcFRsGguY/a8O8NR8GmecD48yU1rzwNemgZa/INLpIsxxMiToFGVth+uEKBrQ7IhWkaXZxwq5Q==}
6263 engines: {node: '>=4'}
src/compiler/codegen/index.ts TYPESCRIPT 1 matches view file →
438 // disconnected due to the intermediate scope variable)
439 // #9438, #9506
440 // TODO: this can be further optimized by properly analyzing in-scope bindings
441 // and skip force updating ones that do not actually use scope variables.
442 if (!needsForceUpdate) {
src/core/components/keep-alive.ts TYPESCRIPT 1 matches view file →
72const patternTypes: Array<Function> = [String, RegExp, Array]
73
74// TODO defineComponent
75export default {
76 name: 'keep-alive',
src/types/component.ts TYPESCRIPT 1 matches view file →
7import { EffectScope } from 'v3/reactivity/effectScope'
8
9// TODO this should be using the same as /component/
10
11/**
test/e2e/todomvc.spec.ts TYPESCRIPT 88 matches · showing 5 view file →
1import { setupPuppeteer, getExampleUrl, E2E_TIMEOUT } from './e2eUtils'
2
3describe('e2e: todomvc', () => {
4 const {
5 page,
· · ·
17
18 async function removeItemAt(n: number) {
19 const item = (await page().$('.todo:nth-child(' + n + ')'))!
20 const itemBBox = (await item.boundingBox())!
21 await page().mouse.move(itemBBox.x + 10, itemBBox.y + 10)
· · ·
22 await click('.todo:nth-child(' + n + ') .destroy')
23 }
24
· · ·
25 async function testTodomvc(apiType: 'classic' | 'composition') {
26 const baseUrl = getExampleUrl('todomvc', apiType)
27 await page().goto(baseUrl)
· · ·
26 const baseUrl = getExampleUrl('todomvc', apiType)
27 await page().goto(baseUrl)
28 expect(await isVisible('.main')).toBe(false)
+ 83 more matches in this file
test/helpers/shim-done.ts TYPESCRIPT 1 matches view file →
30 })
31
32;['skip', 'only', 'todo', 'concurrent'].forEach(key => {
33 shimmed[key] = _test[key]
34})
test/unit/features/options/lifecycle.spec.ts TYPESCRIPT 16 matches · showing 5 view file →
159 const destroyed = vi.fn()
160
161 Vue.component('todo', {
162 template: '<div>{{todo.done}}</div>',
163 props: ['todo'],
· · ·
162 template: '<div>{{todo.done}}</div>',
163 props: ['todo'],
164 destroyed,
· · ·
163 props: ['todo'],
164 destroyed,
165 beforeUpdate
· · ·
169 template: `
170 <div>
171 <todo v-for="t in pendingTodos" :todo="t" :key="t.id"></todo>
172 </div>
173 `,
· · ·
174 data() {
175 return {
176 todos: [{ id: 1, done: false }]
177 }
178 },
+ 11 more matches in this file
test/unit/modules/vdom/patch/hooks.spec.ts TYPESCRIPT 1 matches view file →
176 const patch1 = createPatchFunction({
177 nodeOps,
178 // @ts-ignore - TODO dtw
179 modules: modules.concat([
180 {
types/options.d.ts TYPESCRIPT TYPINGS 1 matches view file →
238 // for SFC auto name inference w/ ts-loader check
239 __name?: string
240 // TODO: support properly inferred 'extends'
241 extends?: Extends | ComponentOptions<Vue> | typeof Vue
242 delimiters?: [string, string]
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.