source: frontend/node_modules/underscore/amd/tap.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 336 bytes
Line 
1define(function () {
2
3 // Invokes `interceptor` with the `obj` and then returns `obj`.
4 // The primary purpose of this method is to "tap into" a method chain, in
5 // order to perform operations on intermediate results within the chain.
6 function tap(obj, interceptor) {
7 interceptor(obj);
8 return obj;
9 }
10
11 return tap;
12
13});
Note: See TracBrowser for help on using the repository browser.