Skip to content

Commit

Permalink
更新版本号至 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
smallmain committed Nov 14, 2024
1 parent 77e3977 commit f853ea7
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Cocos Enhance Kit v2.2.0 引擎源码
Cocos Enhance Kit v2.3.0 引擎源码

适配 v2.4.13 引擎
2 changes: 1 addition & 1 deletion adapters/VERSION.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.0
2.3.0
2 changes: 1 addition & 1 deletion cocos2d-x/VERSION.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.0
2.3.0
2 changes: 1 addition & 1 deletion engine/VERSION.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.0
2.3.0
6 changes: 3 additions & 3 deletions engine/bin/cocos2d-js-for-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -21701,7 +21701,7 @@
var dirname = cc.path.dirname(url);
var basename = cc.path.basename(url);
url = dirname + "." + hashValue + "/" + basename;
} else url = url.replace(/.*[/\\][0-9a-fA-F]{2}[/\\]([0-9a-fA-F-]{8,})/, (function(match, uuid) {
} else url = url.replace(/.*[\/\\][0-9a-fA-F]{2}[\/\\]([0-9a-fA-F-]{8,})/, (function(match, uuid) {
return match + "." + hashValue;
}));
return url;
Expand Down Expand Up @@ -22861,7 +22861,7 @@
var helper = {
decodeUuid: require("../utils/decode-uuid"),
getUuidFromURL: (function() {
var _uuidRegex = /.*[/\\][0-9a-fA-F]{2}[/\\]([0-9a-fA-F-]{8,})/;
var _uuidRegex = /.*[\/\\][0-9a-fA-F]{2}[\/\\]([0-9a-fA-F-]{8,})/;
return function(url) {
var matches = url.match(_uuidRegex);
if (matches) return matches[1];
Expand Down Expand Up @@ -57235,7 +57235,7 @@
"use strict";
cc.sp = {
inited: false,
version: "2.2.0",
version: "2.3.0",
MAX_MULTITEXTURE_NUM: -1,
autoSwitchMaterial: true,
allowDynamicAtlas: true,
Expand Down
2 changes: 1 addition & 1 deletion engine/bin/cocos2d-js-for-preview.js.map

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions engine/bin/cocos2d-jsb-for-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -21681,7 +21681,7 @@
var dirname = cc.path.dirname(url);
var basename = cc.path.basename(url);
url = dirname + "." + hashValue + "/" + basename;
} else url = url.replace(/.*[/\\][0-9a-fA-F]{2}[/\\]([0-9a-fA-F-]{8,})/, (function(match, uuid) {
} else url = url.replace(/.*[\/\\][0-9a-fA-F]{2}[\/\\]([0-9a-fA-F-]{8,})/, (function(match, uuid) {
return match + "." + hashValue;
}));
return url;
Expand Down Expand Up @@ -22841,7 +22841,7 @@
var helper = {
decodeUuid: require("../utils/decode-uuid"),
getUuidFromURL: (function() {
var _uuidRegex = /.*[/\\][0-9a-fA-F]{2}[/\\]([0-9a-fA-F-]{8,})/;
var _uuidRegex = /.*[\/\\][0-9a-fA-F]{2}[\/\\]([0-9a-fA-F-]{8,})/;
return function(url) {
var matches = url.match(_uuidRegex);
if (matches) return matches[1];
Expand Down Expand Up @@ -46119,7 +46119,7 @@
function parseInstances(data) {
var instances = data[5];
var instanceTypes = data[6];
var instanceTypesLen = 0 === instanceTypes ? 0 : instanceTypes.length;
var instanceTypesLen = instanceTypes === EMPTY_PLACEHOLDER ? 0 : instanceTypes.length;
var rootIndex = instances[instances.length - 1];
var normalObjectCount = instances.length - instanceTypesLen;
if ("number" !== typeof rootIndex) rootIndex = 0; else {
Expand Down Expand Up @@ -46171,8 +46171,8 @@
var klassLayout = classes[i];
if ("string" !== typeof klassLayout) {
true;
if ("function" === typeof klassLayout[0]) throw new Error("Can not deserialize the same JSON data again.");
var _type5 = klassLayout[0];
if ("function" === typeof klassLayout[CLASS_TYPE]) throw new Error("Can not deserialize the same JSON data again.");
var _type5 = klassLayout[CLASS_TYPE];
doLookupClass(classFinder, _type5, klassLayout, CLASS_TYPE, silent, customFinder);
} else doLookupClass(classFinder, klassLayout, classes, i, silent, customFinder);
}
Expand All @@ -46183,7 +46183,7 @@
var classes = data[3];
for (var i = 0; i < masks.length; ++i) {
var mask = masks[i];
mask[0] = classes[mask[0]];
mask[MASK_CLASS] = classes[mask[MASK_CLASS]];
}
}
}
Expand Down Expand Up @@ -46219,7 +46219,7 @@
preprocessed = version.preprocessed;
version = version.version;
}
if (version < 1) throw new Error(cc.debug.getError(5304, version));
if (version < SUPPORT_MIN_FORMAT_VERSION) throw new Error(cc.debug.getError(5304, version));
options._version = version;
options.result = details;
data[0] = options;
Expand All @@ -46242,7 +46242,7 @@
this.version = version;
};
function unpackJSONs(data, classFinder) {
if (data[0] < 1) throw new Error(cc.debug.getError(5304, data[0]));
if (data[0] < SUPPORT_MIN_FORMAT_VERSION) throw new Error(cc.debug.getError(5304, data[0]));
lookupClasses(data, true, classFinder);
cacheMasks(data);
var version = new FileInfo(data[0]);
Expand All @@ -46255,7 +46255,7 @@
return sections;
}
function packCustomObjData(type, data, hasNativeDep) {
return [ 1, EMPTY_PLACEHOLDER, EMPTY_PLACEHOLDER, [ type ], EMPTY_PLACEHOLDER, hasNativeDep ? [ data, -1 ] : [ data ], [ 0 ], EMPTY_PLACEHOLDER, [], [], [] ];
return [ SUPPORT_MIN_FORMAT_VERSION, EMPTY_PLACEHOLDER, EMPTY_PLACEHOLDER, [ type ], EMPTY_PLACEHOLDER, hasNativeDep ? [ data, -1 ] : [ data ], [ 0 ], EMPTY_PLACEHOLDER, [], [], [] ];
}
function hasNativeDep(data) {
var instances = data[5];
Expand Down Expand Up @@ -56928,7 +56928,7 @@
"use strict";
cc.sp = {
inited: false,
version: "2.2.0",
version: "2.3.0",
MAX_MULTITEXTURE_NUM: -1,
autoSwitchMaterial: true,
allowDynamicAtlas: true,
Expand Down
2 changes: 1 addition & 1 deletion engine/cocos2d/core/sp/sp.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cc.sp = {
/**
* 版本号
*/
version: "2.2.0",
version: "2.3.0",

/**
* 最大纹理插槽数量
Expand Down
2 changes: 1 addition & 1 deletion extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enhance-kit",
"version": "2.2.0",
"version": "2.3.0",
"description": "This extension provides support for cocos enhance kit.",
"author": "SmallMain",
"main": "main.js",
Expand Down
2 changes: 1 addition & 1 deletion jsb-adapter/VERSION.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.0
2.3.0

0 comments on commit f853ea7

Please sign in to comment.