亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? prototype.js

?? 用來在地圖上做操作GIS,在地圖上做標(biāo)記
?? JS
?? 第 1 頁 / 共 5 頁
字號:
 /** * Escapes any HTML characters in a string. * @alias String.escapeHTML() * @return {String} Returns the string with the HTML characters escaped. * @extends {String} */  escapeHTML: function() {    var self = arguments.callee;    self.text.data = this;    return self.div.innerHTML;  }, /** * Converts any escaped HTML characters in a string to real HTML characters. * @alias String.unescapeHTML() * @return {String} Returns the string with HTML characters unescaped. * @extends {String} *  unescapeHTML: function() {    var div = document.createElement('div');    div.innerHTML = this.stripTags();    return div.childNodes[0] ? (div.childNodes.length > 1 ?      $A(div.childNodes).inject('', function(memo, node) { return memo+node.nodeValue }) :      div.childNodes[0].nodeValue) : '';  }, /** * Creates an associative array (similar to a hash) from a string using parameter names as an index. * @alias String.toQueryParams() * @return {Array} Returns an associative array from the string. * @extends {String} */  toQueryParams: function(separator) {    var match = this.strip().match(/([^?#]*)(#.*)?$/);    if (!match) return {};    return match[1].split(separator || '&').inject({}, function(hash, pair) {      if ((pair = pair.split('='))[0]) {        var key = decodeURIComponent(pair.shift());        var value = pair.length > 1 ? pair.join('=') : pair[0];        if (value != undefined) value = decodeURIComponent(value);        if (key in hash) {          if (hash[key].constructor != Array) hash[key] = [hash[key]];          hash[key].push(value);        }        else hash[key] = value;      }      return hash;    });  },  /** * Creates an array from the characters of a string. * @alias String.toArray() * @return {Array} Returns an array of all of the characters in a string. * @extends {String} */  toArray: function() {    return this.split('');  },  /**   * Used internally by ObjectRange. Converts the last character of the string to the following character in the Unicode alphabet.   * @alias String.succ   * @return {String}	Returns the converted string.   * @extends {String}   */  succ: function() {    return this.slice(0, this.length - 1) +      String.fromCharCode(this.charCodeAt(this.length - 1) + 1);  },  /**   * Concatenates the string count times.   * @alias String.times   * @param {Number} count	Number of times to concatenate the string.   * @return {String} Returns the concatenated string.   * @extends {String}   */  times: function(count) {    var result = '';    for (var i = 0; i < count; i++) result += this;    return result;  }, /** * Converts  a hyphen-delimited string to camel case. (e.g. thisIsCamelCase) * @alias String.camelize() * @return {String} Returns the string as camel case. * @extends {String} */  camelize: function() {    var parts = this.split('-'), len = parts.length;    if (len == 1) return parts[0];    var camelized = this.charAt(0) == '-'      ? parts[0].charAt(0).toUpperCase() + parts[0].substring(1)      : parts[0];    for (var i = 1; i < len; i++)      camelized += parts[i].charAt(0).toUpperCase() + parts[i].substring(1);    return camelized;  },  /**   * Capitalizes the first letter of a string and downcases all the others.   * @alias	String.capitalize   * @return {String} Returns the capitalized string.   * @extends {String}   */  capitalize: function() {    return this.charAt(0).toUpperCase() + this.substring(1).toLowerCase();  },  /**   * Converts a camelized string into a series of words separated by an underscore ("_").   * @alias String.underscore   * @return {String} Converts a camelized string into a series of words separated by an underscore ("_").   * @extends {String}   */  underscore: function() {    return this.gsub(/::/, '/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\d])([A-Z])/,'#{1}_#{2}').gsub(/-/,'_').toLowerCase();  },  /**   * Replaces every instance of the underscore character ("_") by a dash ("-").   * @alias String.dasherize   * @return {String}	Replaces every instance of the underscore character ("_") by a dash ("-").   * @extends {String}   */  dasherize: function() {    return this.gsub(/_/,'-');  },  /**  * Converts the string to human-readable characters.  * @alias String.inspect()  * @return {String} Returns a version of the string that can easily be read by humans.  * @extends {String}  */  inspect: function(useDoubleQuotes) {    var escapedString = this.gsub(/[\x00-\x1f\\]/, function(match) {      var character = String.specialChar[match[0]];      return character ? character : '\\u00' + match[0].charCodeAt().toPaddedString(2, 16);    });    if (useDoubleQuotes) return '"' + escapedString.replace(/"/g, '\\"') + '"';    return "'" + escapedString.replace(/'/g, '\\\'') + "'";  },  /**   * Returns a JSON string.   * @alias String.toJSON   * @return {String}	Returns a JSON string.   * @extends {String}   */  toJSON: function() {    return this.inspect(true);  },  /**   * Strips comment delimiters around Ajax JSON or JavaScript responses. This security method is called internally.   * @alias String.unfilterJSON   * @param {String} filter	Filter to use.   * @return {String} Returns the unfiltered string.   * @extends {String}   */  unfilterJSON: function(filter) {    return this.sub(filter || Prototype.JSONFilter, '#{1}');  },  /**   * Check if the string is valid JSON by the use of regular expressions. This security method is called internally.   * @alias String.isJSON   * @return {Boolean} Returns true if the string is a JSON string.   * @extends {String}   */  isJSON: function() {    var str = this.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, '');    return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str);  },  /**   * Evaluates the JSON in the string and returns the resulting object. If the optional sanitize parameter is set to true, the string is checked for possible malicious attempts and eval is not called if one is detected.   * @alias String.evalJSON   * @param {Object} sanitize	If true, checks for malicious syntax.	   * @return {Object}	Returns the result of the evaluation.   * @extends {String}   */  evalJSON: function(sanitize) {    var json = this.unfilterJSON();    try {      if (!sanitize || json.isJSON()) return eval('(' + json + ')');    } catch (e) { }    throw new SyntaxError('Badly formed JSON string: ' + this.inspect());  },  /**   * Check if the string contains a pattern.   * @alias String.include   * @param {String} pattern	Pattern to search for.   * @return {Boolean}	Returns true if the string contains a pattern.   * @extends {String}   */  include: function(pattern) {    return this.indexOf(pattern) > -1;  },  /**   * Checks if the string starts with pattern.   * @alias String.startsWith   * @param {String} pattern	Pattern to search for.   * @return {Boolean}	Returns true if the string starts with a pattern.   * @extends {String}   */  startsWith: function(pattern) {    return this.indexOf(pattern) === 0;  },  /**   * Checks if the string ends with pattern.   * @alias String.startsWith   * @param {String} pattern	Pattern to search for.   * @return {Boolean}	Returns true if the string starts with a pattern.   * @extends {String}   */  endsWith: function(pattern) {    var d = this.length - pattern.length;    return d >= 0 && this.lastIndexOf(pattern) === d;  },  /**   * Checks if the string is empty.   * @alias String.empty   * @return {Boolean} Returns true if the string is empty.   * @extends {String}   */  empty: function() {    return this == '';  },  /**   * Check if the string is 'blank', meaning either empty or containing only whitespace.   * @alias String.blank   * @return {Boolean} Returns true if the string is blank.   * @extends {String}   */  blank: function() {    return /^\s*$/.test(this);  }});if (Prototype.Browser.WebKit || Prototype.Browser.IE) Object.extend(String.prototype, {  escapeHTML: function() {    return this.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;');  },  unescapeHTML: function() {    return this.replace(/&amp;/g,'&').replace(/&lt;/g,'<').replace(/&gt;/g,'>');  }});String.prototype.gsub.prepareReplacement = function(replacement) {  if (typeof replacement == 'function') return replacement;  var template = new Template(replacement);  return function(match) { return template.evaluate(match) };}String.prototype.parseQuery = String.prototype.toQueryParams;Object.extend(String.prototype.escapeHTML, {  div:  document.createElement('div'),  text: document.createTextNode('')});with (String.prototype.escapeHTML) div.appendChild(text);/** * @classDescription Any time you have a group of similar objects and you need to produce formatted output for these objects, maybe inside a loop, you typically resort to concatenating string literals with the object's fields. There's nothing wrong with the above approach, except that it is hard to visualize the output immediately just by glancing at the concatenation expression. The Template class provides a much nicer and clearer way of achieving this formatting. */var Template = Class.create();Template.Pattern = /(^|.|\r|\n)(#\{(.*?)\})/;Template.prototype = {  initialize: function(template, pattern) {    this.template = template.toString();    this.pattern  = pattern || Template.Pattern;  },  /**   * Applies the template to the given object's data, producing a formatted string with symbols replaced by corresponding object's properties.   * @alias Template.evaluate   * @param {Object} object	Object containing data.   * @return {Object} Returns the formatted data.   * @extends {Template}   */  evaluate: function(object) {    return this.template.gsub(this.pattern, function(match) {      var before = match[1];      if (before == '\\') return match[2];      return before + String.interpret(object[match[3]]);    });  }}var $break = {}, $continue = new Error('"throw $continue" is deprecated, use "return" instead');/** * @classDescription Allows you to easily iterate items in a list. */var Enumerable = {   /** * Calls the specified iterator function. * @alias Enumerable.each * @param {Function} iterator	Iterator function to call. Takes the arguments elementValue, and elementIndex, respectively. */  each: function(iterator) {    var index = 0;    try {      this._each(function(value) {        iterator(value, index++);      });    } catch (e) {      if (e != $break) throw e;    }    return this;  },  /**   * Groups items in chunks based on a given size, with last chunk being possibly smaller.   * @alias Enumerable.eachSlice   * @param {Number} number	Number in each slice   * @param {Object} iterator	Iterator to use   * @return {Object} Returns formatted items.   */  eachSlice: function(number, iterator) {    var index = -number, slices = [], array = this.toArray();    while ((index += number) < array.length)      slices.push(array.slice(index, index+number));    return slices.map(iterator);  },  /** * Calls an iterator function to test the values in a list to see if they are all true. * @alias Enumerable.all * @param {Function} iterator	Iterator function to call. Takes the arguments elementValue, and elementIndex, respectively. * @return {Boolean} Returns true if the iterator returns true for all elements. */  all: function(iterator) {    var result = true;    this.each(function(value, index) {      result = result && !!(iterator || Prototype.K)(value, index);      if (!result) throw $break;    });    return result;  }, /** * Calls an iterator function to test the values in a list to see if any are true. * @alias Enumerable.any * @param {Function} iterator	Iterator function to call. Takes the arguments elementValue, and elementIndex, respectively. * @return {Boolean} Returns true if any of the iterator returns true for any of the elements. */  any: function(iterator) {    var result = false;    this.each(function(value, index) {      if (result = !!(iterator || Prototype.K)(value, index))        throw $break;    });    return result;  }, /** * Calls an iterator function and returns the results in an Array. * @alias Enumerable.collect * @param {Function} iterator	Iterator function to call. Takes the arguments elementValue, and elementIndex, respectively. * @return {Array} Array of the results of calling the iterator on each element. */  collect: function(iterator) {    var results = [];    this.each(function(value, index) {      results.push((iterator || Prototype.K)(value, index));    });    return results;  }, /** * Calls an iterator function on the elements in a list and returns the first element that causes the iterator to return true. * @alias Enumerable.detect * @param {Function} iterator	Iterator function to call. Takes the arguments elementValue, and elementIndex, respectively. * @return {Object} Returns the first element that causes the iterator function to return true. */  detect: function(iterator) {    var result;    this.each(function(value, index) {      if (iterator(value, index)) {        result = value;        throw $break;      }    });    return result;  }, /** * Calls an iterator function on the elements in a list and returns all of the elements that cause the iterator to return true. * @alias Enumerable.findAll * @param {Function} iterator	Iterator function to call. Takes the arguments elementValue, and elementIndex, respectively. * @return {Array} Returns the elements that the cause the iterator to return true. */  findAll: function(iterator) {    var results = [];    this.each(function(value, index) {      if (iterator(value, index))        results.push(value);    });    return results;  }, /** * Tests each element in a list to see if it contains the specified regular expression. * @alias Enumerable.grep * @param {RegExp} pattern	RegExp to match.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
2023国产精品自拍| 欧美一区二区三级| 亚洲欧洲国产专区| www.视频一区| 亚洲精品一二三| 精品视频全国免费看| 午夜精品福利久久久| 日韩精品一区二区三区三区免费 | 中文字幕制服丝袜一区二区三区| 国产成人精品三级麻豆| 亚洲美女屁股眼交3| 欧美精品第1页| 国产一区二区在线看| 国产精品伦理在线| 欧美三级日韩在线| 韩国精品在线观看| 亚洲女同ⅹxx女同tv| 欧美日韩国产精品成人| 国模一区二区三区白浆| 国产精品成人网| 欧美美女激情18p| 国产精品一区二区在线观看网站 | 亚洲男人的天堂在线aⅴ视频| 色欧美日韩亚洲| 九九九精品视频| 成人欧美一区二区三区1314| 9191精品国产综合久久久久久| 精品一区二区三区欧美| 中文字幕欧美一| 日韩一二在线观看| 91女人视频在线观看| 日本欧美肥老太交大片| 一色桃子久久精品亚洲| 欧美日韩国产片| 成人性生交大合| 日韩在线观看一区二区| 国产精品久久久久一区二区三区| 91精品啪在线观看国产60岁| 成人精品国产免费网站| 久久成人18免费观看| 一区二区三区91| 国产精品久久久久三级| 精品国产一区二区三区久久影院| 91麻豆国产精品久久| 国产麻豆成人传媒免费观看| 亚洲韩国一区二区三区| 国产精品美女一区二区三区 | 91论坛在线播放| 国产在线视视频有精品| 天天操天天干天天综合网| 日本一区二区三区四区在线视频| 欧美一区二区三区系列电影| 色综合色狠狠天天综合色| 国产成人精品三级| 韩国精品在线观看| 免费日韩伦理电影| 亚洲成a人v欧美综合天堂| 亚洲人成精品久久久久久| 欧美激情在线看| 国产三级精品在线| 欧美成人在线直播| 欧美一卡二卡三卡四卡| 欧美视频一二三区| 在线中文字幕一区| 一本到一区二区三区| 国产成人av福利| 久88久久88久久久| 国内精品第一页| 国产一区二区三区四区五区美女| 青青草国产成人99久久| 亚洲电影一区二区三区| 亚洲乱码中文字幕综合| 亚洲同性同志一二三专区| 欧美激情在线免费观看| 欧美激情一区二区三区不卡| 久久精品欧美日韩| 久久精品一区二区三区四区| 久久久电影一区二区三区| 精品日产卡一卡二卡麻豆| 日韩免费一区二区| 精品成人一区二区三区四区| 欧美精品一区二区三区久久久| 欧美白人最猛性xxxxx69交| 精品久久久久久亚洲综合网| 2023国产精品视频| 亚洲国产成人一区二区三区| 国产精品毛片久久久久久久| 国产精品久久久久精k8| 1024成人网| 亚洲一区二区在线免费看| 天堂成人国产精品一区| 裸体健美xxxx欧美裸体表演| 精品午夜久久福利影院| 成人精品国产免费网站| 色呦呦一区二区三区| 欧美精品乱码久久久久久| 欧美成va人片在线观看| 中文字幕精品一区| 亚洲自拍欧美精品| 美女国产一区二区| 懂色av噜噜一区二区三区av| av男人天堂一区| 欧美色视频在线观看| 精品日产卡一卡二卡麻豆| 国产精品色呦呦| 亚洲成人免费观看| 国产一区二区成人久久免费影院 | 色久综合一二码| 538在线一区二区精品国产| 26uuu精品一区二区三区四区在线| 国产午夜精品一区二区| 亚洲精品视频免费看| 日产欧产美韩系列久久99| 成人一区在线看| 欧美精品色综合| 国产精品嫩草久久久久| 午夜精品视频一区| 成人av在线资源| 51精品秘密在线观看| 中日韩免费视频中文字幕| 亚洲成人自拍一区| 福利电影一区二区三区| 欧美日韩高清影院| 国产无一区二区| 午夜精品爽啪视频| 99热国产精品| 欧美成人bangbros| 一级做a爱片久久| 国产成人在线视频免费播放| 欧美伦理电影网| 亚洲欧美一区二区视频| 精品综合久久久久久8888| 色综合久久综合网97色综合| 精品美女在线观看| 亚洲成人先锋电影| 91免费看`日韩一区二区| 精品少妇一区二区三区免费观看| 日韩伦理av电影| 大桥未久av一区二区三区中文| 日韩欧美一卡二卡| 亚洲成人一区在线| 色猫猫国产区一区二在线视频| 久久久久久免费网| 成人蜜臀av电影| 欧美成人精品3d动漫h| 亚洲成av人影院在线观看网| 91在线国产福利| 国产欧美日韩另类视频免费观看 | 欧美精品一区二区在线播放 | 精品国产一区二区国模嫣然| 伊人夜夜躁av伊人久久| 成人av网站在线| 国产欧美一区二区精品久导航| 美女视频第一区二区三区免费观看网站| 日本丶国产丶欧美色综合| 国产精品久久久久影院老司| 国产成人av一区二区三区在线观看| 精品少妇一区二区三区日产乱码| 午夜精品免费在线| 欧美日本视频在线| 亚洲国产你懂的| 欧美在线免费视屏| 一区二区三区精品视频在线| 97se狠狠狠综合亚洲狠狠| 国产精品久久久久婷婷二区次| 成人午夜电影小说| 国产精品国产三级国产专播品爱网 | 99re视频精品| 国产精品麻豆视频| 99re8在线精品视频免费播放| 国产精品国产三级国产专播品爱网 | 亚洲精品视频自拍| 一本到高清视频免费精品| 亚洲精品福利视频网站| 欧美午夜精品一区二区三区| 亚洲第一电影网| 欧美一区欧美二区| 玖玖九九国产精品| 久久亚洲一级片| 懂色av一区二区三区免费看| 中文字幕中文字幕一区| 色激情天天射综合网| 午夜精品久久久| 日韩一级视频免费观看在线| 狠狠色综合日日| 中文字幕欧美三区| 91视频国产资源| 亚洲成av人影院| www成人在线观看| av毛片久久久久**hd| 亚洲成a人在线观看| 日韩精品一区二区三区在线播放| 国产综合一区二区| 亚洲日本在线天堂| 欧美二区乱c少妇| 国产在线麻豆精品观看| 中文字幕一区二区三区不卡在线| 欧美日韩国产中文| 国产成人在线视频网址| 亚洲综合小说图片|