Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-engine
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
zeroing-engine
Commits
96c534b8
Commit
96c534b8
authored
Mar 24, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复store实例化的问题
parent
7ad67d40
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
7 deletions
+12
-7
engine.js
debug/engine.js
+6
-3
engine.js.map
debug/engine.js.map
+1
-1
manifest.json
manifest.json
+1
-1
Container.ts
src/2d/display/Container.ts
+3
-2
index.ts
src/zeroing/game-warpper/index.ts
+1
-0
No files found.
debug/engine.js
View file @
96c534b8
...
...
@@ -3582,12 +3582,12 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
Object
.
defineProperty
(
Container
.
prototype
,
"$store"
,
{
get
:
function
()
{
var
p
=
this
;
while
(
p
.
parent
)
{
p
=
p
.
parent
;
do
{
if
(
p
[
'$isViewRoot'
])
{
break
;
}
}
p
=
p
.
parent
;
}
while
(
p
.
parent
);
if
(
p
)
{
return
p
[
'$_store'
];
}
...
...
@@ -5860,6 +5860,7 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
};
return
Sprite
;
}(
Container
));
//# sourceMappingURL=Sprite.js.map
var
BatchDrawCall
=
(
function
()
{
function
BatchDrawCall
()
{
...
...
@@ -20713,6 +20714,7 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
exports
.
DATA_CENTER_EVENT
=
DATA_CENTER_EVENT
;
exports
.
DATA_URI
=
DATA_URI
;
exports
.
DEG_TO_RAD
=
DEG_TO_RAD
;
exports
.
DataCenter
=
DataCenter
;
exports
.
DisplayObject
=
DisplayObject
;
exports
.
DrawAllToCanvas
=
DrawAllToCanvas
;
exports
.
ESCAPE_REG_EXP
=
ESCAPE_REG_EXP
;
...
...
@@ -20778,6 +20780,7 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
exports
.
cos
=
cos
;
exports
.
countTrailingZeros
=
countTrailingZeros
;
exports
.
createTextureSheet
=
createTextureSheet
;
exports
.
dataCenter
=
dataCenter
;
exports
.
decomposeDataUri
=
decomposeDataUri
;
exports
.
deepDirtyFieldDetector
=
deepDirtyFieldDetector
;
exports
.
deepDirtyFieldTrigger
=
deepDirtyFieldTrigger
;
...
...
debug/engine.js.map
View file @
96c534b8
This source diff could not be displayed because it is too large. You can
view the blob
instead.
manifest.json
View file @
96c534b8
{
"id"
:
"engine"
,
"url"
:
"engine.47eb390007c368d3dc5648734153301ebead724b.js"
}
\ No newline at end of file
{
"id"
:
"engine"
,
"url"
:
"engine.a00613f119b951548555b2f0d7ddcd5063975f8e.js"
}
\ No newline at end of file
src/2d/display/Container.ts
View file @
96c534b8
...
...
@@ -759,12 +759,13 @@ export default class Container extends DisplayObject {
get
$store
()
{
let
p
=
this
;
while
(
p
.
parent
)
{
p
=
p
.
parent
;
do
{
if
(
p
[
'$isViewRoot'
])
{
break
;
}
p
=
p
.
parent
;
}
while
(
p
.
parent
);
if
(
p
)
{
return
p
[
'$_store'
];
...
...
src/zeroing/game-warpper/index.ts
View file @
96c534b8
...
...
@@ -9,3 +9,4 @@ export * from './nodes'
export
*
from
'./sound'
export
*
from
'./assets-manager'
export
*
from
'./texture-sheet'
export
*
from
'./data-center'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment