Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amandakelake/blog
/ functions
Functions
78 in github.com/amandakelake/blog
⨍
Functions
78
◇
Types & classes
24
↓ 3 callers
Function
swap
(index1, index2)
Algorithm/Learn Javascript Data Structures and Algorithms/排序与搜索.js:13
↓ 3 callers
Method
updateView
(url)
Framework/Routing principle/Router-history.js:11
↓ 2 callers
Function
historyPush
(path)
Framework/Routing principle/react-router-v4-demo.js:9
↓ 2 callers
Function
historyReplace
(path)
Framework/Routing principle/react-router-v4-demo.js:14
↓ 2 callers
Function
observe
(data)
Framework/mvvm/mvvm.js:2
↓ 2 callers
Method
walk
(data)
javascript/handwriting/vue2-reactive.js:6
↓ 1 callers
Method
addSub
(sub)
javascript/handwriting/vue2-reactive.js:53
↓ 1 callers
Method
bindLink
()
Framework/Routing principle/Router-history.js:16
↓ 1 callers
Function
defineReactive
(data, key)
Framework/mvvm/mvvm.js:13
↓ 1 callers
Method
defineReactive
* getter中收集依赖,setter中触发依赖
javascript/handwriting/vue2-reactive.js:20
↓ 1 callers
Function
insertNode
(node, newNode)
Algorithm/Learn Javascript Data Structures and Algorithms/BinarySearchTree.js:20
↓ 1 callers
Function
merge
(left, right)
javascript/handwriting/sort.js:12
↓ 1 callers
Function
merge
(left, right)
Algorithm/Learn Javascript Data Structures and Algorithms/排序与搜索.js:102
↓ 1 callers
Method
notify
()
javascript/handwriting/vue2-reactive.js:59
↓ 1 callers
Function
register
(componnet)
Framework/Routing principle/react-router-v4-demo.js:5
↓ 1 callers
Function
unregister
(component)
Framework/Routing principle/react-router-v4-demo.js:7
↓ 1 callers
Method
update
* 更新视图 vm._render / 执行user逻辑
javascript/handwriting/vue2-reactive.js:81
↓ 1 callers
Method
update
()
Framework/mvvm/mvvm.js:69
Function
ArrayList
()
Algorithm/Learn Javascript Data Structures and Algorithms/排序与搜索.js:1
Function
BinarySearchTree
()
Algorithm/Learn Javascript Data Structures and Algorithms/BinarySearchTree.js:1
Function
DeepClone1
(target)
javascript/handwriting/deep-clone.js:10
Function
DeepClone2
(target, map = new Map())
javascript/handwriting/deep-clone.js:32
Function
DoubleLinkedList
()
Algorithm/Learn Javascript Data Structures and Algorithms/DoubleLinkedList.js:1
Function
Node
(key)
Algorithm/Learn Javascript Data Structures and Algorithms/BinarySearchTree.js:2
Function
Node
(element)
Algorithm/Learn Javascript Data Structures and Algorithms/SingleLinkedList.js:3
Function
Node
(element)
Algorithm/Learn Javascript Data Structures and Algorithms/DoubleLinkedList.js:2
Function
PriorityQueue
()
Algorithm/Learn Javascript Data Structures and Algorithms/PriorityQueue.js:1
Function
Queue
()
Algorithm/Learn Javascript Data Structures and Algorithms/Queue.js:1
Function
QueueElement
* 优先队列元素带有priority * @param element any * @param priority number
Algorithm/Learn Javascript Data Structures and Algorithms/PriorityQueue.js:9
Function
SingleLinkedList
()
Algorithm/Learn Javascript Data Structures and Algorithms/SingleLinkedList.js:1
Function
Stack
()
Algorithm/Learn Javascript Data Structures and Algorithms/Stack.js:1
Method
addSub
(sub)
Framework/mvvm/mvvm.js:45
Method
addTask
(timeout, str)
javascript/handwriting/schedule.js:8
Function
binarySearch
(item)
Algorithm/Learn Javascript Data Structures and Algorithms/排序与搜索.js:158
Function
bubbleSort
()
Algorithm/Learn Javascript Data Structures and Algorithms/排序与搜索.js:21
Method
componentDidMount
()
Framework/Routing principle/react-router-v4-demo.js:118
Method
componentWillMount
()
Framework/Routing principle/react-router-v4-demo.js:56
Method
componentWillUnmount
()
Framework/Routing principle/react-router-v4-demo.js:61
Method
constructor
(data)
javascript/handwriting/vue2-reactive.js:2
Method
constructor
()
javascript/handwriting/vue2-reactive.js:49
Method
constructor
(data, key, callback)
javascript/handwriting/vue2-reactive.js:65
Method
constructor
(limit)
javascript/handwriting/schedule.js:2
Method
constructor
()
javascript/handwriting/event-emitter.js:2
Method
constructor
()
Framework/mvvm/mvvm.js:42
Method
constructor
(data, key, cb)
Framework/mvvm/mvvm.js:57
Method
constructor
()
Framework/Routing principle/Router-hash.js:2
Method
constructor
()
Framework/Routing principle/Router-history.js:2
Function
debounce
(fn, delay)
javascript/handwriting/throttle-debounce.js:1
Method
emit
(name, ...args)
javascript/handwriting/event-emitter.js:14
Function
get
()
Framework/mvvm/mvvm.js:22
Function
getType
* 按照是否可遍历,将数据类型分类处理 * 可遍历:object/array/map/set * 不可遍历:string/number/boolean/symbol、undefined/null、function、regex/date/error/math/JSON * 返回 [object
javascript/handwriting/deep-clone.js:62
Method
handlePop
()
Framework/Routing principle/react-router-v4-demo.js:66
Method
init
()
Framework/Routing principle/Router-hash.js:32
Method
init
()
Framework/Routing principle/Router-history.js:32
Function
insertionSort
()
Algorithm/Learn Javascript Data Structures and Algorithms/排序与搜索.js:68
Function
instanceofFn
(Left, Constructor)
javascript/handwriting/instanceof.js:3
Function
isObject
(target)
javascript/handwriting/deep-clone.js:51
Function
matchPatch
(pathname, options)
Framework/Routing principle/react-router-v4-demo.js:19
Function
mergeSort
(array)
javascript/handwriting/sort.js:6
Function
mergeSort
()
Algorithm/Learn Javascript Data Structures and Algorithms/排序与搜索.js:88
Function
modifiedBubbleSort
()
Algorithm/Learn Javascript Data Structures and Algorithms/排序与搜索.js:32
Function
newF
()
javascript/handwriting/new.js:8
Method
notify
()
Framework/mvvm/mvvm.js:49
Method
off
(name, fn)
javascript/handwriting/event-emitter.js:24
Method
on
(name, fn)
javascript/handwriting/event-emitter.js:6
Function
quickSort
(array)
javascript/handwriting/sort.js:34
Function
quickSort
()
Algorithm/Learn Javascript Data Structures and Algorithms/排序与搜索.js:119
Method
render
()
Framework/Routing principle/react-router-v4-demo.js:70
Method
render
()
Framework/Routing principle/react-router-v4-demo.js:99
Method
render
()
Framework/Routing principle/react-router-v4-demo.js:123
Method
route
(path, callback)
Framework/Routing principle/Router-hash.js:8
Method
route
(path, callback)
Framework/Routing principle/Router-history.js:7
Function
selectionSort
()
Algorithm/Learn Javascript Data Structures and Algorithms/排序与搜索.js:46
Function
sequentialSearch
(item)
Algorithm/Learn Javascript Data Structures and Algorithms/排序与搜索.js:144
Function
set
(newVal)
Framework/mvvm/mvvm.js:29
Method
start
()
javascript/handwriting/schedule.js:12
Function
throttle
(fn, delay)
javascript/handwriting/throttle-debounce.js:16
Method
updateView
()
Framework/Routing principle/Router-hash.js:12