Skip to content

Commit

Permalink
e.arguments is not always available on IE
Browse files Browse the repository at this point in the history
  • Loading branch information
pure committed Jan 15, 2013
1 parent 247c79f commit 7ff56a9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions libs/pure.js
Expand Up @@ -4,10 +4,10 @@
Licensed under the MIT licenses.
More information at: http://www.opensource.org
Copyright (c) 2012 Michael Cvilic - BeeBole.com
Copyright (c) 2013 Michael Cvilic - BeeBole.com
Thanks to Rog Peppe for the functional JS jump
revision: 2.80
revision: 2.81
*/

var $p = function(){
Expand Down Expand Up @@ -165,7 +165,7 @@ $p.core = function(sel, ctxt, plugins){
if(console && console.log){
console.log(
e.stack ||
e.message + ' (' + e.type + ', ' + e['arguments'].join('-') + '). Use Firefox or Chromium/Chrome to get a full stack of the error. ' );
e.message + ' (' + e.type + ( e['arguments'] ? ', ' + e['arguments'].join('-') : '' ) + '). Use Firefox or Chromium/Chrome to get a full stack of the error. ' );
}
return '';
}
Expand Down
34 changes: 17 additions & 17 deletions libs/pure_min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7ff56a9

Please sign in to comment.