Izmjenjena struktura, dodan backand

This commit is contained in:
GotPPay
2017-10-16 11:19:46 +02:00
parent 1ec88afacb
commit 048e32c4aa
37153 changed files with 2975854 additions and 1 deletions

22
web/node_modules/fbjs/lib/removeFromArray.js.flow generated vendored Normal file
View File

@@ -0,0 +1,22 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @providesModule removeFromArray
* @typechecks
* @flow
*/
/**
* Removes an element from an array.
*/
function removeFromArray<T>(array: Array<T>, element: T): void {
var index = array.indexOf(element);
if (index !== -1) {
array.splice(index, 1);
}
}
module.exports = removeFromArray;