Skip to content
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

Commit 8bf8e5f

Browse files
author
Clément PREVOT
committed
fix(underscore): fix the binding to underscore
Call the right `hasOwnProperty` function
1 parent 9dd4137 commit 8bf8e5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

underscore.getSet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
// or create our own underscore object.
222222
root._ = root._ || {};
223223
for (var functionName in gs) {
224-
if (gs.hasOwnProperties(functionName) && typeof gs[functionName] === 'function') {
224+
if (gs.hasOwnProperty(functionName) && typeof gs[functionName] === 'function') {
225225
root._[functionName] = gs[functionName];
226226
}
227227
}

0 commit comments

Comments
 (0)