MCPcopy Index your code
hub / github.com/tinymce/tinymce / stripSourceMaps

Function stripSourceMaps

modules/tinymce/Gruntfile.js:37–40  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

35};
36
37const stripSourceMaps = function (data) {
38 const sourcemap = data.lastIndexOf('/*# sourceMappingURL=');
39 return sourcemap > -1 ? data.slice(0, sourcemap) : data;
40};
41
42/** @param {import('grunt')} grunt */
43module.exports = function (grunt) {

Callers 1

Gruntfile.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…