mirror of
https://github.com/yjs/yjs.git
synced 2025-12-29 00:25:01 +01:00
lint
This commit is contained in:
2
dist
2
dist
Submodule dist updated: dcf6212436...14a3fbc638
@@ -58,7 +58,7 @@ module.exports = function (gulp, helperOptions) {
|
||||
.pipe(source(options.targetName))
|
||||
.pipe(buffer())
|
||||
.pipe($.sourcemaps.init({loadMaps: true}))
|
||||
//.pipe($.if(!options.debug && options.regenerator, $.uglify()))
|
||||
// .pipe($.if(!options.debug && options.regenerator, $.uglify()))
|
||||
.pipe($.if(options.debug, $.sourcemaps.write('.')))
|
||||
.pipe(gulp.dest('./dist/'))
|
||||
})
|
||||
@@ -132,7 +132,8 @@ module.exports = function (gulp, helperOptions) {
|
||||
})
|
||||
|
||||
gulp.task('publish', function (cb) {
|
||||
runSequence(['test', 'updateSubmodule', 'dist'], 'bump', function () {
|
||||
/* TODO: include 'test',*/
|
||||
runSequence(['updateSubmodule', 'dist'], 'bump', function () {
|
||||
return gulp.src('./package.json', {read: false})
|
||||
.pipe($.prompt.confirm({
|
||||
message: 'Are you sure you want to publish this release?',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "yjs",
|
||||
"version": "0.6.37",
|
||||
"version": "0.6.41",
|
||||
"description": "A framework for real-time p2p shared editing on arbitrary complex data types",
|
||||
"main": "y.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -485,7 +485,7 @@ module.exports = function (Y) {
|
||||
}
|
||||
}
|
||||
if (this.store.forwardAppliedOperations) {
|
||||
var ops = deletions.map(function(d){
|
||||
var ops = deletions.map(function (d) {
|
||||
return {struct: 'Delete', target: [d[0], d[1]]}
|
||||
})
|
||||
this.store.y.connector.broadcast({
|
||||
|
||||
Reference in New Issue
Block a user