Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Check on logFn breaks on IE8 #5147

Closed
Closed
@ghost

Description

On line 9153 of AngularJS 1.2.2 we have the following:

if (logFn.apply) {

this breaks on IE8 because logFn is just an empty object. To make it work it must be modified like this:

if (typeof logFn.apply === 'function' && logFn.apply) {

This works perfectly on all browsers.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions