Skip to content

Commit

Permalink
Remove named function expression in plugins.js
Browse files Browse the repository at this point in the history
Details on various bugs with named function expressions:
http://kangax.github.com/nfe/#jscript-bugs
  • Loading branch information
devinrhode2 authored and necolas committed Dec 28, 2012
1 parent 081f8aa commit a2b3d06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### HEAD

* Remove named function expression in plugins.js ([#1280](https://github.com/h5bp/html5-boilerplate/pull/1280)).
* Adjust CSS image-replacement code ([#1239](https://github.com/h5bp/html5-boilerplate/issues/1239)).
* Update HiDPI example media query ([#1127](https://github.com/h5bp/html5-boilerplate/issues/1127)).

Expand Down
2 changes: 1 addition & 1 deletion js/plugins.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Avoid `console` errors in browsers that lack a console.
(function() {
var method;
var noop = function noop() {};
var noop = function () {};
var methods = [
'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error',
'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log',
Expand Down

0 comments on commit a2b3d06

Please sign in to comment.