balderdashy / mast

UI conventions built on top of Backbone.JS
MIT License
81 stars 14 forks source link

Add support for <= ie9 and logger by checking if bind is defined for co... #125

Closed ghernandez345 closed 11 years ago

ghernandez345 commented 11 years ago

...nsole.log

Since the console.log functions does not inherit Function.prototype methods, calling .bind was coming up undefined. This checks if we are in that environment and makes all logging noops if we are.