← Repo overview
/
vuejs/ vue
/
search
@9e88707
275 matches across 21 files for TODO
snippet_mode: auto · sorted by relevance
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
84 template: null,
85 script: null,
86 ▶ scriptSetup: null, // TODO
87 styles: [],
88 customBlocks: [],
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) {
72 const patternTypes: Array<Function> = [String, RegExp, Array]
73
74 ▶ // TODO defineComponent
75 export default {
76 name: 'keep-alive',
91 }, cb)
92 try {
93 ▶ // @ts-expect-error TODO improve
94 render(component, write, context, err => {
95 if (err) {
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
1 ▶ // Full spec-compliant TodoMVC with localStorage persistence
2 // and hash-based routing in ~150 lines.
3
· · ·
4 // localStorage persistence
5 ▶ var STORAGE_KEY = 'todos-vuejs-2.0'
6 var todoStorage = {
7 fetch: function () {
· · ·
6 ▶ var 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
30 })
31
32 ▶ ;['skip', 'only', 'todo', 'concurrent'].forEach(key => {
33 shimmed[key] = _test[key]
34 })
7 export interface WebpackPlugin {
8 // NOTE NOT SURE ABOUT THIS
9 ▶ // TODO DOUBLE CHECK HERE
10 new (options?: WebpackPluginOptions): DefinePlugin
11 }
3 *.log
4 explorations
5 ▶ TODOs.md
6 RELEASE_NOTE*.md
7 packages/server-renderer/basic.js
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
176 const patch1 = createPatchFunction({
177 nodeOps,
178 ▶ // @ts-ignore - TODO dtw
179 modules: modules.concat([
180 {
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",
7 import { EffectScope } from 'v3/reactivity/effectScope'
8
9 ▶ // TODO this should be using the same as /component/
10
11 /**
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
27 ▶ This TodoMVC application was created by [Evan You](https://evanyou.me).
28
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]
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
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
1 import { setupPuppeteer, getExampleUrl, E2E_TIMEOUT } from './e2eUtils'
2
3 ▶ describe('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
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'}
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)
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.