Hacker News new | past | comments | ask | show | jobs | submit login

Just curious, why did you check for the existence of "console" on this line:

  console?.warn 'OriDomi: First argument must be a DOM element'



window.console is undefined in some versions of IE if the developer tools aren't active.


That's right.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: