/*
This file is part of Ext JS 4.2
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
Commercial Usage
Licensees holding valid commercial licenses may use this file in accordance with the Commercial
Software License Agreement provided with the Software or, alternatively, in accordance with the
terms contained in a written agreement between you and Sencha.
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Build date: 2013-09-18 17:18:59 (940c324ac822b840618a3a8b2b4b873f83a1a9b1)
*/
(function(Ext) {
Ext.sandboxName = 'Ext4';
Ext.isSandboxed = true;
Ext.buildSettings = { baseCSSPrefix: "x4-", scopeResetCSS: true };
// @tag foundation,core
// @define Ext
/**
* @class Ext
* @singleton
*/
var Ext = Ext || {};
Ext._startTime = new Date().getTime();
(function() {
var global = this,
objectPrototype = Object.prototype,
toString = objectPrototype.toString,
enumerables = true,
enumerablesTest = {toString: 1},
emptyFn = function () {},
// This is the "$previous" method of a hook function on an instance. When called, it
// calls through the class prototype by the name of the called method.
callOverrideParent = function () {
var method = callOverrideParent.caller.caller; // skip callParent (our caller)
return method.$owner.prototype[method.$name].apply(this, arguments);
},
i,
nonWhitespaceRe = /\S/,
ExtApp,
iterableRe = /\[object\s*(?:Array|Arguments|\w*Collection|\w*List|HTML\s+document\.all\s+class)\]/;
Ext.global = global;
for (i in enumerablesTest) {
enumerables = null;
}
if (enumerables) {
enumerables = ['hasOwnProperty', 'valueOf', 'isPrototypeOf', 'propertyIsEnumerable',
'toLocaleString', 'toString', 'constructor'];
}
/**
* An array containing extra enumerables for old browsers
* @property {String[]}
*/
Ext.enumerables = enumerables;
/**
* Copies all the properties of config to the specified object.
* Note that if recursive merging and cloning without referencing the original objects / arrays is needed, use
* {@link Ext.Object#merge} instead.
* @param {Object} object The receiver of the properties
* @param {Object} config The source of the properties
* @param {Object} [defaults] A different object that will also be applied for default values
* @return {Object} returns obj
*/
Ext.apply = function(object, config, defaults) {
if (defaults) {
Ext.apply(object, defaults);
}
if (object && config && typeof config === 'object') {
var i, j, k;
for (i in config) {
object[i] = config[i];
}
if (enumerables) {
for (j = enumerables.length; j--;) {
k = enumerables[j];
if (config.hasOwnProperty(k)) {
object[k] = config[k];
}
}
}
}
return object;
};
Ext.buildSettings = Ext.apply({
baseCSSPrefix: 'x-'
}, Ext.buildSettings || {});
Ext.apply(Ext, {
/**
* @property {String} [name='Ext']
* <p>The name of the property in the global namespace (The <code>window</code> in browser environments) which refers to the current instance of Ext.</p>
* <p>This is usually <code>"Ext"</code>, but if a sandboxed build of ExtJS is being used, this will be an alternative name.</p>
* <p>If code is being generated for use by <code>eval</code> or to create a <code>new Function</code>, and the global instance
* of Ext must be referenced, this is the name that should be built into the code.</p>
*/
name: Ext.sandboxName || 'Ext',
/**
* @property {Function}
* A reusable empty function
*/
emptyFn: emptyFn,
/**
* A reusable identity function. The function will always return the first argument, unchanged.
*/
identityFn: function(o) {
return o;
},
/**
* A zero length string which will pass a truth test. Useful for passing to methods
* which use a truth test to reject <i>falsy</i> values where a string value must be cleared.
*/
emptyString: new String(),
baseCSSPrefix: Ext.buildSettings.baseCSSPrefix,
/**
* Copies all the properties of config to object if they don't already exist.
* @param {Object} object The receiver of the properties
* @param {Object} config The source of the properties
* @return {Object} returns obj
*/
applyIf: function(object, config) {
var property;
if (object) {
for (property in config) {
if (object[property] === undefined) {
object[property] = config[property];
}
}
}
return object;
},
/**
* Iterates either an array or an object. This method delegates to
* {@link Ext.Array#each Ext.Array.each} if the given value is iterable, and {@link Ext.Object#each Ext.Object.each} otherwise.
*
* @param {Object/Array} object The object or array to be iterated.
* @param {Function} fn The function to be called for each iteration. See and {@link Ext.Array#each Ext.Array.each} and
* {@link Ext.Object#each Ext.Object.each} for detailed lists of arguments passed to this function depending on the given object
* type that is being iterated.
* @param {Object} scope (Optional) The scope (`this` reference) in which the specified function is executed.
* Defaults to the object being iterated itself.
* @markdown
*/
iterate: function(object, fn, scope) {
if (Ext.isEmpty(object)) {
return;
}
if (scope === undefined) {
scope = object;
}
if (Ext.isIterable(object)) {
Ext.Array.each.call(Ext.Array, object, fn, scope);
}
else {
Ext.Object.each.call(Ext.Object, object, fn, scope);
}
}
});
Ext.apply(Ext, {
/**
* This method deprecated. Use {@link Ext#define Ext.define} instead.
* @method
* @param {Function} superclass
* @param {Object} overrides
* @return {Function} The subclass constructor from the <tt>overrides</tt> parameter, or a generated one if not provided.
* @deprecated 4.0.0 Use {@link Ext#define Ext.define} instead
*/
extend: (function() {
// inline overrides
var objectConstructor = objectPrototype.constructor,
inlineOverrides = function(o) {
for (var m in o) {
if (!o.hasOwnProperty(m)) {
continue;
}
this[m] = o[m];
}
};
return function(subclass, superclass, overrides) {
// First we check if the user passed in just the superClass with overrides
if (Ext.isObject(superclass)) {
overrides = superclass;
superclass = subclass;
subclass = overrides.constructor !== objectConstructor ? overrides.constructor : function() {
superclass.apply(this, arguments);
};
}
if (!superclass) {
Ext.Error.raise({
sourceClass: 'Ext',
sourceMethod: 'extend',
没有合适的资源?快使用搜索试试~ 我知道了~
ext-4.2.2-commercial订阅版
共2000个文件
gif:7854个
png:1725个
js:1454个
5星 · 超过95%的资源 需积分: 3 41 下载量 89 浏览量
2013-12-16
09:58:44
上传
评论
收藏 58.15MB RAR 举报
温馨提示
此版本为Extjs4.2.2官方最新版本的订阅版,由于文件太大无法上传已经对文件做了相应的精减。精减内容src,语言包(仅保留英文,中文包)
资源推荐
资源详情
资源评论
收起资源包目录
ext-4.2.2-commercial订阅版 (2000个子文件)
KitchenSink-example.css 838KB
KitchenSink-example.css 748KB
ext-theme-neptune-all-rtl-debug_01.css 746KB
ext-theme-neptune-all-rtl-debug_01.css 746KB
KitchenSink-example.css 738KB
KitchenSink-example.css 730KB
ext-theme-neptune-all-debug.css 722KB
ext-theme-neptune-all-debug.css 722KB
ext-theme-classic-sandbox-all-rtl-debug.css 702KB
ext-theme-classic-sandbox-all-rtl-debug.css 702KB
ext-theme-classic-all-rtl-debug.css 695KB
ext-theme-classic-all-rtl-debug.css 695KB
ext-theme-gray-all-rtl-debug.css 686KB
ext-theme-gray-all-rtl-debug.css 686KB
ext-theme-access-all-rtl-debug.css 679KB
ext-theme-access-all-rtl-debug.css 679KB
ext-theme-classic-sandbox-all-debug.css 645KB
ext-theme-classic-sandbox-all-debug.css 645KB
ext-theme-classic-all-debug.css 639KB
ext-theme-classic-all-debug.css 639KB
ext-theme-gray-all-debug.css 632KB
ext-theme-gray-all-debug.css 632KB
ext-theme-access-all-debug.css 623KB
ext-theme-access-all-debug.css 623KB
ext-theme-neptune-all-rtl_01.css 329KB
ext-theme-neptune-all-rtl_01.css 329KB
ext-theme-neptune-all.css 316KB
ext-theme-neptune-all.css 316KB
KitchenSink-all.css 313KB
ext-theme-classic-sandbox-all-rtl.css 311KB
ext-theme-classic-sandbox-all-rtl.css 311KB
ext-theme-classic-all-rtl.css 305KB
ext-theme-classic-all-rtl.css 305KB
ext-theme-gray-all-rtl.css 295KB
ext-theme-gray-all-rtl.css 295KB
ext-theme-access-all-rtl.css 290KB
ext-theme-access-all-rtl.css 290KB
app-88de2e4b4aaefeb72bd4003a88ad5c26.css 289KB
ext-theme-classic-sandbox-all.css 276KB
ext-theme-classic-sandbox-all.css 276KB
ext-theme-classic-all.css 271KB
ext-theme-classic-all.css 271KB
KitchenSink-all.css 268KB
ext-theme-gray-all.css 263KB
ext-theme-gray-all.css 263KB
KitchenSink-all.css 259KB
ext-theme-access-all.css 256KB
ext-theme-access-all.css 256KB
KitchenSink-all.css 253KB
bubble-panel.css 234KB
nested-loading.css 200KB
ext-theme-neptune-all-rtl-debug_02.css 32KB
ext-theme-neptune-all-rtl-debug_02.css 32KB
pictos_base64.css 28KB
pictos_base64.css 28KB
pictos_base64.css 28KB
pictos_base64.css 28KB
pictos_base64.css 28KB
ext-theme-neptune-all-rtl_02.css 20KB
ext-theme-neptune-all-rtl_02.css 20KB
calendar.css 18KB
desktop.css 13KB
welcome.css 10KB
extjs.css 8KB
desktop.css 6KB
GroupTabPanel.css 4KB
tasks.css 3KB
Feed-Viewer.css 3KB
Feed-Viewer.css 3KB
layout-browser.css 3KB
statusbar.css 3KB
page-analyzer.css 2KB
basic.css 2KB
prettify.css 2KB
prettify.css 2KB
prettify.css 2KB
prettify.css 2KB
prettify.css 2KB
examples.css 1KB
example.css 1KB
data-view.css 1KB
chooser.css 1KB
organizer.css 1KB
portal.css 1KB
toolbar.css 1KB
toolbars.css 1KB
dnd_with_dom.css 1KB
release-notes.css 1KB
animated-dataview.css 929B
pictos.css 873B
pictos.css 873B
pictos.css 873B
pictos.css 873B
pictos.css 873B
app.css 850B
menus.css 801B
prettify.css 675B
ItemSelector.css 629B
writer.css 507B
progress-bar.css 503B
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
qinliang123456
- 粉丝: 0
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页