Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Commit

Permalink
fix(prop): last commit broke the package
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Dec 13, 2017
1 parent b42262b commit 93e16b8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/pope.browser.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/pope.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/pope.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function isObj (obj) {
* @return {Mixed}
*/
function prop (obj, path) {
if (isObj(obj) || typeof path !== 'string') {
if (!isObj(obj) || typeof path !== 'string') {
return obj
}
var pathArr = path.split('.')
Expand Down

0 comments on commit 93e16b8

Please sign in to comment.