53 matches across 2 files for TODO lang:JavaScript
snippet_mode: grep · sorted by relevance
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'
6var 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
Search syntax
auth login | both terms (AND is implicit) |
auth OR login | either term |
NOT path:vendor | exclude matches |
"exact phrase" | quoted exact match |
/func\s+Test/ | regex |
handler~1 | fuzzy (Levenshtein 1) |
file:*_test.go | filename glob |
path:pkg/auth/** | full path glob |
lang:go | language 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.