• Home
  • Raw
  • Download

Lines Matching refs:attrKey

362     domNodeAttrName.forEach(function(attrKey) {  argument
363 if (attrKey === 'stroke-width') {
364 attrKey = 'strokeWidth'
365 } else if (attrKey === 'fill-opacity') {
366 attrKey = 'fillOpacity'
367 } else if (attrKey === 'stroke-dasharray') {
368 attrKey = 'strokeDasharray'
369 } else if (attrKey === 'stroke-dashoffset') {
370 attrKey = 'strokeDashoffset'
371 } else if (attrKey === 'stroke-linecap') {
372 attrKey = 'strokeLinecap'
373 } else if (attrKey === 'fill-rule') {
374 attrKey = 'fillRule'
375 } else if (attrKey === 'stroke-linejoin') {
376 attrKey = 'strokeLinejoin'
377 } else if (attrKey === 'stroke-miterlimit') {
378 attrKey = 'strokeMiterlimit'
379 } else if (attrKey === 'font-size') {
380 attrKey = 'fontSize'
381 } else if (attrKey === 'stroke-opacity') {
382 attrKey = 'strokeOpacity'
384 if (!attrKey.match(EVENT_START_REGEXP) && !(attrKey in attrTagMap[tagName])) {
385 if (attrKey in commonTag.attrs) {
389 reason: 'WARNING: tag `' + tagName + '` not support attr `' + attrKey + '`',
391 } else if (!validateDataAttr(attrKey)) {
395 reason: 'WARNING: tag `' + tagName + '` use customize attr `' + attrKey + '`',
415 Object.keys(defaultAttrTagMap[tagName]).forEach(function(attrKey) { argument
416 const n = domNodeAttrName.indexOf(attrKey)
418 domNodeAttrs[n].value = defaultAttrTagMap[tagName][attrKey]
419 if (attrKey !== 'else') {
423 reason: 'WARNING: tag `' + tagName + '` attr `' + attrKey + '`' + 'is null',
442 requireAttrTagMap[tagName].forEach(function(attrKey) { argument
443 if (domNodeAttrName.indexOf(attrKey) < 0) {
447 reason: 'ERROR: tag `' + tagName + '` not define attr `' + attrKey + '`',
466 Object.keys(enumAttrTagMap[tagName]).forEach(function(attrKey) { argument
467 const index = domNodeAttrName.indexOf(attrKey)
471 const attrValueEnum = enumAttrTagMap[tagName][attrKey]
477 … reason: 'ERROR: tag `' + tagName + '` attr `' + attrKey + '` value `' + v + '` is illegal',
498 Object.keys(funcAttrTagMap[tagName]).forEach(function(attrKey) { argument
499 const n = domNodeAttrName.indexOf(attrKey)
503 const func = funcAttrTagMap[tagName][attrKey]
509 const rea = res.reason(attrKey, v, res.value)
535 domNodeAttrName.forEach(function(attrKey) { argument
536 if (attrKey.match(EVENT_START_REGEXP)) {
537 const tempName = attrKey.replace(EVENT_START_REGEXP, '')