aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-10-05 00:09:54 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-10-05 00:09:54 +0200
commit5bea586218258e538cb79fcacf34f6c4bfd80ff7 (patch)
tree4a1c18c4de05f43520295a0df3c5e9437b4b42e5
parent6604bda9f6e890b1b2bd447dc4dd5a4a544fee4c (diff)
downloadwallet-core-5bea586218258e538cb79fcacf34f6c4bfd80ff7.tar.xz
type declaration for cloneInto
-rw-r--r--content_scripts/notify.ts2
-rw-r--r--gulpfile.js8
2 files changed, 6 insertions, 4 deletions
diff --git a/content_scripts/notify.ts b/content_scripts/notify.ts
index 0e723b52c..d095ee166 100644
--- a/content_scripts/notify.ts
+++ b/content_scripts/notify.ts
@@ -28,6 +28,8 @@
"use strict";
+declare var cloneInto: any;
+
// Make sure we don't pollute the namespace too much.
namespace TalerNotify {
const PROTOCOL_VERSION = 1;
diff --git a/gulpfile.js b/gulpfile.js
index a7b58b9b1..40461b27a 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -187,15 +187,15 @@ function concatStreams (/*streams...*/) {
if (endCount == toMerge.length)
stream.emit('end');
})
- })
+ });
stream.write = function (data) {
this.emit('data', data);
- }
+ };
stream.destroy = function () {
toMerge.forEach(function (e) {
if (e.destroy) e.destroy();
})
- }
+ };
return stream;
}
@@ -329,7 +329,7 @@ function tsconfig(confBase) {
path: "tsconfig.json",
contents: new Buffer(x),
});
- this.push(f)
+ this.push(f);
cb();
});
}