|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
305 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 |
|
|---|
| 3 | var define = require('define-properties');
|
|---|
| 4 |
|
|---|
| 5 | var getPolyfill = require('./polyfill');
|
|---|
| 6 |
|
|---|
| 7 | module.exports = function shim() {
|
|---|
| 8 | var polyfill = getPolyfill();
|
|---|
| 9 |
|
|---|
| 10 | define(
|
|---|
| 11 | Object,
|
|---|
| 12 | { groupBy: polyfill },
|
|---|
| 13 | { groupBy: function () { return Object.groupBy !== polyfill; } }
|
|---|
| 14 | );
|
|---|
| 15 |
|
|---|
| 16 | return polyfill;
|
|---|
| 17 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.