MCPcopy
hub / github.com/TTLabs/EvaporateJS / elementText

Function elementText

evaporate.js:2007–2010  ·  view source on GitHub ↗
(source, element)

Source from the content-addressed store, hash-verified

2005 }
2006
2007 function elementText(source, element) {
2008 var match = source.match(["<", element, ">(.+)</", element, ">"].join(""));
2009 return match ? match[1] : '';
2010 }
2011
2012 function defer() {
2013 var deferred = {}, promise;

Callers 2

evaporate.jsFile · 0.85
getAwsResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected