Sha256: 01f3b89c71bd1dac5f8608c92ff097d5054d46be9511d11b56f18bf609b9580a

Contents?: true

Size: 80 Bytes

Versions: 3

Compression:

Stored size: 80 Bytes

Contents

export default function getTextOf(elem) {
    return elem.textContent.trim();
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
discourse-ember-source-3.6.0.0 dist/es/internal-test-helpers/lib/get-text-of.js
discourse-ember-source-3.5.1.1 dist/es/internal-test-helpers/lib/get-text-of.js
discourse-ember-source-3.5.1.0 dist/dist/es/internal-test-helpers/lib/get-text-of.js