Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
yjs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sweng-group-15
yjs
Commits
acbc884e
Commit
acbc884e
authored
8 years ago
by
Kevin Jahns
Browse files
Options
Downloads
Patches
Plain Diff
Release 11.2.4
parent
f9315288
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dist
+1
-1
1 addition, 1 deletion
dist
package.json
+1
-1
1 addition, 1 deletion
package.json
src/Database.js
+1
-1
1 addition, 1 deletion
src/Database.js
with
3 additions
and
3 deletions
dist
@
c926ce09
Compare
653a436b
...
c926ce09
Subproject commit
653a436b8874ea2fd329404f1bd92fd3c808595e
Subproject commit
c926ce09f5642bbb649d8c4c81dd015bf8051eb2
This diff is collapsed.
Click to expand it.
package.json
+
1
−
1
View file @
acbc884e
{
"name"
:
"yjs"
,
"version"
:
"11.2.
2
"
,
"version"
:
"11.2.
4
"
,
"description"
:
"A framework for real-time p2p shared editing on arbitrary complex data types"
,
"main"
:
"./src/y.js"
,
"scripts"
:
{
...
...
This diff is collapsed.
Click to expand it.
src/Database.js
+
1
−
1
View file @
acbc884e
...
...
@@ -439,7 +439,7 @@ module.exports = function (Y /* :any */) {
// Delete if DS says this is actually deleted
var
len
=
op
.
content
!=
null
?
op
.
content
.
length
:
1
var
startId
=
op
.
id
// You must not use op.id in the following loop, because op will change when deleted
// TODO: !! console.log('TODO: change this before commiting')
// TODO: !! console.log('TODO: change this before commiting')
for
(
let
i
=
0
;
i
<
len
;
i
++
)
{
var
id
=
[
startId
[
0
],
startId
[
1
]
+
i
]
var
opIsDeleted
=
yield
*
transaction
.
isDeleted
(
id
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment