From 0047bd02c31be51368cd61a763982d1919665377 Mon Sep 17 00:00:00 2001 From: Austin Sanders Date: Wed, 27 Jun 2018 15:14:42 -0700 Subject: [PATCH] Adds use strict. Fixes canjs/canjs#4217 --- build.js | 1 + can-ndjson-stream.js | 1 + demo/server.js | 1 + 3 files changed, 3 insertions(+) diff --git a/build.js b/build.js index c22ea30..9ea09f4 100644 --- a/build.js +++ b/build.js @@ -1,3 +1,4 @@ +"use strict"; var stealTools = require("steal-tools"); stealTools.export({ diff --git a/can-ndjson-stream.js b/can-ndjson-stream.js index 727efb3..2cd34cf 100644 --- a/can-ndjson-stream.js +++ b/can-ndjson-stream.js @@ -1,3 +1,4 @@ +"use strict"; /*exported ndjsonStream*/ var namespace = require('can-namespace'); diff --git a/demo/server.js b/demo/server.js index 980ac12..6300f03 100644 --- a/demo/server.js +++ b/demo/server.js @@ -1,3 +1,4 @@ +"use strict"; var express = require('express'); var fs = require('fs'); var ndjson = require('ndjson');