MCPcopy Create free account
hub / github.com/McNull/angular-block-ui / applyModifiers

Function applyModifiers

gulp-tasks/lib/gulp-modify-content.js:11–16  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

9 var stream = this;
10
11 function applyModifiers(content) {
12 (typeof modifiers === 'function' ? [modifiers] : modifiers).forEach(function(modifier) {
13 content = modifier(content, file);
14 });
15 return content;
16 }
17
18 function write(data) {
19 file.contents = new Buffer(data);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected