MCPcopy Create free account

hub / github.com/Stevenzwzhai/plugs / functions

Functions372 in github.com/Stevenzwzhai/plugs

↓ 57 callersFunctionwarn
()
自定义模板-template/js/vue.js:2372
↓ 48 callersMethodreplace
(oldName, newName)
className-option/className.es6.js:25
↓ 19 callersFunctionisObject
* Quick object check - this is primarily used to tell * Objects from primitive values when we know the value * is a JSON-compliant type. *
自定义模板-template/js/vue.js:267
↓ 17 callersFunctiontoArray
* Convert an Array-like object to a real Array. * * @param {Array-like} list * @param {Number} [start] - start index * @return {Array}
自定义模板-template/js/vue.js:232
↓ 15 callersFunctioncb
()
自定义模板-template/js/vue.js:369
↓ 15 callersFunctioninDoc
* Check if a node is in the document. * Note: document.documentElement.contains should work here * but always returns false for comment nodes in
自定义模板-template/js/vue.js:1147
↓ 14 callersMethodget
(key)
cookie/index.js:21
↓ 14 callersFunctionhasOwn
* Check whether the object has the property. * * @param {Object} obj * @param {String} key * @return {Boolean}
自定义模板-template/js/vue.js:79
↓ 14 callersMethodremove
(className)
className-option/className.es6.js:15
↓ 13 callersMethodon
(event, callback)
emitter/main.js:12
↓ 12 callersFunctionresolveAsset
* Resolve an asset. * This function is used because child instances need access * to assets defined in its ancestor chain. * * @param {Obj
自定义模板-template/js/vue.js:1932
↓ 11 callersFunctioncreateAnchor
* Create an "anchor" for performing dom insertion/removals. * This is used in a number of scenarios: * - fragment instance * - v-html * -
自定义模板-template/js/vue.js:1444
↓ 10 callersFunctiondefineReactive
* Define a reactive property on an Object. * * @param {Object} obj * @param {String} key * @param {*} val
自定义模板-template/js/vue.js:2252
↓ 9 callersFunctionisPlainObject
(obj)
自定义模板-template/js/vue.js:282
↓ 9 callersFunctionreplace
* Replace target with el * * @param {Element} target * @param {Element} el
自定义模板-template/js/vue.js:1255
↓ 9 callersMethodset
(key, value)
cookie/index.js:9
↓ 8 callersFunctionextend
* Mix properties into target object. * * @param {Object} to * @param {Object} from
自定义模板-template/js/vue.js:249
↓ 8 callersFunctionfn
(vm, el, host, scope, frag)
自定义模板-template/js/vue.js:7447
↓ 8 callersFunctiongetAttr
* Get and remove an attribute from a node. * * @param {Node} node * @param {String} _attr
自定义模板-template/js/vue.js:1161
↓ 7 callersFunctioncamelize
(str)
自定义模板-template/js/vue.js:170
↓ 7 callersFunctiondef
* Define a property. * * @param {Object} obj * @param {String} key * @param {*} val * @param {Boolean} [enumerable]
自定义模板-template/js/vue.js:304
↓ 7 callersFunctiongetStyle
(ele, property)
get-background-color/main.js:13
↓ 7 callersFunctionhyphenate
(str)
自定义模板-template/js/vue.js:187
↓ 7 callersFunctioninitProp
* Set a prop's initial value on a vm and its data object. * * @param {Vue} vm * @param {Object} prop * @param {*} value
自定义模板-template/js/vue.js:6196
↓ 7 callersFunctionparseDirective
* Parse a directive value and extract the expression * and its filters into a descriptor. * * Example: * * "a + 1 | uppercase" will yie
自定义模板-template/js/vue.js:687
↓ 7 callersFunctionremove
* Remove el from DOM * * @param {Element} el
自定义模板-template/js/vue.js:1229
↓ 7 callersFunctionremoveClass
* Remove class with compatibility for IE & SVG * * @param {Element} el * @param {String} cls
自定义模板-template/js/vue.js:1347
↓ 7 callersFunctiontoNumber
* Check and convert possible numeric strings to numbers * before setting back to data * * @param {*} value * @return {*|Number}
自定义模板-template/js/vue.js:128
↓ 6 callersMethodadd
(classNames)
className-option/className.es6.js:11
↓ 6 callersFunctionbefore
* Insert el before target * * @param {Element} el * @param {Element} target
自定义模板-template/js/vue.js:1204
↓ 6 callersFunctionbind
* Simple bind, faster than native * * @param {Function} fn * @param {Object} ctx * @return {Function}
自定义模板-template/js/vue.js:217
↓ 6 callersFunctiongetBindAttr
* Get an attribute with colon or v-bind: prefix. * * @param {Node} node * @param {String} name * @return {String|null}
自定义模板-template/js/vue.js:1177
↓ 6 callersFunctionparseExpression
* Parse an expression into re-written getter/setters. * * @param {String} exp * @param {Boolean} needSet * @return {Function}
自定义模板-template/js/vue.js:2967
↓ 6 callersFunctionparseTemplate
* Process the template option and normalizes it into a * a DocumentFragment that can be used as a partial or a * instance template. * * @p
自定义模板-template/js/vue.js:3662
↓ 6 callersFunctionpushDir
* Push a directive. * * @param {String} dirName * @param {Object|Function} def * @param {Array} [interpTokens]
自定义模板-template/js/vue.js:7543
↓ 5 callersFunctioncloneNode
* 1. Deal with Safari cloning nested <template> bug by * manually cloning all template instances. * 2. Deal with IE10/11 textarea placeholder
自定义模板-template/js/vue.js:3603
↓ 5 callersFunctioncompile
* Compile a template and return a reusable composite link * function, which recursively contains more link functions * inside. This top level co
自定义模板-template/js/vue.js:6878
↓ 5 callersFunctiongetPath
* Get from an object from a path string * * @param {Object} obj * @param {String} path
自定义模板-template/js/vue.js:2740
↓ 5 callersFunctionisFragment
* Check if a node is a DocumentFragment. * * @param {Node} node * @return {Boolean}
自定义模板-template/js/vue.js:1528
↓ 5 callersFunctionisTemplate
* Check if an element is a template tag. * Note if the template appears inside an SVG its tagName * will be in lowercase. * * @param {Elem
自定义模板-template/js/vue.js:1422
↓ 5 callersFunctionobserve
* Attempt to create an observer instance for a value, * returns the new observer if successfully observed, * or the existing observer if the val
自定义模板-template/js/vue.js:2228
↓ 5 callersFunctionparseText
* Parse a template text string into an array of tokens. * * @param {String} text * @return {Array<Object> | null} * - {Strin
自定义模板-template/js/vue.js:792
↓ 5 callersFunctionquery
* Query an element selector if it's not an element already. * * @param {String|Element} el * @return {Element}
自定义模板-template/js/vue.js:1124
↓ 4 callersFunctionLazyMan
(name)
lazyMan/main.js:98
↓ 4 callersFunction_toString
* Guard text output, make sure undefined outputs * empty string * * @param {*} value * @return {String}
自定义模板-template/js/vue.js:116
↓ 4 callersFunctionaddClass
* Add class with compatibility for IE & SVG * * @param {Element} el * @param {String} cls
自定义模板-template/js/vue.js:1329
↓ 4 callersFunctionapplyTransition
* Apply transitions with an operation callback. * * @param {Element} el * @param {Number} direction * 1: enter *
自定义模板-template/js/vue.js:1090
↓ 4 callersFunctioncancellable
* Make a cancellable version of an async callback. * * @param {Function} fn * @return {Function}
自定义模板-template/js/vue.js:368
↓ 4 callersFunctioncompileDirectives
* Compile the directives on an element and return a linker. * * @param {Array|NamedNodeMap} attrs * @param {Object} options * @return {Fun
自定义模板-template/js/vue.js:7465
↓ 4 callersFunctiondefaultDeal
(arr)
Array-sort/main.js:5
↓ 4 callersFunctionescapeRegex
* Escape a string so it can be used in a RegExp * constructor. * * @param {String} str
自定义模板-template/js/vue.js:766
↓ 4 callersFunctiongetFocus
(elem)
自定义模板-template/js/util.js:95
↓ 4 callersFunctionisSimplePath
* Check if an expression is a simple path. * * @param {String} exp * @return {Boolean}
自定义模板-template/js/vue.js:2997
↓ 4 callersFunctionlinkAndCapture
* Apply a linker to a vm/element pair and capture the * directives created during the process. * * @param {Function} linker * @param {Vue}
自定义模板-template/js/vue.js:6917
↓ 4 callersFunctionlooseEqual
* Check if two values are loosely equal - that is, * if they are plain objects, do they have the same shape? * * @param {*} a * @param {*}
自定义模板-template/js/vue.js:389
↓ 4 callersFunctionmodifyListenerCount
(vm, event, count)
自定义模板-template/js/vue.js:9411
↓ 4 callersFunctionnext
()
自定义模板-template/js/vue.js:5984
↓ 4 callersFunctionoff
* Remove event listener shorthand. * * @param {Element} el * @param {String} event * @param {Function} cb
自定义模板-template/js/vue.js:1283
↓ 4 callersFunctionon
* Add event listener shorthand. * * @param {Element} el * @param {String} event * @param {Function} cb * @param {Boolean} [useCapture]
自定义模板-template/js/vue.js:1271
↓ 4 callersFunctionprintInOrder
(node)
search-arithmetic/demo2.js:40
↓ 4 callersFunctionreduce
(num1, num2)
cale-big-num/index.js:17
↓ 4 callersFunctiontrimNode
* Trim possible empty head/tail text and comment * nodes inside a parent. * * @param {Node} node
自定义模板-template/js/vue.js:1398
↓ 3 callersFunctionadd
()
Sum-1/index.js:11
↓ 3 callersFunctionclean
* "clean" a getter/setter converted object into a plain * object copy. * * @param {Object} - obj * @return {Object}
自定义模板-template/js/vue.js:9042
↓ 3 callersFunctioncompileRegex
()
自定义模板-template/js/vue.js:770
↓ 3 callersFunctioncontains
* String contain helper * * @param {*} val * @param {String} search
自定义模板-template/js/vue.js:9737
↓ 3 callersFunctiondeepClone
(obj)
deepClone/_index.js:1
↓ 3 callersFunctionextractContent
* Extract raw content inside an element into a temporary * container div * * @param {Element} el * @param {Boolean} asFragment * @retur
自定义模板-template/js/vue.js:1372
↓ 3 callersFunctiongetTrackByKey
* Get the track by key for an item. * * @param {Number} index * @param {String} key * @param {*} value * @param {String} [trackByKey]
自定义模板-template/js/vue.js:4589
↓ 3 callersFunctionindexOf
* Manual indexOf because it's slightly faster than * native. * * @param {Array} arr * @param {*} obj
自定义模板-template/js/vue.js:353
↓ 3 callersFunctionmakeUnlinkFn
* Linker functions return an unlink function that * tearsdown all directives instances generated during * the process. * * We create unlin
自定义模板-template/js/vue.js:6958
↓ 3 callersFunctionmapNodeRange
* Map a function to a range of nodes . * * @param {Node} node * @param {Node} end * @param {Function} op
自定义模板-template/js/vue.js:1479
↓ 3 callersFunctionmergeOptions
* Merge two option objects into a new one. * Core utility used in both instantiation and inheritance. * * @param {Object} parent * @param
自定义模板-template/js/vue.js:1885
↓ 3 callersFunctionrenderFruits
(list)
fuzzySearch/main.js:27
↓ 3 callersFunctionset
(obj, key, val)
自定义模板-template/js/vue.js:12
↓ 3 callersFunctionsetClass
* In IE9, setAttribute('class') will result in empty class * if the element also has the :class attribute; However in * PhantomJS, setting `clas
自定义模板-template/js/vue.js:1313
↓ 3 callersFunctionstringToFragment
* Convert a string template to a DocumentFragment. * Determines correct wrapping by tag types. Wrapping * strategy found in jQuery & component/d
自定义模板-template/js/vue.js:3491
↓ 3 callersFunctionstripQuotes
* Strip quotes from a string * * @param {String} str * @return {String | false}
自定义模板-template/js/vue.js:155
↓ 3 callersFunctiontokensToExp
* Format a list of tokens into an expression. * e.g. tokens parsed from 'a {{b}} c' can be serialized * into one single expression as '"a " + b
自定义模板-template/js/vue.js:849
↓ 3 callersFunctionwithoutConversion
(fn)
自定义模板-template/js/vue.js:2092
↓ 2 callersFunction_debounce
* Debounce a function so it only gets called after the * input stops arriving after the given wait period. * * @param {Function} func * @p
自定义模板-template/js/vue.js:322
↓ 2 callersFunctionadd
(num1, num2)
cale-big-num/index.js:2
↓ 2 callersFunctionafter
* Insert el after target * * @param {Element} el * @param {Element} target
自定义模板-template/js/vue.js:1215
↓ 2 callersFunctionapply
* Add or remove a class/classes on an element * * @param {Element} el * @param {String} key The class name. This may or may not *
自定义模板-template/js/vue.js:5616
↓ 2 callersFunctionbaseCompare
(a, b, sortKeyIndex)
自定义模板-template/js/vue.js:9713
↓ 2 callersFunctioncallback
()
debouncing/index.js:5
↓ 2 callersMethodcheckNames
(classNames)
className-option/className.es6.js:5
↓ 2 callersFunctioncleanupIfPossible
()
自定义模板-template/js/vue.js:8691
↓ 2 callersFunctioncompileNode
* Compile a node and return a nodeLinkFn based on the * node type. * * @param {Node} node * @param {Object} options * @return {Function
自定义模板-template/js/vue.js:7093
↓ 2 callersFunctioncompileSetter
* Compile a setter function for the expression. * * @param {String} exp * @return {Function|undefined}
自定义模板-template/js/vue.js:2948
↓ 2 callersFunctiondiffWalk
(oldNode, newNode, index, patches)
virtual-dom/diff.js:17
↓ 2 callersFunctionextractAttrs
* Helper to extract a component container's attributes * into a plain object array. * * @param {Element} el * @return {Array}
自定义模板-template/js/vue.js:7728
↓ 2 callersFunctionextractFragment
* Extract qualified content nodes from a node list. * * @param {NodeList} nodes * @return {DocumentFragment}
自定义模板-template/js/vue.js:7806
↓ 2 callersFunctionfindPrevFrag
* Helper to find the previous element that is a fragment * anchor. This is necessary because a destroyed frag's * element could still be lingeri
自定义模板-template/js/vue.js:4532
↓ 2 callersFunctionfindRef
(node)
自定义模板-template/js/vue.js:1459
↓ 2 callersFunctionformatArr
(list, keyword)
Array-Deal/index.js:59
↓ 2 callersFunctionformatToken
* Format a single token. * * @param {Object} token * @param {Vue} [vm] * @param {Boolean} [single] * @return {String}
自定义模板-template/js/vue.js:868
↓ 2 callersFunctiongetClass
* For IE9 compat: when both class and :class are present * getAttribute('class') returns wrong value... * * @param {Element} el * @return
自定义模板-template/js/vue.js:1295
↓ 2 callersFunctiongetDays
(year, month)
interview/demo4.js:55
↓ 2 callersFunctiongetIsBinding
* Get "is" binding from an element. * * @param {Element} el * @param {Object} options * @return {Object|undefined}
自定义模板-template/js/vue.js:1611
next →1–100 of 372, ranked by callers