|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
588 bytes
|
| Line | |
|---|
| 1 | define(['./_tagTester', './_setup'], function (_tagTester, _setup) {
|
|---|
| 2 |
|
|---|
| 3 | var isFunction = _tagTester('Function');
|
|---|
| 4 |
|
|---|
| 5 | // Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old
|
|---|
| 6 | // v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236).
|
|---|
| 7 | var nodelist = _setup.root.document && _setup.root.document.childNodes;
|
|---|
| 8 | if (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') {
|
|---|
| 9 | isFunction = function(obj) {
|
|---|
| 10 | return typeof obj == 'function' || false;
|
|---|
| 11 | };
|
|---|
| 12 | }
|
|---|
| 13 |
|
|---|
| 14 | var isFunction$1 = isFunction;
|
|---|
| 15 |
|
|---|
| 16 | return isFunction$1;
|
|---|
| 17 |
|
|---|
| 18 | });
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.