mgonto / angularytics

The solution to tracking page views and events in a SPA with AngularJS
MIT License
630 stars 70 forks source link

Allow zero timing values to be sent #48

Open tjokimie opened 8 years ago

tjokimie commented 8 years ago

Required parameter check category && variable && value fails if timing value is 0.

This PR fixes the issue by checking if the variable is non-undefined.