%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/985914/root/data/www_bck/varak.net_bck/jwchat.varak.net/src/
Upload File :
Create Path :
Current File : //proc/985914/root/data/www_bck/varak.net_bck/jwchat.varak.net/src/polyfill.js

if (!String.prototype.endsWith) {
  String.prototype.endsWith = function(searchString, position) {
      var subjectString = this.toString();
      if (position === undefined || position > subjectString.length) {
          position = subjectString.length;
      }
      position -= searchString.length;
      var lastIndex = subjectString.indexOf(searchString, position);
      return lastIndex !== -1 && lastIndex === position;
  };
}

String.prototype.splitOnce = function (delimiter) {
    var components = this.split(delimiter);
    return [components.shift(), components.join(delimiter)];
};

if (!String.prototype.trim) {
    String.prototype.trim = function () {
        return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
    };
}

Zerion Mini Shell 1.0