摘要:
const camelizeRE = /-(\w)/g export function camelize (str) { str = String(str) return str.replace(camelizeRE, function (m, c) { return c ? c.toUpperCa 阅读全文
posted @ 2019-04-23 14:25
刘浩2561179983
阅读(266)
评论(0)
推荐(0)
摘要:
function judgeTypeFnCreator (type) { const toString = Object.prototype.toString return function isType (o) { return toString.call(o) `[object ${type}] 阅读全文
posted @ 2019-04-23 14:20
刘浩2561179983
阅读(279)
评论(0)
推荐(0)
摘要:
export const requestAnimationFrame = (() => { /* istanbul ignore next */ if (!inBrowser) { return noop } return window.requestAnimationFrame || /* ist 阅读全文
posted @ 2019-04-23 14:12
刘浩2561179983
阅读(386)
评论(0)
推荐(0)
摘要:
import { createAddAPI } from '../util' const DATE_RE = /^(1|2)\d{3}[.\-/]\d{1,2}[.\-/]\d{1,2}$/ const types = { string: (val) => { return typeof val ' 阅读全文
posted @ 2019-04-23 14:03
刘浩2561179983
阅读(234)
评论(0)
推荐(0)

浙公网安备 33010602011771号