{"version":3,"sources":["node_modules\\fbjs\\lib\\emptyFunction.js"],"names":["makeEmptyFunction","arg","emptyFunction","thatReturns","thatReturnsFalse","thatReturnsTrue","thatReturnsNull","thatReturnsThis","thatReturnsArgument","module","exports"],"mappings":"AAAA;;;;;;;;;;;;;AAaA,QAASA,kBAAT,CAA2BC,GAA3B,CAAgC;AAC9B,MAAO,WAAY;AACjB,MAAOA,IAAP;AACD,CAFD;AAGD;;;;;;;AAOD,GAAIC,eAAgB,QAASA,cAAT,EAAyB,CAAE,CAA/C;;AAEAA,cAAcC,WAAd,CAA4BH,iBAA5B;AACAE,cAAcE,gBAAd,CAAiCJ,kBAAkB,KAAlB,CAAjC;AACAE,cAAcG,eAAd,CAAgCL,kBAAkB,IAAlB,CAAhC;AACAE,cAAcI,eAAd,CAAgCN,kBAAkB,IAAlB,CAAhC;AACAE,cAAcK,eAAd,CAAgC,UAAY;AAC1C,MAAO,KAAP;AACD,CAFD;AAGAL,cAAcM,mBAAd,CAAoC,SAAUP,GAAV,CAAe;AACjD,MAAOA,IAAP;AACD,CAFD;;AAIAQ,OAAOC,OAAP,CAAiBR,aAAjB","file":"emptyFunction.js","sourceRoot":"D:/Work/Office/react-native-on-web/cli/tmpl/project","sourcesContent":["\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\nfunction makeEmptyFunction(arg) {\n  return function () {\n    return arg;\n  };\n}\n\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\nvar emptyFunction = function emptyFunction() {};\n\nemptyFunction.thatReturns = makeEmptyFunction;\nemptyFunction.thatReturnsFalse = makeEmptyFunction(false);\nemptyFunction.thatReturnsTrue = makeEmptyFunction(true);\nemptyFunction.thatReturnsNull = makeEmptyFunction(null);\nemptyFunction.thatReturnsThis = function () {\n  return this;\n};\nemptyFunction.thatReturnsArgument = function (arg) {\n  return arg;\n};\n\nmodule.exports = emptyFunction;"]}