--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
19
node_modules/for-own/index.js
generated
vendored
Normal file
19
node_modules/for-own/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/*!
|
||||
* for-own <https://github.com/jonschlinkert/for-own>
|
||||
*
|
||||
* Copyright (c) 2014-2016, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var forIn = require('for-in');
|
||||
var hasOwn = Object.prototype.hasOwnProperty;
|
||||
|
||||
module.exports = function forOwn(o, fn, thisArg) {
|
||||
forIn(o, function(val, key) {
|
||||
if (hasOwn.call(o, key)) {
|
||||
return fn.call(thisArg, o[key], key, o);
|
||||
}
|
||||
});
|
||||
};
|
||||
Loading…
Reference in a new issue