Skip to content

Commit 53a6f7f

Browse files
committed
iojs support (v2.1.0)
1 parent c9a3ee5 commit 53a6f7f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/pbxProject.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,8 +633,9 @@ pbxProject.prototype.hasFile = function (filePath) {
633633

634634
// helper recursive prop search+replace
635635
function propReplace(obj, prop, value) {
636+
var o = {};
636637
for (var p in obj) {
637-
if (obj.hasOwnProperty(p)) {
638+
if (o.hasOwnProperty.call(obj, p)) {
638639
if (typeof obj[p] == 'object') {
639640
propReplace(obj[p], prop, value);
640641
} else if (p == prop) {

0 commit comments

Comments
 (0)