53 matches across 2 files for TODO lang:JavaScript
snippet_mode: auto · sorted by relevance
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
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
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.