jquery/jquery — pull request #1618 by stephenplusplus (2014-07-11 21:41:10+00:00)
Title: Init: check for jQuery instance as selector

This issue was originally brought up on Reddit: http://www.reddit.com/r/javascript/comments/2affb3/jquery_magic/

When `$` is passed in to `init`, it's read as a function, which is then passed through `init` again. I haven't touched the jQuery source before, so if this is a terrible place or way to solve the problem, let me know and I'll happily try again elsewhere/elsehow (?).