Merge "Avoid begin/commit in Category::getCountMessage()"
[lhc/web/wiklou.git] / resources / src / es5-skip.js
1 /*!
2 * Skip function for es5-shim module.
3 *
4 * Test for strict mode as a proxy for full ES5 function support (but not syntax)
5 * Per http://kangax.github.io/compat-table/es5/ this is a reasonable short-cut
6 * that still allows this to be as short as possible (there are no function "No"s
7 * for non-"obsolete" real browsers where strict support is available).
8 *
9 * Note that this will cause IE9 users to get the shim (which should be close to
10 * a no-op but will increase page payload).
11 */
12 return ( function () {
13 'use strict';
14 return !this;
15 }() );