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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? prototype.js

?? 一個關于extjs的demo,簡單示例,后臺用java實現
?? JS
?? 第 1 頁 / 共 5 頁
字號:
/*  Prototype JavaScript framework, version 1.6.0.2
 *  (c) 2005-2008 Sam Stephenson
 *
 *  Prototype is freely distributable under the terms of an MIT-style license.
 *  For details, see the Prototype web site: http://www.prototypejs.org/
 *
 *--------------------------------------------------------------------------*/

var Prototype = {
  Version: '1.6.0.2',

  Browser: {
    IE:     !!(window.attachEvent && !window.opera),
    Opera:  !!window.opera,
    WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1,
    Gecko:  navigator.userAgent.indexOf('Gecko') > -1 && navigator.userAgent.indexOf('KHTML') == -1,
    MobileSafari: !!navigator.userAgent.match(/Apple.*Mobile.*Safari/)
  },

  BrowserFeatures: {
    XPath: !!document.evaluate,
    ElementExtensions: !!window.HTMLElement,
    SpecificElementExtensions:
      document.createElement('div').__proto__ &&
      document.createElement('div').__proto__ !==
        document.createElement('form').__proto__
  },

  ScriptFragment: '<script[^>]*>([\\S\\s]*?)<\/script>',
  JSONFilter: /^\/\*-secure-([\s\S]*)\*\/\s*$/,

  emptyFunction: function() { },
  K: function(x) { return x }
};

if (Prototype.Browser.MobileSafari)
  Prototype.BrowserFeatures.SpecificElementExtensions = false;


/* Based on Alex Arnell's inheritance implementation. */
var Class = {
  create: function() {
    var parent = null, properties = $A(arguments);
    if (Object.isFunction(properties[0]))
      parent = properties.shift();

    function klass() {
      this.initialize.apply(this, arguments);
    }

    Object.extend(klass, Class.Methods);
    klass.superclass = parent;
    klass.subclasses = [];

    if (parent) {
      var subclass = function() { };
      subclass.prototype = parent.prototype;
      klass.prototype = new subclass;
      parent.subclasses.push(klass);
    }

    for (var i = 0; i < properties.length; i++)
      klass.addMethods(properties[i]);

    if (!klass.prototype.initialize)
      klass.prototype.initialize = Prototype.emptyFunction;

    klass.prototype.constructor = klass;

    return klass;
  }
};

Class.Methods = {
  addMethods: function(source) {
    var ancestor   = this.superclass && this.superclass.prototype;
    var properties = Object.keys(source);

    if (!Object.keys({ toString: true }).length)
      properties.push("toString", "valueOf");

    for (var i = 0, length = properties.length; i < length; i++) {
      var property = properties[i], value = source[property];
      if (ancestor && Object.isFunction(value) &&
          value.argumentNames().first() == "$super") {
        var method = value, value = Object.extend((function(m) {
          return function() { return ancestor[m].apply(this, arguments) };
        })(property).wrap(method), {
          valueOf:  function() { return method },
          toString: function() { return method.toString() }
        });
      }
      this.prototype[property] = value;
    }

    return this;
  }
};

var Abstract = { };

Object.extend = function(destination, source) {
  for (var property in source)
    destination[property] = source[property];
  return destination;
};

Object.extend(Object, {
  inspect: function(object) {
    try {
      if (Object.isUndefined(object)) return 'undefined';
      if (object === null) return 'null';
      return object.inspect ? object.inspect() : String(object);
    } catch (e) {
      if (e instanceof RangeError) return '...';
      throw e;
    }
  },

  toJSON: function(object) {
    var type = typeof object;
    switch (type) {
      case 'undefined':
      case 'function':
      case 'unknown': return;
      case 'boolean': return object.toString();
    }

    if (object === null) return 'null';
    if (object.toJSON) return object.toJSON();
    if (Object.isElement(object)) return;

    var results = [];
    for (var property in object) {
      var value = Object.toJSON(object[property]);
      if (!Object.isUndefined(value))
        results.push(property.toJSON() + ': ' + value);
    }

    return '{' + results.join(', ') + '}';
  },

  toQueryString: function(object) {
    return $H(object).toQueryString();
  },

  toHTML: function(object) {
    return object && object.toHTML ? object.toHTML() : String.interpret(object);
  },

  keys: function(object) {
    var keys = [];
    for (var property in object)
      keys.push(property);
    return keys;
  },

  values: function(object) {
    var values = [];
    for (var property in object)
      values.push(object[property]);
    return values;
  },

  clone: function(object) {
    return Object.extend({ }, object);
  },

  isElement: function(object) {
    return object && object.nodeType == 1;
  },

  isArray: function(object) {
    return object != null && typeof object == "object" &&
      'splice' in object && 'join' in object;
  },

  isHash: function(object) {
    return object instanceof Hash;
  },

  isFunction: function(object) {
    return typeof object == "function";
  },

  isString: function(object) {
    return typeof object == "string";
  },

  isNumber: function(object) {
    return typeof object == "number";
  },

  isUndefined: function(object) {
    return typeof object == "undefined";
  }
});

