{"version":3,"sources":["node_modules\\react-dom\\lib\\ReactHostOperationHistoryHook.js"],"names":["history","ReactHostOperationHistoryHook","onHostOperation","operation","push","clearHistory","_preventClearing","getHistory","module","exports"],"mappings":";;;;;;;;;;;AAWA;;AAEA,GAAIA,SAAU,EAAd;;AAEA,GAAIC,+BAAgC;AAClCC,gBAAiB,yBAAUC,SAAV,CAAqB;AACpCH,QAAQI,IAAR,CAAaD,SAAb;AACD,CAHiC;AAIlCE,aAAc,uBAAY;AACxB,GAAIJ,8BAA8BK,gBAAlC,CAAoD;;AAElD;AACD;;AAEDN,QAAU,EAAV;AACD,CAXiC;AAYlCO,WAAY,qBAAY;AACtB,MAAOP,QAAP;AACD,CAdiC,CAApC;;;AAiBAQ,OAAOC,OAAP,CAAiBR,6BAAjB","file":"ReactHostOperationHistoryHook.js","sourceRoot":"D:/Work/Office/react-native-on-web/cli/tmpl/project","sourcesContent":["/**\n * Copyright 2016-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\n'use strict';\n\nvar history = [];\n\nvar ReactHostOperationHistoryHook = {\n  onHostOperation: function (operation) {\n    history.push(operation);\n  },\n  clearHistory: function () {\n    if (ReactHostOperationHistoryHook._preventClearing) {\n      // Should only be used for tests.\n      return;\n    }\n\n    history = [];\n  },\n  getHistory: function () {\n    return history;\n  }\n};\n\nmodule.exports = ReactHostOperationHistoryHook;"]}