Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove named function expression in plugins.js

Details on various bugs with named function expressions:
http://kangax.github.com/nfe/#jscript-bugs
  • Loading branch information...
commit a2b3d06e8b5b0bfb3bd608a1b938c9fa50b1c600 1 parent 081f8aa
@devinrhode2 devinrhode2 authored necolas committed
Showing with 2 additions and 1 deletion.
  1. +1 −0  CHANGELOG.md
  2. +1 −1  js/plugins.js
View
1  CHANGELOG.md
@@ -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)).
View
2  js/plugins.js
@@ -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',
Please sign in to comment.
Something went wrong with that request. Please try again.