monterail / guidelines

[DEPRECATED] We are Ruby on Rails experts from Poland. Think hussars. Solid & winged. These are our guidelines.
71 stars 17 forks source link

Use $log.log instead of console.log #154

Closed teamon closed 11 years ago

teamon commented 11 years ago

For angular apps -> http://docs-angularjs-org-dev.appspot.com/api/ng.$log

"Default implementation writes the message into the browser's console (if present)."

teamon commented 11 years ago

@jandudulski @chytreg @jandudulski @sheerun

jandudulski commented 11 years ago

Sure!

chytreg commented 11 years ago

:+1:

Best regards Dariusz Gertych

2013/7/18 Jan Dudulski notifications@github.com

Sure!

— Reply to this email directly or view it on GitHubhttps://github.com/monterail/guidelines/issues/154#issuecomment-21176282 .

sheerun commented 11 years ago

ok

szajbus commented 11 years ago

:clap:

teamon commented 11 years ago

You got tricked so easily.

foo.js:

$log.log("blah")

console output:

blah                        angular.js?body=1:5755

So, $log.log is unfortunately useless piece of s^Hoftware

chytreg commented 11 years ago

so .. close and forget?