cujojs/when — pull request #145 by kotsss (2013-05-07 10:13:28+00:00)
Title: Small code path (performance improvement)

There's no need to got to the resolve 'untrusted then' code path if non exist (when returning objects that usually don't have 'then' property)