Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
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.

es.string.link.js 433B

123456789101112
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var createHTML = require('../internals/create-html');
  4. var forcedStringHTMLMethod = require('../internals/string-html-forced');
  5. // `String.prototype.link` method
  6. // https://tc39.es/ecma262/#sec-string.prototype.link
  7. $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {
  8. link: function link(url) {
  9. return createHTML(this, 'a', 'href', url);
  10. }
  11. });