MCPcopy Create free account
hub / github.com/JacksonTian/fks / getText

Function getText

fks_chart/bower_components/angular/angular.js:2731–2737  ·  view source on GitHub ↗
(element, value)

Source from the content-addressed store, hash-verified

2729 return getText;
2730
2731 function getText(element, value) {
2732 var textProp = NODE_TYPE_TEXT_PROPERTY[element.nodeType];
2733 if (isUndefined(value)) {
2734 return textProp ? element[textProp] : '';
2735 }
2736 element[textProp] = value;
2737 }
2738 })(),
2739
2740 val: function(element, value) {

Callers

nothing calls this directly

Calls 1

isUndefinedFunction · 0.85

Tested by

no test coverage detected