Object.extend(Function.prototype, {
  argumentNames: function() {
    var names = this.toString().match(/^[\s\(]*function[^(]*\((.*?)\)/)[1].split(",").invoke("strip");
    return names.length == 1 && !names[0] ? [] : names;
  },

  bind: function() {
    if (arguments.length < 2 && Object.isUndefined(arguments[0])) return this;
    var __method = this, args = $A(arguments), object = args.shift();
    return function() {
      return __method.apply(object, args.concat($A(arguments)));
    }
  },

  bindAsEventListener: function() {
    var __method = this, args = $A(arguments), object = args.shift();
    return function(event) {
      return __method.apply(object, [event || window.event].concat(args));
    }
  },

  curry: function() {
    if (!arguments.length) return this;
    var __method = this, args = $A(arguments);
    return function() {
      return __method.apply(this, args.concat($A(arguments)));
    }
  },

  delay: function() {
    var __method = this, args = $A(arguments), timeout = args.shift() * 1000;
    return window.setTimeout(function() {
      return __method.apply(__method, args);
    }, timeout);
  },

  wrap: function(wrapper) {
    var __method = this;
    return function() {
      return wrapper.apply(this, [__method.bind(this)].concat($A(arguments)));
    }
  },

  methodize: function() {
    if (this._methodized) return this._methodized;
    var __method = this;
    return this._methodized = function() {
      return __method.apply(null, [this].concat($A(arguments)));
    };
  }
});

Function.prototype.defer = Function.prototype.delay.curry(0.01);

Date.prototype.toJSON = function() {
  return '"' + this.getUTCFullYear() + '-' +
    (this.getUTCMonth() + 1).toPaddedString(2) + '-' +
    this.getUTCDate().toPaddedString(2) + 'T' +
    this.getUTCHours().toPaddedString(2) + ':' +
    this.getUTCMinutes().toPaddedString(2) + ':' +
    this.getUTCSeconds().toPaddedString(2) + 'Z"';
};

var Try = {
  these: function() {
    var returnValue;

    for (var i = 0, length = arguments.length; i < length; i++) {
      var lambda = arguments[i];
      try {
        returnValue = lambda();
        break;
      } catch (e) { }
    }

    return returnValue;
  }
};

RegExp.prototype.match = RegExp.prototype.test;

RegExp.escape = function(str) {
  return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1');
};

/*--------------------------------------------------------------------------*/

var PeriodicalExecuter = Class.create({
  initialize: function(callback, frequency) {
    this.callback = callback;
    this.frequency = frequency;
    this.currentlyExecuting = false;

    this.registerCallback();
  },

  registerCallback: function() {
    this.timer = setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);
  },

  execute: function() {
    this.callback(this);
  },

  stop: function() {
    if (!this.timer) return;
    clearInterval(this.timer);
    this.timer = null;
  },

  onTimerEvent: function() {
    if (!this.currentlyExecuting) {
      try {
        this.currentlyExecuting = true;
        this.execute();
      } finally {
        this.currentlyExecuting = false;
      }
    }
  }
});
Object.extend(String, {
  interpret: function(value) {
    return value == null ? '' : String(value);
  },
  specialChar: {
    '\b': '\\b',
    '\t': '\\t',
    '\n': '\\n',
    '\f': '\\f',
    '\r': '\\r',
    '\\': '\\\\'
  }
});

Object.extend(String.prototype, {
  gsub: function(pattern, replacement) {
    var result = '', source = this, match;
    replacement = arguments.callee.prepareReplacement(replacement);

    while (source.length > 0) {
      if (match = source.match(pattern)) {
        result += source.slice(0, match.index);
        result += String.interpret(replacement(match));
        source  = source.slice(match.index + match[0].length);
      } else {
        result += source, source = '';
      }
    }
    return result;
  },

  sub: function(pattern, replacement, count) {
    replacement = this.gsub.prepareReplacement(replacement);
    count = Object.isUndefined(count) ? 1 : count;

    return this.gsub(pattern, function(match) {
      if (--count < 0) return match[0];
      return replacement(match);
    });
  },

  scan: function(pattern, iterator) {
    this.gsub(pattern, iterator);
    return String(this);
  },

  truncate: function(length, truncation) {
    length = length || 30;
    truncation = Object.isUndefined(truncation) ? '...' : truncation;
    return this.length > length ?
      this.slice(0, length - truncation.length) + truncation : String(this);
  },

  strip: function() {
    return this.replace(/^\s+/, '').replace(/\s+$/, '');
  },

  stripTags: function() {
    return this.replace(/<\/?[^>]+>/gi, '');
  },

  stripScripts: function() {
    return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), '');
  },

  extractScripts: function() {
    var matchAll = new RegExp(Prototype.ScriptFragment, 'img');
    var matchOne = new RegExp(Prototype.ScriptFragment, 'im');
    return (this.match(matchAll) || []).map(function(scriptTag) {
      return (scriptTag.match(matchOne) || ['', ''])[1];
    });
  },

  evalScripts: function() {
    return this.extractScripts().map(function(script) { return eval(script) });
  },

  escapeHTML: function() {
    var self = arguments.callee;
    self.text.data = this;
    return self.div.innerHTML;
  },

  unescapeHTML: function() {
    var div = new Element('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) : '';
  },

  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 (!Object.isArray(hash[key])) hash[key] = [hash[key]];
          hash[key].push(value);
        }
        else hash[key] = value;
      }
      return hash;
    });
  },

  toArray: function() {
    return this.split('');
  },

  succ: function() {
    return this.slice(0, this.length - 1) +
      String.fromCharCode(this.charCodeAt(this.length - 1) + 1);
  },

  times: function(count) {
    return count < 1 ? '' : new Array(count + 1).join(this);
  },

  camelize: function() {

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区 在线观看视频| 91免费视频网| 日韩视频一区二区三区| 精品少妇一区二区三区在线视频| 国产欧美日韩精品a在线观看| 亚洲图片另类小说| 亚洲.国产.中文慕字在线| 久久99蜜桃精品| 99国产精品视频免费观看| 欧美男男青年gay1069videost | 国产日本亚洲高清| 亚洲激情图片qvod| 久久aⅴ国产欧美74aaa| 色综合久久99| 国产亚洲欧美色| 亚洲成人动漫av| 成人小视频在线| 91精品午夜视频| 亚洲视频一区在线观看| 麻豆成人av在线| 91麻豆精品秘密| 欧美va日韩va| 午夜欧美大尺度福利影院在线看| 99国产一区二区三精品乱码| 欧美日韩aaa| 中文字幕一区在线观看| 日韩av电影免费观看高清完整版 | 国产日产欧美一区二区三区| 亚洲国产精品尤物yw在线观看| 国产精品亚洲视频| 制服丝袜亚洲播放| 亚洲欧美在线另类| 国产在线精品国自产拍免费| 欧美蜜桃一区二区三区| 成人欧美一区二区三区| 国产精品一区二区久激情瑜伽| 欧美久久久久久久久中文字幕| 成人免费一区二区三区在线观看| 精品一区二区综合| 7777精品伊人久久久大香线蕉超级流畅 | 国产精品每日更新在线播放网址 | 国产日韩欧美精品一区| 美日韩黄色大片| 欧美另类高清zo欧美| 亚洲免费观看在线观看| 成人av在线影院| 久久在线免费观看| 蜜臀99久久精品久久久久久软件| 欧美色男人天堂| 亚洲免费观看视频| 97se亚洲国产综合自在线不卡| 国产情人综合久久777777| 激情欧美日韩一区二区| 欧美大片拔萝卜| 日本美女一区二区| 制服丝袜成人动漫| 亚洲成年人影院| 欧美亚洲另类激情小说| 亚洲一区影音先锋| 欧美在线视频日韩| 亚洲精品免费视频| 日本韩国一区二区| 亚洲在线观看免费视频| 在线观看亚洲专区| 亚洲一级电影视频| 欧美日韩在线播放三区四区| 亚洲综合一区二区精品导航| 91老师片黄在线观看| 一区二区在线免费观看| 91传媒视频在线播放| 亚洲国产一区二区视频| 欧美日韩视频一区二区| 天堂蜜桃一区二区三区| 7777精品伊人久久久大香线蕉完整版| 亚洲bt欧美bt精品| 91麻豆精品国产91久久久资源速度 | av综合在线播放| **性色生活片久久毛片| 色88888久久久久久影院按摩 | 欧美午夜精品久久久久久孕妇 | 欧美一区二区视频网站| 美洲天堂一区二卡三卡四卡视频 | 岛国av在线一区| 国产精品国产精品国产专区不蜜| 97久久超碰精品国产| 亚洲一区二区综合| 这里只有精品电影| 国产真实乱子伦精品视频| 国产欧美一区二区精品秋霞影院| 国产成人免费视| 亚洲免费在线视频| 欧美理论在线播放| 国精产品一区一区三区mba视频| 久久久美女毛片| www.视频一区| 亚洲国产一二三| 精品久久久网站| 东方欧美亚洲色图在线| 一区二区三区产品免费精品久久75| 欧美日韩国产三级| 国产一区二区影院| 亚洲欧美视频在线观看| 欧美精品第1页| 国产精品小仙女| 一区二区三区在线观看欧美| 欧美一区二区三区免费| 国产白丝精品91爽爽久久| 亚洲男人的天堂av| 日韩欧美国产麻豆| 国产精品久久久久久久久免费樱桃| 久久不见久久见中文字幕免费| 日本一区二区三区四区在线视频| 色综合视频在线观看| 日本午夜一本久久久综合| 久久久.com| 欧美日韩精品一区二区在线播放| 韩国v欧美v亚洲v日本v| 亚洲精品国产a久久久久久 | 国产精品911| 亚洲已满18点击进入久久| 久久综合久久鬼色| 色噜噜偷拍精品综合在线| 免费在线观看精品| 中文字幕一区二区在线观看| 欧美一级高清大全免费观看| 成人激情图片网| 另类综合日韩欧美亚洲| 亚洲男人天堂av| 久久久天堂av| 欧美日韩精品一区二区三区蜜桃| 国产精品资源站在线| 午夜伦理一区二区| 国产精品成人免费精品自在线观看| 91精品中文字幕一区二区三区| 成人综合在线观看| 美日韩黄色大片| 亚洲一区二区三区在线看| 久久精品人人爽人人爽| 欧美精品xxxxbbbb| 91影院在线免费观看| 国产精品一区二区久激情瑜伽 | 337p粉嫩大胆噜噜噜噜噜91av| 在线观看成人免费视频| 成a人片亚洲日本久久| 韩国精品在线观看| 日本三级亚洲精品| 亚洲影院免费观看| 国产精品久久久久四虎| 欧美精品一区二| 欧美一卡2卡3卡4卡| 欧洲人成人精品| 91在线码无精品| 国产成人午夜99999| 青青草国产精品亚洲专区无| 亚洲一区二区三区三| 日韩美女视频19| 国产精品网曝门| 久久精品亚洲精品国产欧美kt∨| 日韩三级伦理片妻子的秘密按摩| 精品视频在线免费看| 一本高清dvd不卡在线观看| 成人av免费观看| 成人毛片在线观看| 国产成人h网站| 国产v综合v亚洲欧| 国产精品456| 精品一区在线看| 精品中文字幕一区二区小辣椒| 男男gaygay亚洲| 美女视频免费一区| 看片网站欧美日韩| 秋霞午夜av一区二区三区| 奇米影视一区二区三区小说| 丝袜亚洲另类欧美| 日韩va欧美va亚洲va久久| 日本特黄久久久高潮| 日本va欧美va欧美va精品| 免费成人你懂的| 久久精品噜噜噜成人88aⅴ| 男女视频一区二区| 免费人成精品欧美精品| 蜜臀国产一区二区三区在线播放| 热久久久久久久| 精品一区二区三区免费播放| 国产一区二区美女| 国产黄色91视频| www..com久久爱| 色婷婷综合五月| 欧美日韩性生活| 日韩一区二区三| 久久久久成人黄色影片| 欧美国产精品专区| 国产精品久久久久影院| 亚洲乱码国产乱码精品精小说 | 欧美美女直播网站| 日韩欧美亚洲国产另类| 久久精品一区二区三区av| 国产精品丝袜黑色高跟| 一区二区三区日韩在线观看| 亚洲国产精品尤物yw在线观看|