Dieses Repository beinhaltet HTML- und Javascript Code zur einer NotizenWebApp auf Basis von Web Storage. Zudem sind Mocha/Chai Tests im Browser enthalten.
https://meinenotizen.netlify.app/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112131415 |
- 'use strict';
-
- var implementation = require('./implementation');
-
- module.exports = function getPolyfill() {
- if (!String.prototype.trimEnd && !String.prototype.trimRight) {
- return implementation;
- }
- var zeroWidthSpace = '\u200b';
- var trimmed = zeroWidthSpace.trimEnd ? zeroWidthSpace.trimEnd() : zeroWidthSpace.trimRight();
- if (trimmed !== zeroWidthSpace) {
- return implementation;
- }
- return String.prototype.trimEnd || String.prototype.trimRight;
- };
|