From 8870fdc495030433e148f197d98ba28641be9e30 Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Sun, 15 Nov 2015 02:14:06 +0100 Subject: [PATCH] lint --- dist | 2 +- gulpfile.helper.js | 5 +++-- package.json | 2 +- src/Transaction.js | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/dist b/dist index dcf62124..14a3fbc6 160000 --- a/dist +++ b/dist @@ -1 +1 @@ -Subproject commit dcf62124363cabd3665a2487b8cf18b23c655ba3 +Subproject commit 14a3fbc638737b17478a426b542a3984cba22bc3 diff --git a/gulpfile.helper.js b/gulpfile.helper.js index a1731866..aa09edfd 100644 --- a/gulpfile.helper.js +++ b/gulpfile.helper.js @@ -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?', diff --git a/package.json b/package.json index ef980817..96f53cb8 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/Transaction.js b/src/Transaction.js index 19b91e4f..4662701f 100644 --- a/src/Transaction.js +++ b/src/Transaction.js @@ -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({