segmentio/analytics.js-integrations — pull request #172 by dpolivy (2014-06-02 21:15:49+00:00)
Title: Quantcast: fix exception in identify()

In some circumstances, if identify() is called after the Quantcast
script is loaded, the queue may be empty and thus the identify call may
throw an exception. This commit adds some more robustness to only add
the `uid` property if the item exists.

Fixes https://github.com/segmentio/analytics.js-integrations/issues/165