This commit is contained in:
Kevin Jahns 2015-11-15 02:14:06 +01:00
parent 58a612eaa1
commit 8870fdc495
4 changed files with 6 additions and 5 deletions

2
dist

@ -1 +1 @@
Subproject commit dcf62124363cabd3665a2487b8cf18b23c655ba3
Subproject commit 14a3fbc638737b17478a426b542a3984cba22bc3

View File

@ -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?',

View File

@ -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": {

View File

@ -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({